1

I am quite a novice when it comes to web application development. The projects that I have done thus far have purely been Client Side and Jquery powered.

Recently I made a discovery that Javascript has an MVC framework (http://backbonejs.org/)

This really excites me as about 90% of my experience to date has been with Javascript, so the possibility of using an MVC framework within a familiar coding language is actually quite awesome.

After some more reading and probing I discovered a local storage adapter for backbone: http://documentcloud.github.com/backbone/docs/backbone-localstorage.html

Basically if I have understood this correctly - it will store and retrieve data in cookies

So the above framework (backbone) and addin (local storage) will allow web applications to operate in a "server-less" environment.

Before I get crucified by any techies - I do understand that this is a very generous, generic and simplified statement - but I am just trying to find out a few things at this point:

  1. Is my understanding of the framework correct?
  2. Has anyone had any development experience with the above?
  3. Where can I get novice level tutorials on developing MVC Web applications that use Backbone.js

Looking forward to the discussion and your answers

Wesley Jeftha
  • 143
  • 1
  • 3
  • 13

1 Answers1

1

Is my understanding of the framework correct?

First off there are several "mvc" like frameworks for Javascript besides for Backbone.js (assuming you consider backbone.js an mvc framework, take at look at this SO question as well as the official documentation) for example Ember.js, Knockout.js, JavascriptMVC. That said local Storage is a feature of HTML5 and isn't specific to backbone.js (so the browser would need to support it, here's a SO question with some more info on localStorage), what the backbone.js localStorage adapter does is saves the backbone.js data to localStorage instead of the server.

Has anyone had any development experience with the above?

Yes (you can take a look at the questions tagged with backbone.js here on SO for starters...).

Where can I get novice level tutorials on developing MVC Web applications that use Backbone.js

Have a look at this site for some backbone.js tutorials.

Community
  • 1
  • 1
Jack
  • 10,783
  • 12
  • 46
  • 65
  • Thanks so much for the reply!! Really appreciate the effort and excellent answer - I see backbone is widely supported here on SO, which is very important, but what do you think of Ember? I see it is rated one of the best, and when compared to backbone, specifically with the way in which it refreshes the view, I see it is superior, what are your contentions? – Wesley Jeftha Aug 17 '12 at 10:52
  • I haven't actually used ember.js myself. – Jack Aug 17 '12 at 16:59
  • ok thanks man, well on a high level here is an article that weighs up the various frameworks, ember seems to come up trumps.... – Wesley Jeftha Aug 17 '12 at 20:39
  • Thanks I actually already did see that article, it really depends on your specific needs. – Jack Aug 20 '12 at 02:20