appframe

Basic framework app object for dependency injection, event propagation, and error handling.

Package superseded by spawnpoint. All new applications should use spawnpoint over appframe.
Last updated a year ago by blazedd .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install appframe 
SYNC missed versions from official npm registry.

appframe.js

Basic Nodejs micro-framework app object for dependency injection, error codes, signal handling, and a few other neat things. npm install appframe --save

Plugins

Usage

This module is intended to improve application design by providing a framework to mount your application into a single object. This object, typically named app is injected into load file you manually require or autoload (using the framework).

This modulue is intended to bootstrap an application with an object variable, which is injected into each autoloaded file for better application design.

Basic Example - Express

In this example, you'll see the most basic setup for this micro-framework where we provide a basic starting point for the injected variable. We load express and setup our controllers in another file.

Framework Example - Express

In this example, you'll see the typcial use case for using this framework. We autoload express and prevent the application from being online AND create a stateful system for gracefully shutting down the server. Our configuration defines autoloading and other systems. Notice how the controller file for the express route did not change, but was just automatically loaded.

Documentation

Coming Soon

Current Tags

  • 0.11.2                                ...           latest (a year ago)

75 Versions

  • 0.11.2 [deprecated]           ...           a year ago
  • 0.11.1 [deprecated]           ...           2 years ago
  • 0.11.0 [deprecated]           ...           2 years ago
  • 0.10.0 [deprecated]           ...           2 years ago
  • 0.9.0 [deprecated]           ...           2 years ago
  • 0.8.0 [deprecated]           ...           2 years ago
  • 0.7.4 [deprecated]           ...           2 years ago
  • 0.7.3 [deprecated]           ...           2 years ago
  • 0.7.2 [deprecated]           ...           3 years ago
  • 0.7.1 [deprecated]           ...           3 years ago
  • 0.7.0 [deprecated]           ...           3 years ago
  • 0.6.9 [deprecated]           ...           3 years ago
  • 0.6.8 [deprecated]           ...           3 years ago
  • 0.6.7 [deprecated]           ...           3 years ago
  • 0.6.6 [deprecated]           ...           3 years ago
  • 0.6.5 [deprecated]           ...           3 years ago
  • 0.6.4 [deprecated]           ...           3 years ago
  • 0.6.3 [deprecated]           ...           3 years ago
  • 0.6.2 [deprecated]           ...           3 years ago
  • 0.6.1 [deprecated]           ...           3 years ago
  • 0.6.0 [deprecated]           ...           3 years ago
  • 0.5.4 [deprecated]           ...           3 years ago
  • 0.5.3 [deprecated]           ...           3 years ago
  • 0.5.2 [deprecated]           ...           3 years ago
  • 0.5.1 [deprecated]           ...           3 years ago
  • 0.5.0 [deprecated]           ...           3 years ago
  • 0.4.8 [deprecated]           ...           3 years ago
  • 0.4.7 [deprecated]           ...           3 years ago
  • 0.4.6 [deprecated]           ...           3 years ago
  • 0.4.5 [deprecated]           ...           3 years ago
  • 0.4.4 [deprecated]           ...           3 years ago
  • 0.4.3 [deprecated]           ...           3 years ago
  • 0.4.2 [deprecated]           ...           3 years ago
  • 0.4.1 [deprecated]           ...           3 years ago
  • 0.4.0 [deprecated]           ...           3 years ago
  • 0.3.14 [deprecated]           ...           4 years ago
  • 0.3.13 [deprecated]           ...           4 years ago
  • 0.3.12 [deprecated]           ...           4 years ago
  • 0.3.11 [deprecated]           ...           4 years ago
  • 0.3.10 [deprecated]           ...           4 years ago
  • 0.3.9 [deprecated]           ...           4 years ago
  • 0.3.8 [deprecated]           ...           4 years ago
  • 0.3.7 [deprecated]           ...           4 years ago
  • 0.3.6 [deprecated]           ...           4 years ago
  • 0.3.5 [deprecated]           ...           4 years ago
  • 0.3.4 [deprecated]           ...           4 years ago
  • 0.3.3 [deprecated]           ...           4 years ago
  • 0.3.2 [deprecated]           ...           4 years ago
  • 0.3.1 [deprecated]           ...           4 years ago
  • 0.3.0 [deprecated]           ...           4 years ago
  • 0.2.13 [deprecated]           ...           5 years ago
  • 0.2.12 [deprecated]           ...           5 years ago
  • 0.2.11 [deprecated]           ...           5 years ago
  • 0.2.10 [deprecated]           ...           5 years ago
  • 0.2.9 [deprecated]           ...           5 years ago
  • 0.2.8 [deprecated]           ...           5 years ago
  • 0.2.7 [deprecated]           ...           5 years ago
  • 0.2.6 [deprecated]           ...           5 years ago
  • 0.2.5 [deprecated]           ...           5 years ago
  • 0.2.4 [deprecated]           ...           5 years ago
  • 0.2.3 [deprecated]           ...           5 years ago
  • 0.2.2 [deprecated]           ...           5 years ago
  • 0.2.1 [deprecated]           ...           5 years ago
  • 0.2.0 [deprecated]           ...           5 years ago
  • 0.1.10 [deprecated]           ...           5 years ago
  • 0.1.9 [deprecated]           ...           5 years ago
  • 0.1.8 [deprecated]           ...           5 years ago
  • 0.1.7 [deprecated]           ...           5 years ago
  • 0.1.6 [deprecated]           ...           5 years ago
  • 0.1.5 [deprecated]           ...           5 years ago
  • 0.1.4 [deprecated]           ...           5 years ago
  • 0.1.3 [deprecated]           ...           5 years ago
  • 0.1.2 [deprecated]           ...           5 years ago
  • 0.1.1 [deprecated]           ...           5 years ago
  • 0.1.0 [deprecated]           ...           5 years ago
Downloads
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (9)
Dev Dependencies (4)

Copyright 2014 - 2016 © taobao.org |