This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I heard from some one that we can achieve MVC in client side using AJAX. are these is covered in your book? can you explain us some thing about this?
Thanks in Advance.
I think, Ajax is not just client side technique. It requires server and client both to do magic...
Typical MVC is possible in Ajax also, sending all the Ajax request to single servlet (controller) and that controller will then decide which model to invoke... but view will be the same as we need to update the page which invoked the action...
I have a Web application that was originally developed without AJAX, but has been improved to use some AJAX for updating pages without reloading. The application uses MVC (via the Maverick MVC) framework for AJAX and non-AJAX. A request comes in to the controller, which puts together the model and forwards it to the view. The view renders HTML for non-AJAX requests, and XML for AJAX requests. Actually, one or two AJAX views are just plain text, because they return only tiny data for which the overhead of XML is not worth it.
Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.