Apache Wicket is a lightweight component-based web application framework for the Java programming language conceptually similar to JavaServer Faces and Tapestry. Version 1.0 was released in June 2005. It graduated into an Apache top-level project in June 2007.[1] Wicket uses plain XHTML for templating, to enforce a clearer separation of presentation and logic and to allow templates to be edited with conventional WYSIWYG design tools.[2] In traditional MVC frameworks, the controller works in terms of whole requests and whole pages and is responsible for pulling data out of the model to populate the view. Wicket components, on the other hand, are patterned after widgets in GUI frameworks such as Swing. Wicket components use listener delegates to react to GETs and POSTs against links and forms in the same way that Swing does to react to mouse and keystroke events on widgets. The common idiom is to instantiate a tree of components, each of which is then bound to a named element in the XHTML. The component then becomes responsible for rendering that element in the markup. The page is simply the top-level containing component and is paired with exactly one XHTML template. Reuseable parts of pages may be abstracted into components called panels, which can then be pulled whole into pages or other panels with a special tag. Each component is backed by its own model, which represents the state of the component and is automatically serialized and persisted between requests. Model objects are treated as opaque by the framework and how components interact with their models are their own business. More complex models, however, may be made detachable and provide hooks to arrange their own storage and restoration at the beginning and end of each request cycle. Wicket does not mandate any particular object-persistence or ORM layer, so applications often use some combination of Hibernate objects, EJB beans or POJOs as models.
[edit] References
[edit] External links[edit] Introductory articles
[edit] Blogs[edit] Documentation
[edit] Miscellaneous Links
Directorio de Enlaces Directorio dmoz Directorio espejo dmoz Pedro Bernardo | ||||||||||||||||||||||||||||||||||||