68points

Backbone JS

Backbone JS
vs

Backbone JS review: 27 facts and highlights

Backbone JS
68
points
Backbone JS

Why is Backbone JS better than the average?

  • Minified file size without dependencies
    ?

    19KBvs75.64KB
  • Minified file size including dependencies
    ?

    51KBvs120.8KB
  • Number of plugins
    ?

    153vs101.5
  • Versions of Internet Explorer supported
    ?

    7vs7.33
  • Number of years old
    ?

    3yearsvs1.8years

General info

1.Uses a templating engine
Backbone JS
Template engines allow for easy and flexible UI building.
2.Published under MIT License
Backbone JS
The MIT License is a very permissive license which allows all uses, including business use, without warranty.
3.Supports composed (partial) views
Backbone JS
Allows for nesting view templates into top-level views from within a template.
4.has a popular boilerplate project
Backbone JS
Has an official or well known boilerplate project which lays out the recommended file structure and allows developers to get started faster.
5.Has a stable public API
Backbone JS
The major version number is above 0. This means there will be no compatibility breaking API changes introduced by the development team.
6.Works well with more than just one template engine
Backbone JS
Other frameworks might be locked with a template engine you don’t like and there is nothing you can do about it.

Plugins

1.number of plugins

153

Plugins offer an easy way to extend the functionality or integrate with other services. A high number of plugins may indicate an active community of users. Only official plugins are taken into account.
2.Built-in RESTful sync abstraction for models
Backbone JS
Includes utilities to keep models in sync with their server-side representation without the need of writing jQuery boilerplate ajax calls.
3.Has a popular plugin which supports input validation
Backbone JS
Plugin to help validate client input before it gets processed or sent to a server. While this does not replace server-side validation, it can vastly improve the user experience.
4.has a dedicated plugin source
Backbone JS
This shows that the framework has a living ecosystem, large community support and allows for more flexibility and faster development.
5.Has a popular plugin which improves LocalStorage support
Backbone JS
Has plugin which offers a simple functionality to synchronize models with the HTML5 LocalStorage.

Libraries & Packages

1.Has an official, up-to-date entry in the npm package manager
Backbone JS
The node package manager can also be used for managing front end scripts.
2.Works with AMD libraries such as require.js
Backbone JS
Asynchronous Module Definition libraries allow for easy modular, clean programming. If a framework does not work well with such libraries, it might have some other means to modularize its components and resolve dependencies, like Dependency Injection.
3.Officially supports Bower dependency management
Backbone JS
Bower is an easy-to-use, npm-like package manager for frontend apps.
4.Includes the Underscore.js Library
Backbone JS
Has the popular utility library underscore.js as a dependency. Underscore includes helper functions for list manipulation and functional programming.

Data binding

1.Can be extended by a popular plugin to have two-way databinding
Backbone JS
Can be extend to support models and views updating each other. This adds more filesize but allows for more flexibility.
2.Uses observables for data binding
Backbone JS
Models are observed for changes. This is a well known pattern. Can be more performant than dirty-checking in some cases.

Performance

1.minified file size without dependencies

19KB

Smaller file size means faster load times.
2.Supports routing and deep linking
Backbone JS
Routing allows interaction with the browser url. This is very important for a good user experience if you are building one-page apps.
3.Templates can be pre-compiled on the server
Backbone JS
Supports a template engine that can be pre-rendered on the server. This possibly improves page speed, especially on devices with low computing power.
4.Can be rendered on the server
Backbone JS
This greatly improves search engine crawlability. This possibly improves page speed, especially on devices with low computing power.
5.dependencies

2

Less dependencies means less extra scripts to include, usually resulting in less development overhead and faster load times.
6.Integrates well with third party libraries to enable Promises/A+ support
Backbone JS
Allows the use of libraries like jQuery Deferred to support promises. Promises are a popular alternative to callbacks when dealing with server responses.

Follow Versus on Instagram

Follow @versusdotcom

Which are the best MV* frameworks?

Show all
This page is currently only available in English.