I read Backbone's documentation and to me is a mess of heavy JS programming to achieve something that I don't know what it is.
EDIT: How does this mix with Ruby on Rails, Grails or even Java MVC frameworks?
I read Backbone's documentation and to me is a mess of heavy JS programming to achieve something that I don't know what it is.
EDIT: How does this mix with Ruby on Rails, Grails or even Java MVC frameworks?
Adding something like AngularJS or Knockout far reduces the amount of code you have to write and you get an app written around a data model. Knockout has a good description here:
That got me thinking.. Could I ever explain a non-web developer what Backbone is in a succinct way? I'm gonna try..
Web development is basically storing data at the server side, modifying and handling that data on both the server side and the client side. So basically you got multiple representations of the very same thing on two very different mediums. Passing and modifying that representation back and forth between those two very different mediums can be very tricky and error prone by itself, let alone the situation that you're handling varying numbers and varying types of these representations. Now what these MVC frameworks give us are idiomatic methods and structures attacking this very problem of representational hell.
If you're creating "rich" front-end apps (as we are) you will be using your server-side framework mostly for implementing REST services with JSON (or XML, etc) However, you could also use Angular to add new functionality to some existing pages in an existing app.
What MVC brings to any table -- structure and maintainability. This is more geared towards complete client-side applications than your typical jquery plugin.
Does this question make sense?