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[...]
I never thought that I would have to write this article, but on a recent project, a fairly big agency thought it was a good idea to customize the Episerver schema. I'm still not sure the reason.. but for anyone reading this, who are considering chan[...]
Over the years, I've worked with a number of agencies who build websites for companies and I've also worked for a number of companies directly. Each type of organization typically has a different approach to how they architect a website.
In an agen[...]
On every project I've worked on in the past few years, a recurring theme is that UX/design create a number of similar components with slight variations. An example of this might be a promo block, that has the same data model, e.g. text, summary and [...]