You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Garrett Mills b131cb589e
Start CLI and db schema queries
6 months ago
cli/src Start CLI and db schema queries 6 months ago
di revert container global changes 7 months ago
lib/src Start CLI and db schema queries 6 months ago
orm/src Start CLI and db schema queries 6 months ago
.env account for :params and * wildcards in complex route match 9 months ago
.gitignore db structure abstraction; async collection; update/insert queries; model saving 9 months ago basic readme 8 months ago
TODO.txt Start basic CLI framework 7 months ago
tsconfig.json Fix DI bugs; implement general logging service 10 months ago

Daton Monorepo

Daton is my work-in-progress application framework for Deno. It's written from scratch, using native Deno libraries.

This library is a reincarnation of my Flitter framework for Node.js.

This library is organized as a mono-repo, and contains the following components:

  • DI
    • Daton ships with its own type-metadata based inversion of control container, which is used to manage services and the application lifecycle.
    • It does this by injecting dependencies into class constructors using type-hints added to the metadata by TypeScript at compile time
  • Library
    • The Daton library contains common elements used in Daton, such as:
      • Collections and AsyncCollections
      • Classes for interacting with HTTP requests, responses, and cookies
      • Logic for the application and lifecycle units
      • Units for controllers, middleware, route definitions, &c.
  • ORM
    • Daton also uses its own PostgreSQL ORM, which is ES6 native, and support a rich feature set, including:
      • Class-based models
      • Rich, fluent query builders
      • Model relations, and nested relations, with eager loading
      • Query result iterators, and custom query operators
  • The work-in-progress app template