Overview#

ztemplates is a webframework. It processes http requests to create a http response.

A http request is processed by the framework like this:

Application startup time#

The web framework

Request time#

The action framework
  • creates all services that are available through the ZTemplates class.
  • analyzes the request url
  • instantiates a action pojo for each request
  • the request parameters are assigned to the pojo
  • calls a callback on the pojo

The pojo-callback

  • validates the parameters
  • accesses services to compute data
  • instantiates a view pojo
  • fills the view pojo with the computed data
  • calls the framework to render the pojo to the response.

The view framework

  • determines how to render the view-pojo by accessing a @ZRenderer annotation on the view pojo
  • exposes values from the view-pojo to a HashMap.
  • instantiates a renderer and passes the exposed values to the renderer.
  • calls the renderer to compute a String from the exposed values and a template file.
  • writes the String to the http response.

Actions#

Views#

Web#

JavaScript#

Forms#

Architecture#

Spring#

JavaDocs#

Neuen Anhang hinzuf�gen

Du bist nicht autorisiert, Anh�nge zu dieser Seite hochzuladen.
« Diese Seite (Version-) wurde zuletzt am 29-Dez-2011 16:13 von gerdziegler.de ge�ndert.