Bubble Foundry


by Peter.

One of the hot new Javascript libraries is Backbone.js, a sort of client-side MVC framework, so I decided to take it for a spin for Where’s My Bike. First, it also introduced me to Zepto, which I love. Second, its system of Models, Collections, and Views are quite powerful but it’s a real hassle to have to declare. If you have a model, say a Bike, wouldn’t you always also want a collection of them and a view to create or edit them?

Well, I went out and wrote some helper code:

Hope it helps.