-
Notifications
You must be signed in to change notification settings - Fork 2
Middleware
jarnoux edited this page Aug 5, 2013
·
4 revisions
In addition to all the middleware that Express and Connect provide, Rig offers the following useful libraries.
- contextualizer - context awareness
- dispatcher - view-controller management and rendering
- hb-adapter - template engine
- logwriter - manual logging
- registry - resource configuration, storage and retrieval
- tojson-errorhandler - error to json outputter
- validator - input validation and sanitization.
You will need to route and configure those libraries before you can use them in your controllers. The resource that are not configured are not loaded, so you can exactly control the pieces that are useful to you while keeping you app as lightweight as possible.