title: Ember.js - DynamicTemplate depending on Model
body: <p>I would like to create an application which will create dynamically a grid to display informations according to an xml file. Each pages will be define on this xml.</p>
  
  <p>Exemple : </p>
  
  <pre><code>&lt;page name="index"&gt;
    &lt;component&gt;
      &lt;content_type&gt;html&lt;/content_type&gt;
      &lt;posx&gt;1&lt;/posx&gt;
      &lt;posy&gt;1&lt;/posy&gt;
      &lt;content&gt;&lt;/content&gt;
    &lt;/component&gt;
    &lt;component&gt;
      &lt;content_type&gt;html&lt;/content_type&gt;
      &lt;posx&gt;1&lt;/posx&gt;
      &lt;posy&gt;2&lt;/posy&gt;
      &lt;content&gt;&lt;/content&gt;
    &lt;/component&gt;
  &lt;/page&gt;
  </code></pre>
  
  <p>In this exemple, a page Index with a row and 2 cols will be created.</p>
  
  <p>I would like to know how you think is the best way to create this application in ember V 1.0? 
  Is-it possible to use a page as a model and create the template dynamically with Ember.view : </p>
  
  <pre><code>Index.ApplicationView = Ember.View.extend({
    // My code
  });
  </code></pre>
  
  <p>I found a way to do that, but I'm not sure it is a clean way that is why I am asking.
  I'm learning how to use ember.js at the moment, please be understanding.</p>