際際滷

際際滷Share a Scribd company logo
Sitecore Helix/Habitat
Montreal Sitecore User Group - F└vrier 2017
Mohamed Krimi
Solutions Architect
@medkrimi
Montreal Sitecore User Group - Avril 2017
Agenda
¢ Architecture, Principles and conventions
¢ Sitecore Helix Modules and Layers
¢ Sitecore Habitat Ecosystem
¢ Sitecore Habitat Implementation and source code (Setup & Demo)
¢ Sitecore Helix/Habitat Online Resources
Montreal Sitecore User Group - Avril 2017
Architecture, principles and conventions
¢ Tells you why ? ★ Principles ★ Principles of package Design
¢ Tells you how ? ★ Conventions ★ Helix
¢ Shows you ★ Examples ★ Habitat
¢ Guides you ★ Tools ★ Build scripts, Task Management, Unicorn etc.
Montreal Sitecore User Group - Avril 2017
Architecture, principles and conventions
¢ Tells you why ? ★ Principles ★ Principles of package Design
¢ Tells you how ? ★ Conventions ★ Helix
¢ Shows you ★ Examples ★ Habitat
¢ Guides you ★ Tools ★ Build scripts, Task Management, Unicorn etc.
^Websites are built for changes ̄ : Architecture helps us manage
the change better.
Montreal Sitecore User Group - Avril 2017
Costs vs Time
¢ Requirements changes
¢ Technologies Upgrades ★
Increasing Complexity
¢ Costs of change increases over
time
It helps cutting costs and
complexity
Montreal Sitecore User Group - Avril 2017
Productivity vs Coupling
Montreal Sitecore User Group - Avril 2017
Principles of Package Design
Montreal Sitecore User Group - Avril 2017
Principles of Package Design
¢ Cohesion ?
$ Reuse-Release
$ Common-Reuse
$ Common-Closure
¢ Coupling ?
$ Acyclic-Dependencies
$ Stable-Dependencies
$ Stable-Abstraction
Montreal Sitecore User Group - Avril 2017
Principles of Package Design
Montreal Sitecore User Group - Avril 2017
Sitecore Helix : Modules and Layers
Type Centric System
Montreal Sitecore User Group - Avril 2017
Sitecore Helix : Modules and Layers
Type Centric System Feature Centric Model
Montreal Sitecore User Group - Avril 2017
Sitecore Helix : Modules and Layers
Type Centric System Feature Centric Model
^A module packages related objects for maintenance purposes. ̄
^Modules are business/domain focused ̄
Montreal Sitecore User Group - Avril 2017
Sitecore Helix : Layers
https://blog.coates.dk/2017/01/17/helix-and-modular-architecture/#layers
Montreal Sitecore User Group - Avril 2017
Habitat
Habitat is a Sitecore solution
example built on a modular
architecture. The architecture and
methodology focuses on:
¢ Simplicity
¢ Flexibility
¢ Extensibility
Habitat 67, or simply Habitat, is a model community and housing complex
in Montreal, Quebec, Canada, designed by Israeli/Canadian architect
Moshe Safdie. Each apartment has a unique design. Each window has a
unique view.
Montreal Sitecore User Group - Avril 2017
Sitecore Habitat Ecosystem
Montreal Sitecore User Group - Avril 2017
Sitecore Habitat Implementation and source code
1. Install Sitecore 8.2 Update 1
2. Install WFFM (161129)
3. Get the source code
4. Update Source and Target
Path
5. Run NPM install
6. Run Default Gulp Task
7. Now !! Be Productive and
have fun :)
Montreal Sitecore User Group - Avril 2017
Sitecore Habitat Implementation and source code
¢ Theming
¢ Features / Modules
¢ Sitecore Templates Types (Interface, Page Type, Data source, Folder, Settings,
Rendering)
¢ Unicorn or TDS
¢ Dependency Injection
¢ ORM Tools Glass Mapper
¢ Dev Ops and CI consideration (Team City, Jenkins, Octopus, Gulp, etc..)
^Habitat !! not a religion take what you want and add what you need and Keep
up your good work ̄
Montreal Sitecore User Group - Avril 2017
References Sitecore Helix/Habitat Online
¢ Demo: http://habitat.sitecore.net
¢ Github: http://www.github.com/sitecore/habitat
¢ Youtube: http://www.youtube.com/user/mastersitecore
¢ Docs Helix: http://helix.sitecore.net/
¢ Docs Habitat: https://github.com/sitecore/habitat/wiki
¢ Docs Architecture: https://en.wikipedia.org/wiki/Package_principles

More Related Content

Sitecore Helix/Habitat Architecture and Ecosystem

  • 1. Sitecore Helix/Habitat Montreal Sitecore User Group - F└vrier 2017 Mohamed Krimi Solutions Architect @medkrimi
  • 2. Montreal Sitecore User Group - Avril 2017 Agenda ¢ Architecture, Principles and conventions ¢ Sitecore Helix Modules and Layers ¢ Sitecore Habitat Ecosystem ¢ Sitecore Habitat Implementation and source code (Setup & Demo) ¢ Sitecore Helix/Habitat Online Resources
  • 3. Montreal Sitecore User Group - Avril 2017 Architecture, principles and conventions ¢ Tells you why ? ★ Principles ★ Principles of package Design ¢ Tells you how ? ★ Conventions ★ Helix ¢ Shows you ★ Examples ★ Habitat ¢ Guides you ★ Tools ★ Build scripts, Task Management, Unicorn etc.
  • 4. Montreal Sitecore User Group - Avril 2017 Architecture, principles and conventions ¢ Tells you why ? ★ Principles ★ Principles of package Design ¢ Tells you how ? ★ Conventions ★ Helix ¢ Shows you ★ Examples ★ Habitat ¢ Guides you ★ Tools ★ Build scripts, Task Management, Unicorn etc. ^Websites are built for changes ̄ : Architecture helps us manage the change better.
  • 5. Montreal Sitecore User Group - Avril 2017 Costs vs Time ¢ Requirements changes ¢ Technologies Upgrades ★ Increasing Complexity ¢ Costs of change increases over time It helps cutting costs and complexity
  • 6. Montreal Sitecore User Group - Avril 2017 Productivity vs Coupling
  • 7. Montreal Sitecore User Group - Avril 2017 Principles of Package Design
  • 8. Montreal Sitecore User Group - Avril 2017 Principles of Package Design ¢ Cohesion ? $ Reuse-Release $ Common-Reuse $ Common-Closure ¢ Coupling ? $ Acyclic-Dependencies $ Stable-Dependencies $ Stable-Abstraction
  • 9. Montreal Sitecore User Group - Avril 2017 Principles of Package Design
  • 10. Montreal Sitecore User Group - Avril 2017 Sitecore Helix : Modules and Layers Type Centric System
  • 11. Montreal Sitecore User Group - Avril 2017 Sitecore Helix : Modules and Layers Type Centric System Feature Centric Model
  • 12. Montreal Sitecore User Group - Avril 2017 Sitecore Helix : Modules and Layers Type Centric System Feature Centric Model ^A module packages related objects for maintenance purposes. ̄ ^Modules are business/domain focused ̄
  • 13. Montreal Sitecore User Group - Avril 2017 Sitecore Helix : Layers https://blog.coates.dk/2017/01/17/helix-and-modular-architecture/#layers
  • 14. Montreal Sitecore User Group - Avril 2017 Habitat Habitat is a Sitecore solution example built on a modular architecture. The architecture and methodology focuses on: ¢ Simplicity ¢ Flexibility ¢ Extensibility Habitat 67, or simply Habitat, is a model community and housing complex in Montreal, Quebec, Canada, designed by Israeli/Canadian architect Moshe Safdie. Each apartment has a unique design. Each window has a unique view.
  • 15. Montreal Sitecore User Group - Avril 2017 Sitecore Habitat Ecosystem
  • 16. Montreal Sitecore User Group - Avril 2017 Sitecore Habitat Implementation and source code 1. Install Sitecore 8.2 Update 1 2. Install WFFM (161129) 3. Get the source code 4. Update Source and Target Path 5. Run NPM install 6. Run Default Gulp Task 7. Now !! Be Productive and have fun :)
  • 17. Montreal Sitecore User Group - Avril 2017 Sitecore Habitat Implementation and source code ¢ Theming ¢ Features / Modules ¢ Sitecore Templates Types (Interface, Page Type, Data source, Folder, Settings, Rendering) ¢ Unicorn or TDS ¢ Dependency Injection ¢ ORM Tools Glass Mapper ¢ Dev Ops and CI consideration (Team City, Jenkins, Octopus, Gulp, etc..) ^Habitat !! not a religion take what you want and add what you need and Keep up your good work ̄
  • 18. Montreal Sitecore User Group - Avril 2017 References Sitecore Helix/Habitat Online ¢ Demo: http://habitat.sitecore.net ¢ Github: http://www.github.com/sitecore/habitat ¢ Youtube: http://www.youtube.com/user/mastersitecore ¢ Docs Helix: http://helix.sitecore.net/ ¢ Docs Habitat: https://github.com/sitecore/habitat/wiki ¢ Docs Architecture: https://en.wikipedia.org/wiki/Package_principles