makesites / brisk

Automation for Express.js #express.js #javascript
3 stars 1 forks source link

Fallback Page() Model #13

Open tracend opened 12 years ago

tracend commented 12 years ago

Develop a controller that will use a Page() model to save 'static' content in a SQLite db.

This may be the fallback function of Brisk if no dynamic routes are available - hosting for example the 404 page and other static content (ex. an about page)

tracend commented 12 years ago

Modelled after the experience on implementing such a feature for KISSCMS...

Also, these resources might be helpful:

https://github.com/developmentseed/node-sqlite3 https://github.com/chjj/marked