Package Exports
- co.ntextualize
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (co.ntextualize) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
co.ntextualize
- Inheritable configurable controller logic
- add settings to individual controllers
- Hopefully makes your Compound.js apps more DRY (Don't Repeat Yourself)
- Should allow for the creation of shareable/publishable configurable controllers that can be used with a simple require (upload controller, CRUD controller, auth logic)
Usage
npm install co.ntextualize- add 'co.textualize' to your autoloaders
- create a high-level controller that other controllers can inherit from
Usage
This module is not designed for adding functions to a route context For that functionality use compound.controllerExtensions as per normal
I encourage you to checkout the source code, and if anyone sees anything glaringly wrong, let me know.
- checkout examples/