Overview of mORMot 2 Recommended Patterns
mastermORMot 2 is a highly flexible framework. To avoid decision fatigue, developers should follow the 'Default Toolbox' patterns. These patterns provide a set of recommended types, classes, and configurations that serve as firm defaults for almost any project.
The documentation is structured into two main approaches:
- Part A — The Default Toolbox: Framework-universal recommendations. These are the types and configurations you should reach for by default unless you have a specific reason to deviate.
- Part B — A Possible Application Blueprint: A specific, proven way to structure a service. This is a coherent starting point for new services rather than a strict framework rule.
For quick reference, developers should prioritize the cheat-sheet tables found in sections A.1 (The one-screen cheat sheet) and A.2 (Recommended type at each layer).