Direct RIA & ZK Framework: The Best Use of AJAX Is To Not Know It Exists

Open Source AJAX

Subscribe to Open Source AJAX: eMailAlertsEmail Alerts newslettersWeekly Newsletters
Get Open Source AJAX: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Direct RIA Authors: Xenia von Wedel, Yeshim Deniz, Graciya Leon, Roger Strukhoff, Andreas Grabner

Related Topics: RIA Developer's Journal, AJAX World RIA Conference, OpenAjax Alliance News, Open Source and Cloud Computing, Open Source AJAX

AJAX World: News Item

Intuive MVC Pattern for AJAX Applications

ZK 3.6.1 Released

ZK 3.6.1 released recently. ZK is a Direct RIA framework to increase developer’s productivity by integrating frontend and backend of applications transparently to deliver rich, and engaging user experience.

The main focus of ZK 3.6.1 was on bug-fixing, with over 47 bugs fixed. In addition to the host of bugs eradicated 20 new features have been added, including a debug mode for unit-testing and MVC enhancement!

Features Highlights:

  • MVC pattern enhanced.
  • Use Component ID as UUID for unit test.
  • A way to delay databinding behaviors.

Intuive MVC Pattern

Using ZK 3.6.1, the developer has easier access to the Cotroller by using a generic variable called ($composer). Developers can define required resources inside the Controller and access them easier.

View:

<window id="win" width="300px" apply="MyController">
<grid model="win$composer"/>
</window>

Controller:

public class MyController extends GenericForwardComposer {
DataModel model = new DataModel();
getModel( return mode;)
}

ZK programming is all about event handling and UI components manipulation. To make MVC programming easier, we have made the interaction between controller and view easier.

Read New Features

More Stories By Robbie Cheng

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.