Advantages Java parsers: 1. XML documents are not downloaded on the client machine but parsed at the server side and html is returned to the client through response object. 2. Asynchronous requests still can be made using AJAX technology, but instead of sending XML documents, send html back to the browser. (I haven't tried this but I think it is possible). (We can have UI renders classes that will parse these XML documents and apply any stylesheets necessary. I am not sure how fast this would be).
Did anyone compare these two approaches? and which one do you think is better?
Joined: Nov 08, 2001
I have an example in my book (ajax In Action) to do transformations to show it can be done, but I had to say it only worked in certain browsers. Sorts of limits your audience.
Joined: Nov 17, 2004
Thanks a lot Eric.
I did read "AJAX In Action" and I liked it a lot. It gave good exposure on Patterns and security.