Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paulmillr/exoskeleton
Faster and leaner Backbone for your HTML5 apps
https://github.com/paulmillr/exoskeleton
Last synced: 2 days ago
JSON representation
Faster and leaner Backbone for your HTML5 apps
- Host: GitHub
- URL: https://github.com/paulmillr/exoskeleton
- Owner: paulmillr
- License: mit
- Archived: true
- Created: 2013-07-28T03:52:17.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2021-05-07T09:49:19.000Z (over 3 years ago)
- Last Synced: 2024-10-19T03:16:07.646Z (16 days ago)
- Language: JavaScript
- Homepage: http://paulmillr.com/exoskeleton/
- Size: 619 KB
- Stars: 880
- Watchers: 39
- Forks: 44
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Exoskeleton
Exoskeleton is a faster and leaner Backbone for your HTML5 apps.
http://paulmillr.com/exoskeleton/
## What already works
All features you need for real-world app are working.
All software tests are passing: underscore* Backbone: **with and without** Underscore
* [Chaplin](http://chaplinjs.org): **with and without** UnderscoreMarionette and other popular plugins: WIP.
## Building
Default **and custom** builds:
make # Will create exoskeleton.js
make noutils # If you want to use Underscore
# and don't want to include `Exoskeleton.utils`.
make min # Minified version.
# Custom, like this:
cat lib/{header,events,collection,sync,history,footer}.js > exoskeleton.js## Features
* Custom builds
* No hard dependencies on underscore
* Support for Bower and [Component(1)](https://github.com/component/component)
* AMD support
* Speed: blazing fast when used without jQuery with
[Backbone.NativeView](https://github.com/akre54/Backbone.NativeView) and
[Backbone.NativeAjax](https://github.com/akre54/Backbone.NativeAjax) (see
the [wiki page](https://github.com/paulmillr/exoskeleton/wiki/Exoskeleton-without-jQuery)).Also:
* All params are allowed for model attributes, for example `model.get('constructor')` [(jashkenas/backbone#1495)](https://github.com/jashkenas/backbone/issues/1495)
* Event triggering on disposed objects is [20 times faster](http://jsperf.com/exoskeleton-events-vs-backbone-events)## Differences
* Declaratively defined view events which point to
non-existing handler functions are no longer tolerated / skipped.
Early error is thrown instead.
* No hash-based routing. Only `pushState` urls.
* In no-underscore environment, there are no underscore-inspired
Collection methods (each, pluck etc.), but there are ES5-inspired methods:`forEach, map, filter, some, every, reduce, reduceRight, indexOf, lastIndexOf`
Also, no underscore-inspired Model methods at all.
* emulateHTTP and emulateJSON were removed