As my project lickcreator keeps getting larger, the need to decide upon and implement a good directory structure becomes pretty important. I previously had all my .js files in a common directory called src. Well that's dirty, but its fine if you just have a few files (think less than 7). I'm using Backbone.js so … Continue reading Organizing A large JavaScript application
Tag: backbone
Backbone.js collections, get the next/previous model
I’m using Backbone.js for my project lickcreator. I really love Backbone.js, especially the collections stuff is just awesome. I was looking for an easy way to get to the next model in a collection , but couldn’t find it. Of course, you can iterate over the collection and get to the model you want, but … Continue reading Backbone.js collections, get the next/previous model