Blurring of MVC lines: Programming the Web Browser.

| 0 Comments
advogato-rodent.png



Blurring of MVC lines: Programming the Web Browser.

Posted 27 Nov 2008 at 17:06 UTC (updated 28 Nov 2008 at 17:33 UTC)


pyjs_overview.png

When HTML first came out, browsers could have been called "Application Thin Clients", if the buzzword had been in use at the time. The introduction of javascript made it possible to execute code on the client, and this turned browsers into something much more than just a "display" mechanism.

Before Javascript, Web application development was simple: everything was done server-side. The concept of MVC - Model View Controller - was easy: the HTML was generated, and that was the view. With Javascript being a full-blown programming language, the lines are being blurred between which code is responsible for the View, the Controller and even the Model. The resultant split of responsibility across client and server in wildly diverse programming languages is driving many developers to alternative technologies such as Flash, and causing headaches for those Web developers who remain.

The key components of the solution - to allow the developer to create MVC applications in a single programming language, where at least the "View" source is extracted and compiled to Javascript and HTML - actually exist and are used in production environments, thanks to Google Web Toolkit and Pyjamas. RubyJS is well on the way, too.

Full story



Share this post:
digg del.icio.us reddit Newsvine Google Bookmark FaceBook Stumble Upon Bookmark and Share

Leave a comment

Recent Entries

We Interrupt This Program
We Interrupt This Program By Virginia Heffernan January 2, 2009My video will resume after this ad, in 26 seconds. The…
Linux in 2009: Recession vs. GNU
Linux in 2009: Recession vs. GNUDecember 24, 2008 By Bruce Byfield Pundits and business executives alike are predicting gloomy…
The way is cleared for Debian 5
2 January 2009, 15:10 The way is cleared for Debian 5 The Debian developers have decided to release the…