Most Helpful Customer Reviews
5 of 5 people found the following review helpful:
4.0 out of 5 stars
Possibly better than JSPs?, October 1, 2004
This review is from: Pro Jakarta Velocity: From Professional to Expert (Paperback)
Harrop puts forth an interesting claim in his book. He offers Velocity as a significant improvement over using JSPs to make dynamic web pages. By now, at least in the Java world, JSPs in combination with servlets, is the most common way to do this. Not the least because it gives a clear implementation of the MVC design pattern.
But Harrop points out that JSPs always had an awkward syntax. Which for complex pages leads to miserable, error-prone coding. Plus, the pages might be slow to build. Velocity seems to offer a coding approach that is more natural than JSPs. And you certainly don't have to abandon MVC. Harrops shows how to reimplement MVC, while using Velocity and hooking to a database, and coupled to Struts and Spring.
The code examples in the book are not complicated. That too is part of his message.
You may want to look closer at the book.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
8 of 10 people found the following review helpful:
5.0 out of 5 stars
Complete coverage of Velocity, November 24, 2004
This review is from: Pro Jakarta Velocity: From Professional to Expert (Paperback)
I have always been a strong supporter of Velocity. I even wrote an article for JavaRanch about Velocity back in March. Velocity is an open source template framework designed to simplify the task of generating content such as web pages, email, or any other text-based output. The Velocity documentation available from Apache is short, low on examples, and leaves holes (even if it is fairly good compared to some other open source projects). This book fills in the gaps and gives excellent coverage of the many features that are available with Velocity.
The book starts with an introduction to Velocity and then explains how to install and configure it. The author then discusses the Velocity Template Language, examines its shortcomings, and demonstrates how to get around them. Best practices are covered early in the book. Although Velocity is normally thought of as a web-based framework, the author doesn't let us forget that it can be used for both stand-alone and web applications and gives us detailed chapters on both. Velocity tools are well covered including Anakia, which can be used to transform XML. The Velocity architecture is explained as well as ways to extend that architecture.
The examples are well thought out and give good coverage of the features of Velocity. The most interesting part of the examples is how little work it is to integrate Velocity into a well-designed framework. The author shows how Velocity fits into both Struts and Spring, demonstrating that Velocity is not meant to replace these frameworks but rather to simplify content generation in any framework. I can strongly recommend this book for anyone interested in Velocity. For anyone not interested in Velocity, the question is, why not?
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
2 of 3 people found the following review helpful:
2.0 out of 5 stars
Missing a lot, February 13, 2006
This review is from: Pro Jakarta Velocity: From Professional to Expert (Paperback)
I am using this book to bring myself up to speed on a project that combines Velocity with Struts. I'm working with Struts and Velocity modules built by a consulting company. Before the project, I didn't know either one. Now I am in the middle of the project and somewhat familiar with both. Most of the velocity commands I am able to figure out pretty quickly without the book, which is good because every time I try to find something ($link.setAction for example, which is needed to obtain the URL for forwarding) it's not there. Maybe I'm missing something, but if I am, it also is not identified in this book. I'm doing much better by referring to my Struts reference(Programming Jakarta Struts) and searching the web.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
|