ztemplates
Home Page
Categories: MVC, Web frameworks
Author: Gerd Ziegler
Latest version: 0.9.8.6
Added 2008-01-24
Web framework based on Java 1.5
Features include:
- technology-agnostic URLs
- fully JSP, Velocity and AJAX compatible
- state-free
- invisible to the web-client
- uses conventions and annotations, almost no configuration: scans the classpath for annotated classes
- small, few classes are visible to the programmer, mostly annotations
The controller:
ztemplates is built around urls; urls can define url-variables; annotate an action-pojo with @ZMatch("yourUrlPattern"); url-variable values are assigned to pojos; urls can be nested (included) in each other with url-references; the nesting supports inheritance (polymorphism); the url defines a sequence of callbacks to the action-pojo; the callbacks contain the application logic and create the view (render-pojos)
The view:
define the view data in render-pojos; define the view in a template file (JSP, Velocity,...); style the view with css by placing a css fragment next to the pojo; annotate the render-pojo with @ZRenderer to link the pojo to the template and css; annotate the render-pojo-properties with @ZExpose to make them available to the template; include views by exposing other render-pojos as a property with @ZExpose(render=true)
 Built for Java |
 Library |
 Free or free version available |
 Source code provided |