Apache Tiles
Why FINN.no chose Tiles-2
At FINN.no we were redesigning our control and view layers. We had already decided on Spring-Web as a framework for the control layer due to its flexibility and a design providing a simpler migration path. For the front end we were a little unclear. One of the alternatives we looked at was Apache Tiles. It follows the Composite Pattern... This meant it provided by default what we considered a superior design... It already had integration with Spring, and the way it worked ... gave us a clear MVC separation and an encapsulation ensuring single thread safety within the view domain.
Yet the most valuable benefits Tiles had to offer wasn’t realised until we started experimenting a little more…
The full story of FINN.no and Tiles-2 can be read here.
Posted at 10:55AM Nov 13, 2010
by mck in Development |
Comments[0]
|
Autotag: autogeneration completed
After about two months of development, the Autotag project is feature-complete. JSP tags, Freemarker directive models and Velocity directives are generated from a common template models.
These template models must have a single public method, with this signature:
public void execute(<parameters>, Request request, ModelBody modelBody);
The modelBody parameter is optional: if it is not specified, the template model does not have a body.
For more features (required fields, default values, a name different to the one specified in the parameter list) a new annotation @Parameter has been created.
A Maven 2 (based on 2.2.1) plugin contains four Mojos:
- the first mojo (create-descriptor) reads the template models and produces an XML file containing the description of the read models;
- the others (generate-jsp, generate-freemarker, generate-velocity) produce boilerplate code.
The projects using the latter mojos must include some runtime dependencies.
All the Tiles 3 boilerplate code has been removed and used the plugin instead: it's a lot of boilerplate, boring code, now generated automatically.
Now the next step is to complete the test cases and to convince other potential users (I'm thinking of Struts 2) that it might help.
Posted at 01:33PM Mar 21, 2010
by apetrelli in Development |
Comments[0]
|
Abstracting requests and templates
New developments in Tiles sandbox: the Tiles request microframework and the "Autotag" project.[Read More]
Posted at 05:58AM Feb 02, 2010
by apetrelli in Development |
Comments[0]
|
First Tiles-portlet integration test is working
Finally, the Tiles test webapp has been transformed into a portlet-based webapp. The good news is that it works![Read More]
Posted at 06:38AM Sep 25, 2009
by apetrelli in Development |
Comments[2]
|
Tiles 2.2.0 approaching
A new version of Tiles is approaching. The 2.2.0 will be a number of new features, especially in the language support.
[Read More]
Posted at 05:53AM Jul 27, 2009
by apetrelli in Status |
Comments[2]
|
Tiles 2.1.3 released
Tiles 2.1.3, a bugfix relase, is available.[Read More]
Posted at 12:55AM Jul 10, 2009
by apetrelli in Development |
Comments[0]
|
Tiles 2.2 will have Velocity and Freemarker support
Tiles 2.0 and 2.1 can only use JSP (and Freemarker with a trick), but with Tiles 2.2, Velocity and Freemarker will be supported natively.[Read More]
Posted at 08:50AM Jul 08, 2009
by apetrelli in Development |
Comments[0]
|