What's better? We are going to start a new web project and it's a question which technology to choose. Project includes Spring MVC + WebFlow. Any good/bad experience in support, extending, performance?
Thank you.
Velocity is a Java-based templating engine. It's an open source web framework designed to be used as a view component in the MVC architecture, and it provides an alternative to some existing technologies such as JSP. Velocity can be used to generate XML files, SQL, PostScript and most other text-based formats.
Apache Tiles™ Tiles allows authors to define page fragments which can be assembled into a complete page at runtime.
The Apache Velocity Engine is a free open-source templating engine. Velocity permits you to use a simple yet powerful template language to reference objects defined in Java code. It is written in 100% pure Java and can be easily embedded into your own applications.
So Apache Tiles has retired. I'm using Spring MVC framework and JSP. What alternatives are there? I saw Sitemesh, but it is a decorator and I need a template framework.
Velocity and Tiles are two different beasts — Tiles is a layout engine and Velocity is a template engine. They do not intersect anywhere in terms of functionality.
From your question I can guess you probably won't be using JSP. That's a smart move. Velocity is one of the template engines out there and it does an absolutely splendid job.
And if you choose to follow the template engine route for your view, then check out commentit. It's a small, simple and fast layout engine I created. It might serve your purpose perfectly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With