Posts

Showing posts with the label DWR

DWR - Ajax made easy

Image
Web Users wants more! Web users are now demanding web applications to be interactive in nature and as responsive as their desktop applications. The interactive nature of Desktop applications seems out of reach for web based applications until a new approach came to be known as AJAX (Asynchronous JavaScript and XML). AJAX is a convergence of different technologies so that web applications can mimic the interactive nature and responsiveness of Desktop applications. I want to use AJAX Now! There are several AJAX frameworks that can be used and DWR is one of the most popular Ajax frameworks out there. There are 3 ways of how AJAX interaction are designed: 1. Content-Centric This approach will directly insert HTML into the client page 2. Data-Centric Information or data is received from the server in XML or JSON . 3. Script-Centric JavaScript code is received from the server. The response from the server will include JavaScript code. Among the 3 ways above i prefer the Data-Centric approac