ZK
ZK
SEMINAR GUIDE: Ms. Gayatri Nayak Dept. Computer Sc. & Engg.
PRESENTED BY: Siddharth Kar 8th Semester 0811012134 CSE - B
TALK FLOW
Introduction What is ZK Framework? XUL ZUML ZK Architecture Overview Characteristics of ZK Framework Top Reasons to use ZK Conclusion References
INTRODUCTION
ZK is an open-source Ajax Web application framework, written in Java, that enables creation of rich graphical user interfaces for Web applications with no JavaScript and little programming knowledge.
-ZK website
WHAT IS ZK FRAMEWORK?
ZK is an
event-driven component-based framework to enable rich user interfaces for web application.
ZK includes
An Ajax-based event-driven engine A rich set of XML User Interface Language (XUL) and XHTML components A markup language called ZK User Interface Markup Language (ZUML).
XUL
It is an XML user interface markup language developed by the Mozilla project. XUL relies on multiple existing Web standards and Web technologies. XUL provides a portable definition for common widgets, allowing them to move easily to any platform on which Mozilla applications run.
ZUML
ZK supports a markup language for rich user interface definition called ZUML. ZUML allows developers to meld different markup languages, such as Mozilla XUL language and XHTML, into the same page. ZUML allows developers to embed scripts in pure Java language to manipulate the components and access
data.
ZK ARCHITECTURE OVERVIEW
ZK includes an AJAX-based mechanism to automate interactivity, a rich set of XUL-based components to enrich usability, and a markup language to simplify development. The AJAX-based mechanism consists of three parts: ZK loader ZK AU Engine ZK Client Engine
3. After interpreting the whole page, ZK loader renders the result into a HTML page. The HTML page is then sent back to the browser accompanied with ZK Client Engine. 4. ZK Client engine sits at the browser to detect any event triggered by user's activity such as moving mouse or changing a value. Once detected, it notifies ZK AU Engine by sending a ZK request.
5. Upon receiving ZK requests from Client Engine, AU Engine updates the content of corresponding component, if necessary. And then, AU Engine notifies the application by invoking relevant event handlers, if any.
6. If the application chooses to change content of components, add or move components, AU Engine send the new content of altered components to Client Engine by use of ZK responses.
7. These ZK responses are actually commands to instruct Client Engine how to update the DOM tree accordingly. 8. This process is constantly repeated until the URL, is no longer referenced by the user.
CHARACTERISTICS OF ZK FRAMEWORK
1. Its a Presentation Layer Tool. 2. Its a Server-Centric Framework. 3. It has a Component Based GUI.
CONCLUSION
With over 1,500,000 downloads, ZK empowers a wide variety of companies and institutions, ranging from small to large in multiple industries. ZK's customers and users include Fortune 500 companies. ZK can be easily integrated with other java frameworks. ZK provides a platform to develop java web applications with ease.
REFERENCES
1. 2. 3. 4. 5. http://www.zkoss.org/ Apress- ZK Ajax Without JavaScript Framework http://www.zkoss.org/documentation ZK The Developer's Guide Version 3.6.3 ZK 5 Essentials