TSS has excerpted three chapters from the 'Pro Jakarta Velocity' book, by Rob Harrop. The introductory chapter discusses template engines, their uses and reviews Velocity's feature set. Chapter 2 takes you through Velocity installation, writing templates, and creating some output. Chapter 5 shows you how to build full applications with Velocity, both for the desktop and the Web.
Read Introducing Velocity, Getting Started with Velocity and Creating Stand-Alone Applications with Velocity
-
Creating Stand-Alone Applications with Velocity (6 messages)
- Posted by: Nitin Bharti
- Posted on: August 11 2004 16:34 EDT
Threaded Messages (6)
- Velocity is better than jsp by roger le on August 11 2004 21:25 EDT
- Try Velocity online without compiling ! by Franck Arnulfo on August 12 2004 01:59 EDT
- Try Velocity online without compiling ! by Eric Hartmann on August 12 2004 03:53 EDT
- Try Velocity online without compiling ! by Rob Harrop on August 12 2004 03:58 EDT
- Creating Stand-Alone Applications with Velocity by D S on August 12 2004 08:40 EDT
- Creating Stand-Alone Applications with Velocity by Rob Harrop on August 12 2004 08:47 EDT
-
Velocity is better than jsp[ Go to top ]
- Posted by: roger le
- Posted on: August 11 2004 21:25 EDT
- in response to Nitin Bharti
It's simply and availability! -
Try Velocity online without compiling ![ Go to top ]
- Posted by: Franck Arnulfo
- Posted on: August 12 2004 01:59 EDT
- in response to Nitin Bharti
Self promo :)
Check VeloGUI http://www.pipoware.com/velogui.
This is a simple Java Web Start application that embeds a beanshell interpreter for building context and a velocity edit windows.
So you can merge context with velocity template online to see the result without compiling. Usefull for testing ;-)
Franck Arnulfo -
Try Velocity online without compiling ![ Go to top ]
- Posted by: Eric Hartmann
- Posted on: August 12 2004 03:53 EDT
- in response to Franck Arnulfo
A quite usefull application to try Velocity templates !
Thanks Franck!
-Eric -
Try Velocity online without compiling ![ Go to top ]
- Posted by: Rob Harrop
- Posted on: August 12 2004 03:58 EDT
- in response to Franck Arnulfo
VeloGUI is very cool, and I feature it in the book at some point! It is most useful for prototyping a template quickly without having to write any Java code.
Rob -
Creating Stand-Alone Applications with Velocity[ Go to top ]
- Posted by: D S
- Posted on: August 12 2004 08:40 EDT
- in response to Nitin Bharti
If you're looking for feedback about these chapters:
Overall, it looks good. I know very little about Velocity but what I've seen here has made me want to learn more.
My one comment would be that in Chapter 5 (Creating Stand-Alone Applications with Velocity) there is too much about setting up the Swing UI. This is a book about Velocity, not Swing, so why do we need to be shown pages of code setting up GridBagConstraints? Maybe you might want to show it once if you really want to convince the reader that this is based in reality rather than just being smoke and mirrors, but I don't need to see every single label and every single text box being constructed. I'll take your word for it that it gets done. If you were to make the code available for download as is common with many books nowadays, then anyone who wanted to follow through the whole thing line by line could get hold of the source code. I just felt as if I was wading through pages of code I wasn't interested in before I got to the real meat of the chapter - how Velocity fits into the picture. -
Creating Stand-Alone Applications with Velocity[ Go to top ]
- Posted by: Rob Harrop
- Posted on: August 12 2004 08:47 EDT
- in response to D S
D S,
Thanks for your feedback. The reason I chose to show the Swing code was because I know a lot of people are unfamiliar with Swing and I just wanted to ensure that everyone would get the same out the book. That said I don't want to overshadow the Velocity code with Swing code and I will certainly bear your comments in mind when it comes time to review the work!
Rob