Backbone.js
Backbone.js is a JavaScript rich-client web app framework based on the model–view–controller design paradigm, intended to connect to an API over a RESTful JSON interface. Backbone has only hard dependency, which is on one JavaScript library,[2] Underscore.js,. jQuery can also be optionally used for the library.[3] It is designed for developing single-page web applications,[4] and for keeping various parts of web applications (e.g. multiple clients and the server) synchronized.[5] Backbone was created by Jeremy Ashkenas, who is also known for CoffeeScript and Underscore.js.
![]() | |
Developer(s) | Jeremy Ashkenas |
---|---|
Initial release | October 13, 2010 |
Stable release | |
Repository | Backbone.js Repository |
Written in | JavaScript |
Operating system | Cross-platform |
Size | 7.9 KB production 72 KB development |
Type | JavaScript library |
License | MIT |
Website | backbonejs |
When handling the DOM Backbone.js adopts an imperative programming style, in contrast with a declarative programming style (common in AngularJS using data-attributes).[6] Trying to provide "the minimal set of data-structuring (models and collections) and user interface (views and URLs)",[7] leaves to the developer the choice of extensions for enhanced functionality. For example, one can use nested views with Backbone Layout Manager or model-view binding with ReSTbasis.
Use
The following web applications are built with Backbone.js:[8]
- 500px Web[9]
- Airbnb[7]
- Diaspora[7]
- Digg[10]
- DocumentCloud[7]
- Drupal 8[11]
- Foursquare[7]
- Grooveshark[7]
- Groupon Now[7]
- Hearsay Systems Advisor Cloud
- Hulu[7]
- NewsBlur[12]
- Nextcloud
- Openbravo Mobile (with Enyo).[13]
- Pandora Radio[7]
- ReSTbasis
- SoundCloud[7]
- Trello[7]
- USA Today.com[7]
- WordPress.com[7]
- verizon.com[7]
- xTuple (with Enyo).[14]
References
- Error: Unable to display the reference properly. See the documentation for details.
- Alex MacCaw (18 August 2011). JavaScript Web Applications. O'Reilly Media, Inc. p. 165. ISBN 978-1-4493-0351-8. Retrieved 27 April 2012.
- Dependencies, BackboneJS, October 14, 2015
- "What SendHub Learned Building a Single-Page Backbone.js App", ReadWrite, March 16, 2012
- "Behind the rumours: how we built our Twitter riots interactive", The Guardian, London, 8 December 2011
- "Backbone.js". backbonejs.org. Retrieved 2017-06-01.
- "Backbone.js".
- "Companies and Websites using Backbone.js". Archived from the original on 2017-05-12. Retrieved 2019-06-01.
- "Organizing Your Company to Embrace Microservices". InfoQ.
- John Paul Titlow (22 July 2013). "Inside The Tech Stack Digg Used To Replace Google Reader". Co.Labs. Archived from the original on 25 July 2013. Retrieved 22 July 2013.
- "Backbone.js and Underscore.js are bundled into Drupal 8".
- Backbonification: migrating a large JavaScript project from DOM spaghetti to Backbone.js Archived 2013-01-20 at archive.today, Samuel Clay (NewsBlur) 13th November 2012
- "Mobile UI Components". Retrieved 2014-03-22.
- "A Shorter Letter". Retrieved 2014-03-22.
Further reading
- Osmani, Addy (March 22, 2013). Developing Backbone.js Applications (1st ed.). O'Reilly Media. p. 150. ISBN 978-1449328252.