jaysylvester / citizen

Node.js MVC web application framework. Includes routing, serving, caching, session management, and other helpful tools.
MIT License
100 stars 7 forks source link

Bundled components #130

Open jaysylvester opened 3 months ago

jaysylvester commented 3 months ago

Components would perform similarly to includes, but all assets (controller, styles, scripts, etc.) would be bundled within the same directory.

Components would necessitate a build process for deploying (and possibly concatenating/minifying) static assets to the web directory, but this aligns with future plans to integrate back and and front end seamlessly via a citizen client-side library that automatically updates client-side components with the latest server-side data.

Components would be self-contained and potentially could be shared across citizen applications.