Hopefully we’re all aware of the brilliant Sitecore Habitat – a demo site based on Helix principles which assists us in creating a modular architecture by following the principles of package design. I believe it’s a solution that everybody should try and become familiar with.
As the purpose of Habitat is a demo site rather than a starting point for Greenfield projects, I decided to follow the example of Habitat and have created a solution to be used as a base for Greenfield projects. It’s called ‘Helix Base’ and you can find it on GitHub.
I started with the Helix PowerShell script – Akshay Sura. Please feel free to contribute towards the project as there are many ways in which it could be improved upon – but please note that the intention of the project is not to contain an expansive demo site, for that you should use Habitat.
The current features include:
- Glass Mapper v5 – with fluent configuration and automated mapping registration
- Unicorn – including user and role sync
- Sitecore 9.0.2 ready
- Bootstrap v4
- Native dependency injection with auto controller registration
- A sample hero banner feature and sample site project for demonstration
- Generic content repositories (by Rendering, Item Context, or Glass Content)
- 301 Redirects
- Version trimming rules engine – Items limited to 10 versions by default
- Search Templates computed index field – find all items from an index by any templates they implement
- Non admin Item Unlock
- Auto unlocks items when a user is deleted
- Gulp publish with webroot clean
- Show Title When Blank patch, the forgotten Sitecore feature!
- A module just for fun – currently adds logos to the Unicorn console
You can find instructions on how to download and configure the solution in the GitHub readme.
Please feel free to use, share and contribute! Hopefully we can now save some time in setting up a modular Sitecore solution.
The project was influenced by some resources which are due a mention/thanks… Akshay Sura (PowerShell script), Jason Wilkerson/Phil Wicklund (Sitecore 8 book), Thomas Eldblom (Habitat), apologies if I’ve missed anybody out.