Stapes.js is a MVC microframework which doesn't have any pre-defined Models, Views or Controllers. It also doesn't have Collections, Routers, or stuff you might find in other libraries. Stapes.js is really tiny (1.7kb minified and gzipped), easy to fit in an existing codebase, and doesn't force you to write your code in a specific style. Because of its small size it's ideal for mobile development. Other features include:
- A powerful yet simple event system using on and emit methods.
- Inheritance using create and extend
- Event-triggering attributes using get and set
- Powerful filter and remove methods for attributes
- Usable in traditional Javascript, as an AMD module (for Require.js) or on the server with Node.js
- A simple mechanism for writing plugins and extensions to extend the functionality of Stapes.
- Nice extensive documentation with lots of examples (you're reading that right now ;)
- Optimized to use Ecmascript 5 features when they're available in the browser.
Requirements: None
Demo:
http://hay.github.com/stapes/#m-examples
License: MIT License
Labels: JavaScript, MIT License, MVC