title: javascript frameworks: What are UI bindings and composed views?
body: <p>I'm reading this:</p>
  
  <p><a href="http://codebrief.com/2012/01/the-top-10-javascript-mvc-frameworks-reviewed/">http://codebrief.com/2012/01/the-top-10-javascript-mvc-frameworks-reviewed/</a></p>
  
  <p>I'm using backbone.js. I love it, though it requires too much boilerplate. Anyway.</p>
  
  <p>The author of the post seems to put great importance on UI-bindings and composed view.</p>
  
  <p>I think I know the basic advantage of ui bindings, you can change small parts of the view as the model changes without re-rendering the entire view. I don't necessarily see the point though. If your view is huge maybe you should make smaller views? I've seen knockoutjs's code and it's littered with ugly data-bind stuff. How does emberjs handle it? Is there an example?</p>
  
  <p>I have no idea what he means by composed views, could someone elucidate?</p>
  
  <blockquote>
    <p>Composed Views - Like all software developers, I enjoy creating modular reusable code. For this reason, when programming UI, I would
    like to be able to compose views (preferably at the template layer).
    This should also entail the potential for a rich view component
    hierarchy. An example of this would be a reusable pagination widget.</p>
  </blockquote>
  
  <p>Is there an example?</p>
  
  <p>Thanks</p>
  
  <p>Edit:</p>
  
  <p>Would this help make something like composed Views?</p>
  
  <p><a href="https://github.com/tbranyen/backbone.layoutmanager">https://github.com/tbranyen/backbone.layoutmanager</a></p>