backbone newbie here. I'd like to start using backbone on an web app (backend is Ruby on Rails), which until now had very little client functionality (some jquery for doing slideToggles, and a couple ajax calls).
One of the problems I'm facing is that Backbone seems to be built so that you load your javascript, then make it request data (usually JSON) to the server, and then it renders the view. This is not acceptable in my case. I'd like to take the html originated on the server, present it to the user, and then populate my models with that html (after that, I'm fine with the models requesting JSON stuff from the server).
I'm guessing that what I need is some sort of "Inverse View". Something that given this html:
<ul class="people">
<li><span class="name">Peter</span></li>
<li><span class="name">John</span></li>
</ul>
And a People Collection and a Person model with a name attribute, can parse Peter and John out of that (maybe using the View).
Is this something that exists? Am I approaching the whole thing the wrong way?