The Ashes

Technology, Science and other news
August 21, 2009

Taking JavaScript “all the way” with MVC

Posted by : admin
Filed under : General

Peter Michaux posted about going all the way with a full client-server app view that looks like:

PLAIN TEXT
HTML:

  1.  
  2. <!DOCTYPE html>
  3.   <title>The App</title>
  4. </head>
  5.   <script src=“/static/js/the-app/bootstrap.js” type=“text/javascript”></script>
  6. </body>
  7. </html>
  8.  

Joel Webber then showed what the GWT Showcase example could look like (a touch different):

PLAIN TEXT
HTML:

  1.  
  2. <!DOCTYPE><html><body><script src=‘gwtShowcase/gwtShowcase.nocache.js’></script></body></html>
  3.  

This isn’t new but feels like it continues to gain ground. Bespin is pretty much this model….. the editor talks to a simple JSON API on the backend. Mobile Me uses SproutCore which touts this model. As do many other frameworks.

Jonathan Snook posted about JavaScript MVC at the same time. He sets up a mini-manual framework himself to show some concepts, and Kris Zyp comments:

It misses the strong MVC design in Dojo, YUI, ExtJS, etc. because MVC is not in name)

MVC is one of those patterns that wars are started on. Some think of it as broad, others jump back to the smalltalk roots and look to specifics.

If you think that view source / semantic markup is a great feature of the Web platform, then this kind of world is a touch worrying, but major apps have been doing this for years.

Tags :

No Comments

(required)
(will not be published) (required)
(opitional)

cciash.com EN ES IT DE PT CZ FR RU
February 2018
M T W T F S S
« Sep    
 1234
567891011
12131415161718
19202122232425
262728  

Pages

Categories

Resources

There are many online poker site where you can play but at poker.hk you can play the poker games with all the knowledge you need related to the game with the poker school available in both the English and Chinese language.

Super Casino

Now you can bet on any sports and any sporting events from all the comfort from your home. Bet770 allows you to bet on any events and match with in just 3 clicks. They also offers great odds on football betting for every premier and champions league match. Get £50 free in bets when you register.

Bingo770, offering best online bingo games with £7.70 free no deposit Bonus!