Hello! People, plz bring the simplest example of MVC to JavaScript so that it is clear what's what. Thank you =)

  • And why bother? - Oleg Arkhipov
  • What do you mean why? First of all, for convenience ... It’s necessary in general ... There are many articles in Google, but they all write a lot of unnecessary or incomprehensible. - altvirus
  • 2
    Hello Backbone.js Tutorial helped me in my time, but once again, think once again whether the game is worth the candle, it may be better to write in the forehead. - Specter

2 answers 2

Look here: using the MVC pattern in a small JavaScript + jQuery game .

PS In general, an ordinary website in fact is almost always a generalized MVC application (M is a database, V is page markup, J is a controller). But if the site lives entirely on the client side (which is possible for HTML5 applications), then you can artificially beat JS under MVC.

  • Thank! Catch the plus =) - altvirus

Ext js look, sencha.com their address