2

I'm very new to Helix Principles.

I'm having a multisite configured Helix Project Setup having all the layers defined. I have currently placed all the Site Icon fields, Title, Analytics fields inside the Foundation project.

I'm confused about whether those should be placed inside the foundation layer. I have defined a controller to render the fields from a Site Configuration folder template created inside the CMS. Below is my Sitecore CMS structure

enter image description here

And, below is my Project Structure

enter image description here

Thanks to anyone, who has read my first question in this forum. I'm also thankful to any person for your help and comment.

8
  • 1
    Welcome to Sitecore Stack Exchange :) if those project-depending icons should be under the Project layer. If it's multi-site shared icons - that it can be under Foundation Layer. Also, you can separate Implementation and interfaces into two different Foundation projects. It will be flexible in the future when your project will be referenced to an abstraction project and you will need a make another implementation for your icons. Mar 4, 2021 at 13:02
  • Hi Vadin, thanks a lot for your response. I will be adding interfaces as a separate foundation project. Should the Interfaces defined inside the Feature project will also follow a separate project for each feature or a single common project that has all the interfaces for all features? Thanks.
    – Suman Baul
    Mar 4, 2021 at 13:25
  • I can do it as an answer if I answered on your question Mar 4, 2021 at 13:27
  • If not ask me I can answer your question and then summarize it as final answer. Mar 4, 2021 at 13:27
  • 1
    @SumanBaul Welcome to Sitecore Stack Exchange, based on my experience and what i see on your screenshot i am sure that it should be feature lvl
    – pblrok
    Mar 4, 2021 at 13:39

1 Answer 1

3

Welcome to Sitecore Stack Exchange :)

As I mentioned in the comments it depends on your purposes of using these icons. If those project-depending icons should be under the Project layer.

If it's multi-site shared icons that can be used in different places (on website level, on components level, etc. - that it can be under Foundation Layer. Also, you can separate Implementation and interfaces into two different Foundation projects. It will be flexible in the future when your project will be referenced to an abstraction project and you will need a make another implementation for your icons.

If your icons it's just a feature for your website - just move them to a Feature level. As pblrok mentioned in comments.

Be careful, the architecture question sometimes breaking our brain if thinking a lot about it. If you faced with some challenges about it - Sitecore Stack Exchange will help you :)

1
  • 1
    Thanks, Vadin Birkos for your kind words. Yes creating a project from scratch and following architectures is surely breaking our brains. Thanks for your immense help. :)
    – Suman Baul
    Mar 4, 2021 at 15:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.