Home » Tag Archives: ZK

Tag Archives: ZK

Advanced ZK: Asynchronous UI updates and background processing – part 1

zk-logo

Asynchronous UI updates are very useful, because they typically improve the responsiveness, usability and the general feel of user interfaces. I’ll be focusing here on the ZK framework, but generally the same principles apply for desktop UIs too (Swing, SWT). Long-running processing Sometimes you might have a database query, or an external web service call that takes a long time. ...

Read More »

ZK in Action: Styling and Layout

zk-logo

In the previous ZK in Action posts we went through implementing a CRUD feature using ZK MVVM. We also quickly went through some styling code that may deserve more explanation. In this post, we’ll go over how to append new CSS styling rules onto ZK widgets and how to override the existing styling. We’ll also introduce some basics of UI ...

Read More »

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 »

ZK Web Framework Thoughts

zk-logo

I’ve been asked several times to present some of my opinions about ZK. So, based of my experience of 4 years as a ZK user, here’s some thoughts: Overall developer experience, the community and documentation “It just works” Most of the stuff that ZK offers works very well, and the functionality is usually very intuitive to use if you have ...

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.