how backbone.js can help me?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
dotphp
Forum Commoner
Posts: 25
Joined: Sat Nov 10, 2007 8:03 am

how backbone.js can help me?

Post by dotphp »

Hello

I just know that backbone.js is something new.
I really want to know how backbone.js can help me in creating client side projects?
It helps me in create shrother code or I can use it instead of something else ?

Pls help me with this
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: how backbone.js can help me?

Post by Celauran »

Backbone has been around since 2010, so it's not that new. It's a JS MVC framework and it's useful for creating a separation of concerns in your front end code. $(document).ready(...) becoming a mess of hundreds of lines of DOM manipulation, AJAX callbacks, etc? Might be worth considering Backbone (or Ember, or Angular, or whatever). Callbacks returning HTML rather than just data? Another good time to look at JS frameworks.
Post Reply