ebooksgratis.com

See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
ZK Framework - Wikipedia, the free encyclopedia

ZK Framework

From Wikipedia, the free encyclopedia

ZK

Simple and Rich
Developed by http://www.potix.com
Latest release 3.0.4 / March 26, 2008 (2008-03-26); 75 days ago
OS Cross-platform (JVM)
Genre Ajax Web Framework
License GNU General Public License / Commercial
Website www.zkoss.org

ZK is an open-source, all Java, Ajax Web application framework that enables rich UI for Web applications with no JavaScript and little programming.

The core of ZK is an Ajax-based event-driven mechanism, over 90 XUL and 80 XHTML-based components, and a markup language for design user interfaces. Programmers design their application pages in feature-rich XUL/XHTML components, and manipulate them upon events triggered by end user's activity. It is similar to the programming model found in desktop GUI-based applications.

ZK takes the so called server-centric approach that the content synchronization of components and the event pipelining between clients and servers are automatically done by the engine and Ajax plumbing codes are completely transparent to web application developers. Therefore, the end users get the similar engaged interactivity and responsiveness as a desktop application, while programmers' development retains a similar simplicity to that of desktop applications.

In additions to component-based programming in a manner similar to Swing, ZK supports a markup language for rich user interface definition called ZUML.

  • ZUML is designed for non-programmer developers to design user interfaces efficiently.
  • ZUML allows developer to meld different markup languages, such as Mozilla XUL language and XHTML, seamlessly into the same page.
  • ZUML allows developers to embed script in pure Java language (interpreted by BeanShell) and use EL expressions to manipulate the components and access data.

Contents

[edit] Features

  • Declarative high level specification of rich (rather than plain HTML) user interfaces.
  • Embedding scripting support with Java. This is important for applications that benefit from having a unified programming language for both server and web client code.
  • High level Ajax support.
  • Event-driven component-based model (similar to desktop programming models)
  • Support for creating user interfaces using different patterns. A MVC programming approach can be adopted with all events forwarded to a central controller class. Alternatively event handlers can be defined within the page. The MVC page approach is analogous to Swing programming and the in-page arppaoch is analogous to DHTML programming on the server.
  • Support for integrating with existing web frameworks via a JSP custom tag library, JSF support and a Servlet Filter. Has support of Spring and Hibernate.
  • Extensible via extensions that can create new custom UI controls.
  • Databinding capability via in-page annotations that transparently bind screen controls to the fields of POJOs on the server.

[edit] Differences to XUL

  • ZK is a server side framework which emits HTML and thus does not depend on client side presence of Gecko making it portable to non-Mozilla browsers.
  • ZK processes logic on the server. This increases choice in languages and libraries that can be used to create such logic. But it also increases the server load since client processing power is not utilized.
  • While ZK and XUL have an overlapping subset of components, they have their own unique component sets.
  • Look and Feel differences.

[edit] System Requirements

  • JRE version 1.4 or later
  • A Web server supporting Servlet 2.3 or later

[edit] Prerequisites of Programming Skills

[edit] What Are Required

  • Basic knowledge of Java
  • Basic knowledge of HTML and XUL

[edit] What Are Optional

  • Object Oriented Programming
  • Servlet Programming
  • Ajax
  • JavaScript (at the client side)
  • Knowledge of a scripting language to write the glue logic (running at the server)

[edit] ZUML

ZUML (ZK User Interface Markup Language) is a markup language for rich user interfaces definition.

  • ZUML is designed for non-programmer developers to design user interfaces efficiently.
  • ZUML allows developer to melt different markup languages, such as Mozilla XUL language and XHTML, seamlessly into the same page.
  • ZUML allows developers to embed script in pure Java language (interpreted by BeanShell) and use EL expressions to manipulate the components and access data.
  • ZUML is supported by ZK.

[edit] External links

Wikibooks
Wikibooks has a book on the topic of


aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -