Zk 5 Essentials Doc

Páginas: 12 (2794 palabras) Publicado: 9 de agosto de 2012
ZK Essentials
For ZK 5

PDF generated using the open source mwlib toolkit. See http://code.pediapress.com/ for more information. PDF generated at: Mon, 02 Jan 2012 10:02:01 CST

Contents
Articles
ZK Essentials Introduction An Introduction to ZK's Server client Fusion Architecture Component Based UI Event Driven Programming Working with the Sample Applications The Resources Setting Up theApplications Using Eclipse Store Store with a Database Laying out Your ZK Components How to Layout Components Using ZK Borderlayout Handling the Login Process using ZK MVC and Sessions The Basic Login Implementing ZK MVC Managing credentials using ZK Sessions Displaying Information Using Grid Implementing the View Using a ListModel and RowRenderer The Final Grid Displaying information using theListbox Implementing the View Using a ListModel and ListitemRenderer The Final Listbox Displaying Information in a Grid Using Data Binding The Concept of Data Binding Implementing Data Binding Working with ZK and databases The Theory of Using ZK with Databases Using Hibernate with ZK Hibernate, Entities and Database Generation Hibernate Session Management and Implementing the DAOs Hibernate Summary1 1 1 2 10 14 14 15 17 20 24 25 26 30 30 31 33 34 34 37 40 44 45 48 52 53 54 58 63 63 64 66 69 72

Summary and Further Readings

72

References
Article Sources and Contributors Image Sources, Licenses and Contributors 75 76

ZK Essentials

1

ZK Essentials
Documentation:Books/ZK_Essentials If you have any feedback regarding this book, please leave it here.http://books.zkoss.org/wiki/ZK_Essentials

Introduction
The aim of ZK Essentials is to provide a step by step resource for a developer to address the creation of a substantial application using ZK. Each chapter navigates a particular ZK topic and explains in details in context of the application why certain choices and implementation techniques were chosen over others. The book chooses a shopping cart drivenapplication as a platform to explore ZK. By the end of this book you should be able to gather enough information about ZK techniques and practices to implement a custom web application. The book starts off by introducing ZK and its architecture then moves into the creation of the application.

An Introduction to ZK's Server client Fusion Architecture

When a ZK application runs on the server, it canhave access to the backend resources, assemble UI with components, listen to user's activity, and then manipulate components to update UI. All are done at the server. The synchronization of the states of the components between the browser and the server is done automatically by ZK and transparently to the application. When running at the server, the application can access full Java technology stack.User activities, including Ajax and Server Push, are abstracted to event objects. UI are composed of POJO-like components. ZK is the most productive approach to develop a modern Web application.

An Introduction to ZK's Server client Fusion Architecture With ZK's Server+client Fusion architecture, your application will never stop running on the server. The application could enhance theinteractivity by adding optional client-side functionality, such as client-side event handling, visual effect customizing or event even UI composing without server-side coding. ZK enables seamless fusion from pure server-centric to pure client-centric. You can have the best of two worlds: productivity and flexibility.

2

Component Based UI
In ZK, we work with UI components to put our application GUItogether. We can declare components using either markup language or Java.

Here we declared a Window [1] component, setting the border to normal and resizing its width to a definite 250 pixels. Enclosed in the Window [1] are two Button [2] components.

Where We Declare the Components
The components are declared in files with the extension ".zul". A ZUL page is interpreted dynamically on...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • planilla 5 it essentials
  • examen 5 it-essentials
  • Doc-5
  • Doc 5
  • DOC 5 CULTURA 3
  • Caso 5 .doc
  • Doc 5 Hidrologia La Tierra
  • Formato Plan De Negocios 5 DOC

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS