📜 ⬆️ ⬇️

Little about ZK

I bring to your attention a small overview of the most interesting framework for developing corporate web applications.

ZK is developed by the Taiwanese organization Potix Corporation and has
multiple awards at sourceforge

ZK is an event-based, component-based web framework that allows you to develop RIA applications using more than 200 XUL / HTML components with a minimal amount of code.

Application development is possible on the following platforms:
* Apache Tomcat
* Sun GlassFish v2, v3
* Sun Java System Application Server
* JBoss Application Server
* IBM Websphere Application Server
* BEA WebLogic Application Server
* Oracle Application Server Container for Java EE (OC4J)
* SAP NetWeaver
* Jetty
* Resin
')
PL:
* Java (BeanShell)
* Javascript (rhino)
* Ruby (JRuby)
* Groovy

The framework integrates beautifully with:
* Seam
* Hibernate
* Spring
* Seasar
* Jsp
* Jsf
* JUnit
* Apache Struts
* Apache Tiles 2
* Liferay
* I18N
* JasperReports

In my opinion, the main advantage of ZK is ease of use.
For example, to implement a window there are 2 ways:
1. announcement in .zul

<window title = "My First Window" border = "normal" width = "200px"
Hello, World!
</ window

2. Java approach
import org.zkoss.zk.ui.*;
import org.zkoss.zk.zul.*;

public class HelloRichlet extends GenericRichlet {
public void service(Page page) {
Window w = new Window("My First Window", "normal", false);
new Label("Hello, World!").setParent(w);
w.setPage(page);
}
}


Demo is available here.

The latest versions support the development of the client-side component.

Licensing and pricing
Recently, the license was changed to the LGPL, which caused community discontent,
Also, some of the components have become paid , however, the developers promise the possibility of using paid components in open-source projects, in addition,
Free versions do not suffer from limited functionality.

In conclusion, I want to add that for the convenience of development there is a good plugin for Eclipse

Next time I will try to describe the use of ZK + Spring MVC + Hibernate + JPA

Source: https://habr.com/ru/post/72186/


All Articles