Backbone.js
Developer | Jeremy Ashkenas |
---|---|
Initial release | October 13, 2010; 14 years ago (2010年10月13日) |
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 |
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.
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
[edit ]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
[edit ]- ^ https://github.com/jashkenas/backbone/releases/tag/1.6.1.
{{cite web}}
: Missing or empty|title=
(help) - ^ 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日.
- ^ a b c d e f g h i j k l m n "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". 30 July 2013.
- ^ 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
[edit ]- Osmani, Addy (March 22, 2013). Developing Backbone.js Applications (1st ed.). O'Reilly Media. p. 150. ISBN 978-1449328252.
- Echamea, Abiee (January 15, 2016). Mastering Backbone.js. Packt. p. 278. ISBN 978-1783288496.