Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Simple, but fully-featured, Backbone example application?

I'm getting started with Backbone, and I'm hunting for an example application with no clutter but with all the key Backbone features: Routes, Models, Collections, Views and Events.

Ideally the application would have a workflow something like this:

  • The application loads a list of article titles.
  • The user clicks on an article title.
  • The view changes slightly to update the URL and highlight that blog post.

Minimal and simple, but just showing how to use all the key elements, including Routes (which often seem to be omitted in examples, including the official example).

Basically I'd like something like the sample code in this blog post, but (a) bulletproof and (b) with the HTML as well, so that I can copy, paste and start playing with it straight away.

Does anyone know of such an example?

like image 730
Richard Avatar asked Feb 20 '12 13:02

Richard


1 Answers

Might be https://github.com/addyosmani/backbone-fundamentals (different example applications in "practicals" directory) is your required.

I am also new to backbone. But thanks to Addy Osmani (http://addyosmani.github.com/backbone-fundamentals), I got concepts and working code to understand backbone.

like image 57
Mohsin Saeed Avatar answered Oct 27 '22 10:10

Mohsin Saeed