Skip to content
forked from egeste/oraculum

Factory-driven Backbone.JS behaviors based on Chaplin.

License

Notifications You must be signed in to change notification settings

watcherdm/oraculum

 
 

Repository files navigation

Readme


 _______                             __
 \   _  \____________    ____  __ __|  |  __ __  _____
 /  / \  \_  __ \__  \ _/ ___\|  |  \  | |  |  \/     \
/  (___)  \  | \// __ \\  \___|  |  /  |_|  |  /  Y Y  \
\_______  /__|  (____  /\___  >____/|____/____/|__|_|  /
        \/           \/     \/                       \/

Documentation

Bower version Build Status Coverage Status Built with Grunt

Oraculum is a javascript MVC framework and a collection of mixins for Backbone Models, Collections and Views written for FactoryJS. It inherits all of its application structure, many behaviors, and is generally inspired by Chaplin.

Though a large portion of Oraculum's behavior is inherited from Chaplin, Oraculum employs a signficiantly different strategy surrounding the issues of inheritance, structure, and coupling. Applications built with Oraculum take full advantage of the aspect-oriented programming and composition paradigms offered by FactoryJS. The purpose of this project is to collect abstract, reusable behaviors into a framework that can be used by anyone building complex applications with Backbone.

One of the core values provided by Oraculum is its lack of implicit behavior. All non-essential behaviors are optional. No non-essential behavior is implicit. This means that your objects only ever execute code paths relevant to their concerns and you should never have to alter an object's prototype to stub its implicit behaviors. Oraculum accomplishes this by hooking targeted methods of object instances in-memory and providing a consistent eventing interface to those hooks.

Objects and classes composed with Oraculum are often no more than a few lines simple configuration, yet through their mixins they can be perform incredibly complex tasks. There are mixins that emulate or implement every behavior Chaplin provides, plus many other behaviors unique to Oraculum. Because all behaviors are optional and formatted using the FactoryJS mixin syntax, it's incredibly easy to add custom behaviors or import behaviors authored by the open source community.

About

Factory-driven Backbone.JS behaviors based on Chaplin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 74.9%
  • JavaScript 22.4%
  • CSS 2.7%