Backbone. Backbone has been around for a long time, but it's still under steady and regular development. It's a good choice if you want a flexible JavaScript framework with a simple model for representing data and getting it into views.
BackboneJS is a lightweight JavaScript library that allows to develop and structure the client side applications that run in a web browser. It offers MVC framework which abstracts data into models, DOM into views and bind these two using events.
Front-End MVC frameworks (Backbone, Angular, etc) all rely on a backend service to provide the data that, say Backbone, would then use as its model. You could have an entire MVC pattern on the backend that accepts requests and spits out some JSON for a frontend MVC framework to use.
Model contains dynamic data and its logic. It performs various types of action on the data like validation, conversion, computed properties, access control etc. 1. It extends Backbone.
http://www.cdnjs.com hosts a lot of less popular JavaScript frameworks, including:
backbone.js: //cdnjs.cloudflare.com/ajax/libs/backbone.js/1.0.0/backbone-min.js
(HTTP | HTTPS)
underscore.js: //cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min.js
(HTTP | HTTPS)
<script type="text/javascript"
src="//cdnjs.cloudflare.com/ajax/libs/backbone.js/1.0.0/backbone-min.js"></script>
Underscore.js
<script
src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min.js"></script>
http://www.jsdelivr.com/ is also a good alternative for less popular frameworks
Also in most cases it is a good idea to omit the protocol in the URL for JavaScript source.
More on http://www.paulirish.com/2010/the-protocol-relative-url/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With