Atlas sits on top of Backbone.js, adding features and enhancing the API
Atlas sits on top of Backbone.js, adding features and making it nicer to use.
Atlas adds ES5 getters and setters to
Backbone.Model for every default attribute.
var User = BackboneModel;var user = ;// Backbone's API:user;// Backbone with Atlas:userusername = 'dandean';
Atlas triggers events before and after routes are executed. These events can do awesome things like notify your views that they should go ahead and remove themselves from the DOM.
Events: "before", "after". Event handlers are passed two arguments,
to, which are both objects in the form of:
route: 'some/route/:path'name: 'routeName'
var router = BackboneRouter;
Atlas is still experimental, and the fact that it monkey-patches Backbone is a bit iffy... but it's awesome so you should totally use it.
The topmost vertibra in a backbone is named "atlas"... now you know.