How to make big application in Backbone.js

To add the data to collection and we can see the list in firebug .

App.Contents = new App.Backbone.Contents(data);

Ref :

making the global  variable like this.

http://www.alexrothenberg.com/2011/02/11/backbone.js-makes-building-javascript-applications-fun.html

Add the collection variable in the app initialize to add in the collection

this.Users = new App.Backbone.Users(),

Ref :

http://stackoverflow.com/questions/5427038/backbone-js-updating-of-models-in-a-collection

Advertisements

About rahul23134654

Hi, I am Rahul Meha , B.E. in (I.T.)
This entry was posted in UI Js. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s