Backbone.js

From: Backbonejs.org

Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.

From: Wikipedia

A JavaScript framework with a RESTful JSON interface and is based on the model–view–presenter (MVP) application design paradigm. Backbone is known for being lightweight, as its only hard dependency is on one JavaScript library, Underscore.js, plus jQuery for use of the full library. It is designed for developing single-page web applications, and for keeping various parts of web applications (e.g. multiple clients and the server) synchronized. Backbone was created by Jeremy Ashkenas, who is also known for CoffeeScript and Underscore.js.


INBOX

  • Cons:

    • Difficult to test (source of truth lives in the DOM)
    • SEO is a pain in the butt (there is no static content to be indexed)
    • Security issues (clients have your code)
  • Dependencies:

    • Underscore.js (albeit inferior to lodash)
    • jQuery or Zepto

References

results matching ""

    No results matching ""