title: Understanding Opencart's loader workflow
body: <p>I am trying to understand how OpenCart's code works. The following code is defined in <code>index.php</code> (file attached) in OpenCart's mysite.com/admin/ folder. Could you please explain what the following code actually does ? I would like to know how it actually works.</p>
  
  <p>I also have attached <code>loader.php</code> and <code>registry.php</code> under their respective folder.</p>
  
  <pre><code>// Registry
  $registry = new Registry();
  
  // Loader
  $loader = new Loader($registry);
  $registry-&gt;set('load', $loader);
  </code></pre>
  
  <p><a href="http://dl.dropbox.com/u/27899629/mysite.com.zip" rel="nofollow noreferrer">link to mysite.com admin </a> folder zip</p>
  
  <p>Though the following question is not similar to my question but still it touches similar point: 
  <a href="https://stackoverflow.com/questions/10086942/opencart-meta-title-include-store-name">Opencart meta title include store name</a></p>