0.0.17 • Published 10 years ago

titan-framework v0.0.17

Weekly downloads
1
License
GPLv3
Repository
-
Last release
10 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

10 years ago

0.0.16

10 years ago

0.0.15

10 years ago

0.0.14

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago