ZTemplates

ZTemplates

Infobox_Software
name = ztemplates Framework
caption =
developer = [http://www.gerdziegler.de Gerd Ziegler]
latest_release_version = 0.9.9.6
latest_release_date = September 21, 2008
operating_system = Cross-platform
genre = Application framework
license = Apache 2.0
website = [http://www.ztemplates.org ztemplates.org]

ztemplates is an open source web application framework based on the Java platform 1.5 or later. It is licensed under the Apache 2.0 License.

ztemplates runs in any standard java web application container like Apache Tomcat.

ztemplates extensively uses annotations and so requires almost no configuration. It is centered around urls and allows the definition of url-variables and url-references so the programmer can extract more information from the url than is usually possible.

The active part of a ztemplates application is located in callbacks. The callbacks and the sequence in which they are called are defined by the url. The programmer can define before and after callbacks for all actions, url-variables and url-references. They are called in the order in which the corresponding url-variable and url-reference are defined in the url.

The web-page rendering is done with standard technology, like JSP or Apache Velocity. ztemplates chooses the correct rendering technology and template from the annotation the programmer attaches to a plain old java object.

Since 0.9.9 ztemplates comes with support for AJAX frameworks and a sample Yahoo UI (YUI) and Google Search integration. The AJAX libraries are included by dropping a jar file into the applications WEB-INF/lib directory. When using predefined components, the programmer does not need to know which JavaScript libraries are needed, the framework chooses the needed ones from annotations on the pojos used.

Since version 0.9.9.6 ztemplates supports AJAX forms with server side validation and updates.

The rendering part and the actions are completely independent of each other.

Features

* JSP and Apache Velocity compatible. This can be extended by implementing a simple interface.
* Annotation based AJAX support. The required JavaScript libraries and css files are declared in annotations on pojos and automatically included by the system.
* state-free. ztemplates does not keep server-side state.
* technology agnostic urls. There are no constraints on the urls by the framework.
* invisible to the web-client. ztemplates is not visible to the web client, so it could be replaced by other technologies without breaking your application.
* extensible through services. ztemplates extensively uses interfaces and annotations, making it possible to replace every part of ztemplates with a custom implementation.
* security with annotations. ztemplates provides support for security by annotations.

External links

* [http://java.dzone.com/announcements/ztemplates-0992-released Article about ztemplates on javalobby]
* [http://java-source.net/open-source/web-frameworks/ztemplates ztemplates on java-source.net]
* [http://wiki.apache.org/velocity/PoweredByVelocity Powered by Velocity]
* [http://freemarker.org/poweredBy.html Powered by Freemarker]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Comparison of web application frameworks — This is a comparison of notable web application frameworks. Contents 1 General 1.1 Perl 1.2 PHP 1.3 Java 1.4 Python …   Wikipedia

  • Сравнение каркасов веб-приложений — Это сравнительная таблица фреймворков веб приложений. Содержание 1 Фреймворки 1.1 ASP.NET 1.2 C++ 1.3 ColdFusion Markup Language (CFML) …   Википедия

  • List of web application frameworks — This is a list of notable web application frameworks, used for creating web applications. Client side ActionScript * Cairngorm * PureMVCJavaScript* Backbase * CJAX * Clean AJAX * Dojo Toolkit * Echo * Ext * [http://www.gapjumper.com/ Gapjumper] * …   Wikipedia

  • Liste von Webframeworks — Diese Auflistung enthält Frameworks und Programmbibliotheken, die bei der Erstellung von dynamischen Webseiten Verwendung finden. Inhaltsverzeichnis A B C D E F G H I J K L M N O P Q R S T U V W X Y Z …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”