Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 541 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 541 Bytes

Trio

Main Classes

  • Factory reference Resource(id/s)
  • Service defines interactions between factory and component
  • Component renders UI/UX, register custom element

Singletons

  • Resources interacts with BE and cache results.
  • Modules controls import and export of js files, cache results.
  • Stylizer compiles CSS, stores variable and mixins
  • Renderer compiles HTML, stores templates and helper funnctions

Design principles

  • Less setting and getting
  • Small, reusable components
  • Less subclassing
  • Event-based Data-binding