Posts

Posts uit juli, 2017 tonen

Sitecore and Single Page Applications a match not made in heaven, but let's do it anyway

Afbeelding
Sitecore and Single Page Applications: a match not made in heaven, but let's do it anyway! Introduction A hot topic these days in our company is how to make use of the latest and the greatest of Frontend frameworks like Angular and React and give the user a true Single Page Application (from now on referred to as SPA) experience, in combination with Sitecore to enable leveraging Sitecore's main strengths that are important to our clients: Personalization A/B testing Engagement plans Tracking / Analytics This blog will show you one possible (I'm not saying perfect or ideal ;-)) solution that makes the combination possible. For this blog I am assuming an implementation in Angular 2(+), but the same approach applies when using for example React. Some sections may refer to implementations as explained in my previous blog . Bootstrapping In an SPA it is common to want the frontend implementation to take care of bootstrapping of the root component/application