ZK 5.0 RC release notes

Released on September 28, 2009.

Architectural Advancements

Server+Client Fusion

Since 2005 ZK has been renowned for its' server-centric approach, providing the ultimate in productivity gains. We will continue to push the server-centric envelope to make ZK even more productive. In addition to the server-centric approach, developers can now optionally leverage the full controllability of client-side programming using jQuery and GWT(available soon)!

ZK is developer-centric

It's the developer's choice whether to implement a function using either server-side or client-side development according to their requirements. In fact, now developers do not need to choose between productivity and controllability as you can use both server-centric and client-centric approaches in the same application, even in the same page! The amalgamation of these two development strategies is called Server+Client Fusion.

It is not about server-centric or client-centric, it is about developer-centric!

For more information please take a look here!

Ajax-as-a-Service

One of the main new architectural features is the ability to load client-side JavaScript packages from distributed servers. This means that a local copy of the library does not have to be kept, freeing authors from constantly updating their application to use the latest libraries. This architecture delivers EAI integration at the client-side, enabling the same close knit ease of integration of a backend system but at the client!

For more information please take a look here!

LGPL License

To extend our reach beyond what a GPL-licensed framework can achieve, ZK 5 is now moving to LGPL (Lesser General Public License) offering more freedom and allowing ZK to be integrated with more frameworks under different licensing models.

Now, with the LGPL-licensed ZK 5, you are free to use, develop and deploy your ZK powered application/framework, regardless of whether it is open source, proprietary, or commercial.

ZK 3 and older versions were licensed under the GPL and will continue to be in the future.

Getting Simpler and Richer

New Feature Highlight

  • Server+Client Fusion technology
  • Ajax-as-a-Service
  • Enhanced layouts using vBox/hBox and vFlex/hFlex support to all components
  • New file upload component
  • New Cell component
  • Inplace editing supported
  • Freezing columns within Grid and Listbox supported
  • Enhanced Datebox
  • ToolbarButton & Button functionality enhanced
  • Overlapping window effects improved
  • New configuration options

  • Please see New Features for more!

  • If you would like to upgrade from an older version the upgrade notes are available here!

Feature Updates

  • 120+ off-the-shelf Ajax components.
    • Tabbox, grid, listbox, tree, menu, combobox, bandbox, datebox, chart, hbox, vbox, window, slider, paging, audio, image, timer, include, iframe...
    • Drag-and-drop supported by all components, such that users can drag components and drop them to any other or particular set of components.
    • Context menus and customizable tooltips supported by all components, such that a menu or any popup appears when user click, right-click or move the mouse over a component.
    • Customizable sorting of listbox, grid and children of any component with 100% Java codes (java.lang.Comparator).
    • Auto-completion for combobox.
    • Load on demand with writing Java codes.
    • Live data for listbox.
    • Grids, listboxes and trees with sizable columns.
    • All components are cloneable and serializable.
    • Validation and formatting for any input components, such as regular expression and $#,##0.
    • 100% Java API of Google Maps, FCKeditor, DOJO, and Timeline components.
  • Event-driven, server-centric model
    • More than 20 events are supported: onChange, onChanging, onScroll, onSelect, onShow, onZIndex...
    • All events are processed at the server. No hurdle to communicate between clients and servers.
    • All events are synchronized. No racing condition to worry about.
  • ZK User-interface Markup Language (ZUML).
    • Rich user interface could be designed in ZUML as simple as authoring HTML pages.
    • Powerful yet intuitive control flow by the if, unless and forEach attribute.
    • Scripting in EL expressions and your favorite scripting languages, include but not limited to Java, JavaScript, Ruby and Groovy.
    • Hot changes and updates without restarting your Web applications.
    • Annotations that allow a page to acess database with zero Java codes.
  • Browser history management.
    • Add states to browser's back button history. Then, users can bookmark and use the back and forward button to navigate different states of the same ZK desktop.
  • Simple yet boundless component model.
    • Macro components. Developing a full-feature new component by using another ZUML pages.
    • Inheritable customization. Developing a new component by extending existent components.
    • Seamlessly and easily to encapsulate pure-client components as ZK components with 100% Java API.
    • Customizing components with pre-compiled Java classes, or by scripting in your favorite scripting languages, include but not limited to Java, JavaScript, Ruby and Groovy. The choice is yours.
  • Simple yet flexible threading model.
    • Thread-safe component handling.
    • True server-side Modal dialog.
    • Suspend and resume event listeners freely.
  • 100% Customizable User-Interface factory.
    • Loading ZUML pages not only from Web contents but also any repository such as database.
    • Customizing the features of sessions, desktops and pages.

What's New

  • New Features Tracker:
    • 2817315: Support client-centric programming model
    • 2825713: EventQueue support application-level publish (by sever-push)
    • 2822404: Fileupload shall be a feature attachable to button, menuitem
    • 2787713: Button automatically disable itself after clicked
    • 2815551: Include supports non-HTML content (by use of comment)
    • 2491275: ZHTML checkbox fire onCheck (in addition to onClick)
    • 2794752: Fisheye supports dynamic images
    • 2794753: An option to specify whether the content can be crawled
    • 2831852: Allow developer to specify directory to load JavaScript file
    • 2834187: A way to load client (JavaScript) packages from diff servers
    • 2831854: A way to run certain JavaScript codes w/o load it explicitly
    • 2816083: Spec change
    • 2816588: A way to parse app-specific configuration in zk.xml
    • 2832982: Button supports Ctrl+Click if href is specified
    • 2822834: Button supports toolbar mold and toolbarbutton d. from it
    • 2839350: Timebox supports date format like "a hh:mm:ss"
    • 2841695: Enhance Datebox and Calendar layout
    • 1832887: InputElement support in-place editing
    • 2121859: New component
    • 2845947: vflex/hflex supported in every component
    • 2845956: vflex/hfex supports proportion and min
    • 2783102: Borderlayout and flex and vflex improvement
    • 2849793: Replace fixedLayout with sizedByContent in Gird/Listbox/Tree
    • 2840886: Freezing Columns on Listbox and Grid
    • 2853314: ZK Client Engine support canvas
    • 1811700: XUL box model
    • 2858441: Merge attributes of ID space and component for space owner
    • 2855804: EL/zscript read attributes directly, and deprecate Namespace
    • 2859159: A way to listen changes of attribute in session/execution/appplication
    • 2859867: forward="onX=" shall be shortcut of forward="onX=onX"
    • 2860482: A way to specify language for component definition ()
    • 2848804: Readonly combobox supports selection by keystrokes
    • 2861283: hbox/vbox pack attribute supports stretch option
    • 2822395: Adds component for HTML A, rather than overuse toolbarbutton