Modular Architecture

The modular architecture of Habitat is a foundation for the flexibly and maintainability of the solution.

Modular Architecture is focused on simplifying the development of the solution by breaking the solution into smaller independent and manageable parts.The Architecture in Habitat is primarily derived from the Package Principles defined by Robert C. Martin, which describes how to avoid dependencies between unrelated parts by applying simple patterns.

In other words, there can be no modules or modular architecture without a set of conventions and principles which describes how to separate cohesive functionality into isolated parts - and how to combine those modules into a united solution.

Modules

The Habitat example implementation has a range of modules which covers the basics of a Sitecore website.

Read more

THE RELEASE REUSE EQUIVALENCY PRINCIPLE

The granule of reuse is the granule of release. Only classes that are released and tracked as a module, can be reused as a module.

Read more

THE COMMON REUSE PRINCIPLE

Classes that are used together are packaged together.

Read more

THE COMMON CLOSURE PRINCIPLE

Classes that change together are packaged together. What affects one, affects all.

Read more