crimson-framework
v1.0.0
Published
A framework for three-layered applications.
Downloads
7
Readme
Crimson
Why use it?
- Uses common design patterns. Such as the Facade, Decorator, and Observer patterns.
- Works on the client and server.
- Library agnostic. Crimson works alongside other libraries like React, Express, MongoDB, Knex, etc.
Recommendations
- User-to-application logic should go in "Faces" (Interfaces)
- Application-to-storage logic should go in "Repos" (Repositories).
- Business logic (such as relationships and validation) should go in "Services".
- Use a facade between Services and Repos.
- Use a facade between Faces and Services.