Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does backbone.js really require underscore.js?

As i am new to backbonejs and underscorejs, I want to know core meaning of those.

As my understanding underscorejs is just like as jQuery library, we are using those functions in backbonejs.

We can't develop backbonejs applications without underscorejs.

Am i right? If my understanding is wrong please clear on this with simple words/examples.

Thanks in advance.

like image 910
raj Avatar asked Feb 04 '14 13:02

raj


People also ask

Do you need underscore js?

Underscore is a swiss army knife that will help you write functional javascript. Most people use underscore for its collection helpers (_. contains, _. reject, etc.)

Do people still use Backbone JS?

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.

Is Backbone JS any good?

Backbone. js is an ideal choice for front-end and back-end development because it supports REST APIs that are used to keep the front-end and back-end in sync.

How does Backbone JS work?

BackboneJS provides various building blocks such as models, views, events, routers and collections for assembling the client side web applications. When a model changes, it automatically updates the HTML of your application. BackboneJS is a simple library that helps in separating business and user interface logic.


1 Answers

Backbone relies heavily on the Underscore library. You cannot have a Backbone application without Underscore.

like image 67
David Sulc Avatar answered Oct 19 '22 03:10

David Sulc