0% found this document useful (0 votes)
1K views

ZK

ZK is an open-source Ajax framework for building rich web interfaces using Java. It uses XUL and ZUML for components and markup. ZK runs on the server-side and is event-driven. It provides pre-built interactive components and handles updating the interface without JavaScript. ZK aims to simplify web development by mirroring desktop application development and providing a productive environment for building enterprise applications.

Uploaded by

Siddharth Kar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views

ZK

ZK is an open-source Ajax framework for building rich web interfaces using Java. It uses XUL and ZUML for components and markup. ZK runs on the server-side and is event-driven. It provides pre-built interactive components and handles updating the interface without JavaScript. ZK aims to simplify web development by mirroring desktop application development and providing a productive environment for building enterprise applications.

Uploaded by

Siddharth Kar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 21

ZKOSS

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

THE EXECUTION FLOW


1. When a user types a URL or clicks a hyperlink in the browser, a request is sent to the Web server. If the requested URL matches with the ZK's configured URL pattern, a ZK loader will be invoked to serve this request. 2. ZK loader loads the specified page and interprets it to create proper components accordingly.

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.

A PRESENTATION LAYER TOOL


ZK is designed to be as thin as possible, so it focuses only on the presentation tier. It does not require any other back-end technologies, and all middleware, such as JDBC, Hibernate, Java Mail, EJBs, and JMS, works appropriately with ZK. Thus, you can build your web application with familiar technologies without learning new ones.

A SERVER-CENTRIC EVENT-DRIVEN FRAMEWORK


In ZK, all the components are created on the server side. Moreover, the way components communicate with each other is event driven. In short, ZK mirrors the simplicity of developing desktop applications in the development of web applications and gives users more interactivity and more responsiveness.

A COMPONENT-BASED GUI TOOLKIT


ZK is a component-based graphical user interface (GUI) toolkit. ZK provides XUL-based and XHTML-based components, and it provides the ZUML markup language for designing user interfaces. It is similar to the programming model found in desktop GUI-based applications

TOP REASONS TO USE ZK


Enterprise Trusted and Established. End to End Productivity Boost. Industry Leading Architecture. Transparent Ajax with Java. Fortune 500 Approved Security.

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

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy