co.ntextualize

0.1.2 • Public • Published

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/

Readme

Keywords

Package Sidebar

Install

npm i co.ntextualize

Weekly Downloads

0

Version

0.1.2

License

BSD

Last publish

Collaborators

  • ondreian