Environment setup"
From Documentation
Tmillsclare (talk | contribs) |
m (correct highlight (via JWB)) |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{ZKDevelopersGuidePageHeader}} |
__TOC__ | __TOC__ | ||
− | == | + | ==Installation Guide== |
− | |||
− | + | [[ZK Installation Guide]] provides the detailed information to install ZK on different servers, and development environments (IDE). | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | It is recommended to use an IDE you preferred to try the code by yourself. If you are not familiar with any IDE, you might follow the instructions described in [[ZK_Installation_Guide/Setting_up_IDE/Eclipse_with_ZK_Studio|ZK Installation Guide's Eclipse with ZK Studio]]. | |
− | |||
==Configuration files you should know== | ==Configuration files you should know== | ||
− | + | ZK provides configuration files for most common use cases. In most case, you '''simply copy and paste''' it. You could find them in the <code>MyApp</code> folder after you uncompress the binary distribution. | |
'''web.xml''': | '''web.xml''': | ||
− | :To develop a Web application with ZK, | + | :To develop a Web application with ZK, we have to configure two Servlets and one listeners to <code>web.xml</code><ref>It is also known as [http://en.wikipedia.org/wiki/Deployment_Descriptor Deployment Descriptor]</ref> under the <code>WEB-INF</code> directory. |
'''zk.xml''': | '''zk.xml''': | ||
− | :zk.xml is the configuration descriptor of ZK. This file is optional. If you need to configure ZK differently from the default, you could provide a file called zk.xml under the WEB-INF directory. | + | :zk.xml is the configuration descriptor of ZK. This file is optional. If you need to configure ZK differently from the default, you could provide a file called <code>zk.xml</code> under the <code>WEB-INF</code> directory. |
− | + | :For more information, please refer to the [http://books.zkoss.org/wiki/ZK_Configuration_Reference ZK Configuration Reference]. | |
− | For | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | <blockquote> | |
+ | ---- | ||
+ | <references/> | ||
+ | </blockquote> | ||
== Quiz == | == Quiz == | ||
− | |||
− | |||
#What's the two configuration files you should know? | #What's the two configuration files you should know? | ||
− | {{ | + | {{ZKDevelopersGuidePageFooter}} |
Latest revision as of 10:39, 19 January 2022
This documentation is for an older version of ZK. For the latest one, please click here.
Installation Guide
ZK Installation Guide provides the detailed information to install ZK on different servers, and development environments (IDE).
It is recommended to use an IDE you preferred to try the code by yourself. If you are not familiar with any IDE, you might follow the instructions described in ZK Installation Guide's Eclipse with ZK Studio.
Configuration files you should know
ZK provides configuration files for most common use cases. In most case, you simply copy and paste it. You could find them in the MyApp
folder after you uncompress the binary distribution.
web.xml:
- To develop a Web application with ZK, we have to configure two Servlets and one listeners to
web.xml
[1] under theWEB-INF
directory.
zk.xml:
- zk.xml is the configuration descriptor of ZK. This file is optional. If you need to configure ZK differently from the default, you could provide a file called
zk.xml
under theWEB-INF
directory. - For more information, please refer to the ZK Configuration Reference.
- ↑ It is also known as Deployment Descriptor
Quiz
- What's the two configuration files you should know?