Velocity vs Apache Tiles

What's better? We are going to start a new web project, and it is a question of which technology to choose. The project includes Spring MVC + WebFlow. Any good / bad support, expansion, performance experience?

Thank.

+5
source share
5 answers

How do you want to compare Tiles with Velocity? β€œTiles are a way to lay out fragments of a page, and Veleocity is a more advanced template engine, better comparable to JSP than Tiles.”

: Spring MVC Tiles JSP: , ( JSP JSP Sitemash), . ( - .)

+6

Velocity and Tiles - . - , Velocity - . .

, , , JSP. . Velocity - , .

, commentit. , , . .

+7

, HTML, (.. , , ).

Velocity, Java HTML (.. HTML , . JPA, Car List<Car>, EJB Bean, Spring @Component, . , Velocity, bucket Map VTL, Map, HTML.

, Velocity MVC (.. Spring MVC View Resolver, , Servlet Velocity).

HTML Servlet Velocity MVC Framework web.xml. , HTML , Velocity VTL, Map.

, :

, JSP.

. PHP Smarty .

, .

+5

Velocity Tiles 2.2, , - , JSP, -. Tiles ( , ), , , Spring JSF. .

Tiles currect , Roo , JSF.

+2

Use both options. Tiles and Velocity integrate very well and solve different problems. You can make some Tiles-ish materials with Velocity #include and #parse pointers, but Tiles makes this composition material better.

+1
source

All Articles