Coffee => Coder => Code
Ramblings on code, Sitecore and stuff
Posts from 2020
In the previous post of this series I detailed 2 principals which can help with making Sitecore components more testable and reusable. These were “keeping the business logic out of the view” and “keeping the
Item class out of the model”. In this post I’ll detail several more principals to continue improving the code.
At the end of April, I had the great pleasure of presenting at the virtual SUGCON conference online. My presentation was a live walkthrough showing how to unit test a Sitecore component. In the presentation I utilised many principals to refactor and improve a view rendering.