0.0.17 • Published 8 years ago

titan-framework v0.0.17

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

Titan

A framework for three-layered applications.

Build Status License

Why use it?

  • Uses common design patterns.
    • Mediator (To connect Services)
    • Abstract Factory (To create a Service and its Repos)
    • Strategy (To switch Repos in a Service)
    • Decorator (To cache data in Repos)
    • Observer (Services observe changes in Repos and Faces observe changes in Services)
  • Works on the client and server.
  • Library agnostic. You can use this framework alongside other libraries. For example, repository and interface libraries such as Knex, MongoDB, Firebase, React, Express, Commander, etc.
  • Attempts to follow the SOLID OO design principles.

Recommendations

  • User-to-application logic should go in "Faces" (Interfaces)
  • Application-to-storage logic should go in "Repos" (Repositories).
  • Business logic should go in "Services".
  • Use a Factory to create a Service and its Repo(s).
  • Store instances of Factories in Mediators to connect Services.
  • Relationships and validation (amongst other things) belong in Services (not usually Repos or Faces).

Examples

0.0.17

8 years ago

0.0.16

8 years ago

0.0.15

8 years ago

0.0.14

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago

0.0.0

8 years ago