title: JavaScript OOP and MVC
body: <p>I'm trying to figure out what MV* framework of many existing can give me what I need...</p>
  
  <ol>
  <li><p>I am using multipage ASP.NET web application, so I don't want to use routers. </p></li>
  <li><p>It must be very small...something like Backbone.js, currently I don't want to use something huge like Ember.js or Angular.js.  </p></li>
  <li><p>I will have "modules or controllers" that actually are "single instances" that will get their "data" from server as JSON objects (sometime will be AJAX and sometime embedded in HTML). It's important to be able to use inheritance for modules, so would like to be able to do something like this (pseudo code):</p>
  
  <pre><code>App.Module1 = SomeFramework.create({ 
      model: null, 
      init:function(data){ this.model = data } 
  });
  App.Module2 = SomeFramework.create(App.Module1, { 
      config: null, 
      init: function(data, config){ 
            this._super(data); this.prop = data; 
      } 
  });
  
  //Later I will use one of this modules
  App.Module1.init(data); /* OR */ App.Module2.init(data, config);
  </code></pre></li>
  <li><p>I will have different models that can have many instances.</p></li>
  <li><p>Modules/Controllers should be able to detect "model changes".</p></li>
  </ol>
  
  <p>I like Backbone, but it misses some of the things, like creating "single modules" that are able to be inherited and Backbone does not have "controller" because now it's router and it make instances based on URL.</p>