title: Backbone.js views that uses templates injected from Node.js (Express.js)
body: <p>as far as i have read on internet, if you want to use backbone.js and node.js together, normally you use node.js (express.js particulary) as the back-end API provider (plus other functions, like persistance, etc.), while backbone.js is the engine for the front-end, it means, provides the html templates, views, models, etc.</p>
  
  <p>The backbone projects i have read on internet and github, normally starts with an index.html that directly executes a javascript file that instantiates 'classes' like routing, collections, views, etc. the views in the front-end are the responsible of inyecting the html and css templates and manage the views by itself, like events, etc.</p>
  
  <p>the issue comes when i see some projects like backbone.iobind (<a href="https://github.com/logicalparadox/backbone.iobind" rel="nofollow">https://github.com/logicalparadox/backbone.iobind</a>), that uses a very particular configuration that i really do not understand and how it works.</p>
  
  <p>if you see the source code, the node.js server is the responsible not only of the API, but for inyecting the html templates that are going to be used by Backbone. I have lots of doubts:</p>
  
  <ol>
  <li><p>who executes the backbone front-end, since there is no "index" that executes the javascript that executes the router, views, collections and history?</p></li>
  <li><p>how do you sync the template inyected by express.js, and the views at the backbone.js side that are going to use them?</p></li>
  <li><p>whats the purpose of the backbone.js router class, since you are using node.js router for inyecting stuff?</p></li>
  <li><p>why you use this architecture, and not other more clean like the one i described at the begining?</p></li>
  </ol>
  
  <p>thank you very much in advance for your help</p>