Home » Tag Archives: MVVM

Tag Archives: MVVM

ZK in Action: MVVM – Working Together with ZK Client API

zk-logo

In the previous posts we’ve implemented the following functionalities with ZK’s MVVM: load data into a table save data with form binding delete entries and update the View programmatically A key distinction between ZK MVVM and ZK MVC implementation wise is that we do not access and manipulate the UI components directly in the controller(ViewModel) class. In this post, we’ll ...

Read More »

ZK in Action: MVVM – Form Binding

zk-logo

This is the second episode in our efforts to build a ZK application from the ground up. The previous post dealt with loading and rendering of data into a table using MVVM. In this post, we’ll be introduced to ZK MVVM’s form binding. Objective We’ll build an “Add” function that would enable us to save new entries to the inventory. ...

Read More »

ZK in Action: MVVM – Update View Programmatically

zk-logo

In the previous 2 posts we’ve used ZK’s MVVM functionalities to: load data into a table save data with form binding We’ve seen when a method is decorated with the annotation @NotifyChange( ) , upon its execution completes, the Binder would be informed of the VM property’s changes so that Binder can update the corresponding UI accordingly. In this post, ...

Read More »

ZK in Action: MVVM – Load and Render Data

zk-logo

A previous post had briefly introduced the RIA framework ZK and how its CSS Selector inspired controller mechanism alleviates some of the burdens that comes with UI changes by making the task of referencing UI components in the controller class a relatively flexible affair. We then explored how the MVVM patterns in ZK allows a single ViewModel to serve different ...

Read More »

A First Look at MVVM in ZK 6

zk-logo

MVVM vs. MVC In a previous post we’ve seen how the Ajax framework ZK adopts a CSS selector inspired Controller for wiring UI components in View and listening to their events. Under this ZK MVC pattern, the UI components in View need not to be bound to any Controller methods or data objects. The flexibility of using selector patterns as ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.