Helix Principles Architecture: Part 1

Setting up your solution structure.


Nowadays there is a new facade of Helix principles and how to implement a solution based on it. Just to give you a brief, this is up and coming in Sitecore solution structure. The basics are these:

  1. Look at your website and broke it down to components (I am sure by now what I mean by components).
  2. These are going to be your features in the Helix solution architecture. However, there will be different views for this feature. So for example, if you have a Navigation, then this navigation can have:
    1. Primary.cshtml
    2. Secondary.cshtml
    3. Breadcrumb.cshtml
    4. Visual:
    5. 2017-05-17_1253
    6. You get the gist! Right? Good! Moving on…
  3. Now you have to look at the solution and decide what will go in Foundation Folder. Like this: 2017-05-17_1253
  4. As you can see there is a LocalDataSource project in which all the dependencies are listed which pertains to access the DB: Pipelines, Getting Item, ItemExtensions, you get it.
  5. Basically, you need to figure out what are the different way you can conglomerate various data points into one.
  6. Foundation layer does not suppose to change frequently. Heck! Why would you change the logical structure of getting the item from Sitecore DB?
  7. Lastly, there is a project folder which consists of all your sites. Even if you are creating one Sitecore site, it is a good practice to have a common site as your base site and a separate site. In this image, you will see the Common &Habitat project layout structure:

2017-05-17_1253   2017-05-17_1253

To wrap is up (been a long day), Helix setup might take some thinking to do and what really you want to achieve. But at the end of the day, it is a modular & clean architecture.


Author: Raj

Sitecore Enthusiast

One thought on “Helix Principles Architecture: Part 1”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s