ddd-da-massa
DDD da Massa for Jakarta EE
Practical Domain-Driven Design patterns for web applications, applying Cognitive Load Theory to create maintainable code. Based on Alberto Souza's "DDD da Massa".
Philosophy
Enable web application development that does what's necessary, has sufficiently flexible design, and where understanding most of the project requires low effort.
Key Principles
- Leverage frameworks — Don't ignore them, maximize their value
- Contextual load limits — Different components have different limits
- Logical responsibility division — Based on cognitive load, not feelings
- 100% cohesive components — Every attribute used by every method
Contextual Cognitive Load Limits
Different parts of a web application have different complexity budgets:
More from emvnuel/skill.md
lombok-patterns
Lombok annotations and best practices for Java 21+ projects. Use when reducing boilerplate, configuring builders, or choosing between Lombok and Records.
53quarkus-panache-smells
Detects and refactors ORM code smells in Quarkus Panache applications using the Repository pattern. Use when reviewing PanacheRepository code, diagnosing N+1 queries, data overfetching, or pagination issues.
39mapstruct-patterns
Constructor-based MapStruct mapping for compile-time safety in Jakarta EE. Use when implementing DTO mapping or using @Default annotations.
14clean-code-principles
Detects violations of Clean Code principles and suggests refactorings. Use when reviewing code quality, improving readability, or refactoring methods, classes, and modules.
7rest-api-design
REST API design patterns and MicroProfile OpenAPI documentation. Use when designing endpoints, choosing HTTP methods, status codes, or documenting APIs with OpenAPI annotations.
5refactoring-catalog
Identifies code smells and applies refactoring techniques from Martin Fowler's catalog. Use when improving code structure, reducing complexity, or eliminating smells without changing behavior.
5