The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 An (Almost) CPU-Free MVC Pattern with Ajax
Subject:  Complicating the client
Date:  2007-06-22 01:31:46
From:  pmlopes
Response to: Complicating the client


Your point is quite valid, however you missed out one important thing from the project. You don't have to send XML from the server to the client, in fact the whole idea was to replace XML by simple JavaScript objects, that you get from the server (aka Ajax). On the client side, the JavaScript library will convert the object to a XML object and then process it using the XSLT transformer.

All the IO for the data is done using JSON which simplifies and reduces the network bandwidth.

Still you are right, XSLT transformation is a bit heavy and there is no cache mechanism on the client.

 Feed java.net RSS Feeds