Organizing modules according to Helix principles
Version:
SXA follows the Sitecore Helix principles that contain development process recommendations for building, testing, extending, and maintaining Sitecore implementations. One of the Helix principles is that each module has a separate location in the content tree:
{PATH_TO_SITECORE_LOCATION}/{LAYER}/{PRODUCT}/{MODULE}
For example:
/sitecore/templates/Foundation/Experience Accelerator/Multisite
Where:
| Parameter | Example value | Description |
|---|---|---|
| PATH_TO_SITECORE_LOCATION | /sitecore/templates/ | Path to the location where project-specific items will be stored |
| LAYER | Foundation | Helix recognizes several different layers: Project, Feature, Foundation |
| PRODUCT | Experience Accelerator | Optional. Additional level of nesting for better organization of all SXA modules under a single folder. |
| MODULE | Multisite | Module name. |
You can add new templates for specific projects. This can be convenient if you are working on a project that needs custom templates. You can add your project templates to: /sitecore/templates/Project/Project_Name
If you have suggestions for improving this article, let us know!