1.0.0 • Published 9 years ago

crimson-framework v1.0.0

Weekly downloads
1
License
GPLv3
Repository
-
Last release
9 years ago

Crimson

Layered application framework.

Build Status License

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.

Examples