The Wayback Machine - https://web.archive.org/web/20100417224441/http://www.codeguru.com:80/java/article.php/c16445

    Direct RIA: Future of RIA

    Direct RIA: Future of RIA

    More choices, difficult decision

    Though enterprises can benefit from Rich Internet applications, adopting new technologies can also introduce risk. The first problem is how to choose the right solution as it is easy to make a wrong decision because of too many choices, unclear criteria, and complex requirements.

    Productivity or Controllability

    RIA solutions can be generally classified into two categories - client centric or server-centric. Client-centric frameworks are like manually transmission car which provide more control, but requires more effort. Unlike client-centric frameworks, server-centric frameworks are like auto transmission cars which is easy, thus, they can boost developer's productivity by making AJAX technology transparent to developers. But, which to choose remains a headache. Full control or productivity? Can we benefit from both of them at the same time? The best case is that they can choose either way to satisfy different requirements like manually auto-transmission car!

    Direct RIA = client+server fusion approach

    Direct RIA enables a revolutionary client+server fusion approach which attempts to leverage benefits of productivity and controllability at the same time.programming when they require full customization, or more responsiveness.

    Architecture Overview of Direct RIA

    Direct RIA is a server-centric solution plus optional client-side programming. If you take a look at the following diagram, you can see that in the server-centric programming model allow developers to build the Web application using pure server-side code. The server-side engine will generate required HTML, and JavaScript code automatically. Then, the client-side engine will interact with the DOM tree to refresh the content. Moreover, the synchronization between the browser and the server is automated by the corporation of the client-side, and server-side Ajax engines. Thus, developers can focus on the application itself instead of the complex Ajax technologies.

    However, one of the major disadvantages of pure server-centric programming model is that developers cannot fully control the presentation of user interface. To overcome this issue, Direct RIA enables an optional client-side programming model that enables developers to write client code to control the user interface directly if necessary.

    About the Author

    Robbie Cheng is an Evangelist of the ZK framework. He is the principal developer of ZK Mobile for Android and ZK Forum. He is the co-author of the book "ZK: Ajax without the Javascript Framework" and has published many articles on AJAXWorld Mgazine, TheServerSide, and Javalobby. He has also spoken at various events, Google Developer Day, Mobile Monday, and OSDC 2009.

    IT Offers






    The Network for Technology Professionals

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers