It’s been a while since I wrote about Sitecore, React and embedded JS Engine. Also, my presentation on Philadelphia SUG last year was mainly theoretical. So the last few days I’ve spent cleaning up my sources that I’ve been using for those posts.
It looks like that this time to open sources. Continue reading “How to marry ReactJS and Sitecore with Webpack – Part 4. Module on GitHub”
Continue reading “How to marry ReactJS and Sitecore with Webpack – Part 3. JS Engines Performance”
I’ve ended my previous post I’ve mentioned that I would add redux in a Sitecore-ReactJS mix. That is what I’m going to talk about in this post. Continue reading “How to marry ReactJS and Sitecore with Webpack – Part 2. Adding Redux”
There were a few posts on the internet on how to integrate front-end code into a Sitecore solution. It all started with a post from Alex Shyba. Back in February, he describes the general concept of an integration. Then Richard Seal created a module for Sitecore that allow you to use jsx renderings in Sitecore.
I was trying to solve a problem of an HTML handover between front-end and Sitecore developers for a while. Finally, I was able to play with ReactJS and Sitecore by myself and here is what I end up doing.
Continue reading “How to marry ReactJS and Sitecore with Webpack”
Our port of Sitecore Reference Storefront finally passed all internal checks and got open sourced on EPAM’s GitHub account right before Sitecore SYM 2016.
Habitat version of a Sitecore Reference Storefront on GitHub
Fell free to dig in and answer your questions in comments, social networks or in person during the Symposium (you will be able to find near an EPAM booth during breaks)
Continue reading “Habitat version of a Sitecore Reference Storefront published on GitHub”
As I’ve mentioned in the previous post, I’m this one is going to be dedicated for one of the features. I think that it make sense to start from a catalog, as an e-commerce implementation will heavily rely on products information all over the site.
Let’s dive into … Continue reading “Sitecore Catalog Feature for Habitat”
I’ve been working a lot on Sitecore development infrastructure recently and package management is one of the areas, particularly NuGet.
Unfortunately, Sitecore doesn’t provide any feed that you could use right away. so carrying over Sitecore DLLs in a repository is a standard practice that I’ve seen for few years and actually been using.
So I decided to create my own packages and here how I did it.
Continue reading “Generate NuGet packages for Sitecore releases via PowerShell”
In my previous post, I’ve described the benefits of composition pattern over inheritance in code generation and mentioned that it simplifies restoration of models from reflection. From my point, this is a huge plus as it enables the creation of developer friendly modular architecture in Sitecore.
I do not think that someone still has problems with a creation of an update package with Sitecore config transforms, but it is not really possible to install an update package in your Visual Studio solution. Of cause, you can install it in Sitecore, grab all libraries from bin folder and copy to your source, then serialize installed items into your project, generate your models based on “everything” you have in Sitecore.
To me, it doesn’t sound like a good approach, moreover, there are many of solution like NuGet, npm, bower that drastically simplify package management and installation for development. Also, when referencing items from packages, you don’t expect to modify DLL coming with them, so I do not think that you should have to serialize Sitecore items to use them in your model generation.
Most likely you already have information about your templates in compiled into your module DLLs. Below you would see how you could use it.
Continue reading “Generation of a Composite Model Using Reflection and Sitecore Serialization”
If you do Sitecore projects and have never tried to create strongly typed models then most likely you are doing something wrong. 🙂 Why? As soon as your project grows a bit, the logic becomes more complex or you decide to refactor a few components, you will suffer from all magic things – strings, number, GUIDs. Of cause, there are a few things that you can do about that. Continue reading “Composite Reuse Principle in Sitecore Code Generation”
As I’ve mentioned in a previous post, my team and I are working on Sitecore Commerce StoreFront migration to Sitecore Habitat.
Before we actually moved to code itself, we dug into codebases of both projects to review their “as-is” implementation and we decided to come up with a plan on how to go to map functionality to Habitat so that it would comply with the principles it suggests. And here is what we found out and came up with. Continue reading “Mapping Sitecore StoreFront to Habitat”