The term ‘best practice’ is something every developer reading this should want to aim for. A Google search of ‘coding best practices’ returns over 1.5 million results, which shows what a hot topic it is. I’ve been building CMS websites for over a decade and in that time I’ve seen some really well-architected websites and I’ve seen other project that has been scrapped immediately. The difference between those projects is usually based on how well it was built in the first place. Now that you know the basics of building an Episerver website before you leave I’m going to tell you some tips to make sure the code you write is something you can be proud of.
With the release of Episerver 7, having a good understanding about dependency injection is critical to making a successful project. Out of the box, Episerver uses structure map so you don't have to add it in. You will need to be able to configure i[...]
Since Episerver has adopted the rapid-release cycle for their development process, a lot more beta code is now available. Out of the box, Episerver beta functionality is disabled by default. Unless you specifically enable it, beta features will be u[...]
Dependency injection is a fairly standard computer science topic nowadays, but I still see a lot of confusion over how dependency injection works within Episerver. In today's guide, I'm going to cover the tools Episerver give us developers out the bo[...]
When you work with content in the CMS you may need to work with older versions. When you use the API's like IContentRepository or IContentLocator they will always return you the latest version of the content. 99% of the time you won't need to worry[...]
Episerver provides content editors with a lot of flexibility for configuring content. Gone are the days of having lots and lots of different templates. On my projects, I would typically have less than 20 page types and then x number of blocks. One[...]
Sometimes, when we work with Episerver, we may need to store a reference to an Episerver content item in a third-party service or database. On a recent project, I came across a situation where a developer had chosen to just store the ID part of a con[...]
Like all CMS solutions, Episerver stores your website's data within a database and provides a brilliant collection of API's to allow developers to access that data. When we build a website, developers should never directly call the CMS database for n[...]