title: Sinatra + Ajax to load dynamic content
body: <p>I want to create a page with will be filled with dynamic info using Ajax (JQuery). The info will come from various GETs I need to do in other URLs.
  I'll be using Sinatra + JQuery to to that, but as my WEB experience is almost null and don't have any idea how do to it right.
  The requisites for this are:</p>
  
  <ul>
  <li>Each time a GET completes, a new line of information should appear on the page.</li>
  <li>If the GET could not be complete, a default info appear on the page.</li>
  </ul>
  
  <p>My idea so far is to do something like this:</p>
  
  <ul>
  <li>Have my controller performing each GET inside a thread.</li>
  <li>Each time a thread ends, with success or not, I inform the view of the result and render a partial</li>
  <li>I'll have as many partial as I need (for each GET I must do)</li>
  <li>The first time I load the page I fill in the default info, them I update via AJAX with the successful GET responses</li>
  </ul>
  
  <p>This does not seem the correct approach, so I'm asking someone that already did something similar or has more experience on this some help.</p>