Английская Википедия:Backbone.js

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:Short description Шаблон:Infobox software Шаблон:Portal 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,[1] Underscore.js,. jQuery can also be optionally used for the library.[2] It is designed for developing single-page web applications,[3] and for keeping various parts of web applications (e.g. multiple clients and the server) synchronized.[4] 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).[5] Trying to provide "the minimal set of data-structuring (models and collections) and user interface (views and URLs)",[6] 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

Шаблон:Example farm

The following web applications are built with Backbone.js:[7]

References

Шаблон:Reflist

Further reading

Шаблон:Refbegin

Шаблон:Refend Шаблон:Refbegin

Шаблон:Refend

External links