How to initialize models in the MVC | Different Options
<p>All my models and support modules are name-spaced.  Currently I initialize them like this.  I call initAll() on some sort of onload.</p>

<p>MC stands for Model-Controller and Su for Support.</p>

<pre><code>/**
 **  initAll
 */

MC.initAll = function() {

    MC.MATweet.init();
    MC.MABAdder.init();

    MC.MASettings.init();

    MC.MUserTry.init();
    MC.MUserNew.init();
    MC.MUserExist.init();

    Su.UserOut.init();
    Su.Media.init();
}
</code></pre>

<p>Obviously, each has it's own init() function.  I plan on updating this to use hasOwnProperty to check for the init property and from there, if it exists call it.  This would make this function a loop basically...which checks the namespace.</p>

<p>Are there other ways...to initialize models.  Is this a good way for a light-weight application?</p>
