About the Author |
|
xi | |
About the Technical Reviewer |
|
xii | |
Acknowledgments |
|
xiii | |
Introduction |
|
xiv | |
Chapter 1 Introducing Velocity |
|
1 | (8) |
|
|
1 | (1) |
|
Introducing Java Template Engines |
|
|
2 | (2) |
|
Understanding the Uses of Velocity |
|
|
4 | (1) |
|
Seeing Velocity in Detail |
|
|
5 | (1) |
|
Seeing Velocity in Action |
|
|
6 | (2) |
|
|
8 | (1) |
Chapter 2 Getting Started with Velocity |
|
9 | (32) |
|
|
9 | (4) |
|
|
13 | (4) |
|
|
17 | (1) |
|
Configuring the Velocity Runtime |
|
|
18 | (17) |
|
|
35 | (4) |
|
|
39 | (2) |
Chapter 3 Using the Velocity Template Language |
|
41 | (40) |
|
|
41 | (1) |
|
Introducing VTL Constructs |
|
|
42 | (22) |
|
Improving Reusability with Macros |
|
|
64 | (7) |
|
Overcoming VTL Shortcomings with VelocityTools |
|
|
71 | (9) |
|
|
80 | (1) |
Chapter 4 Introducing Patterns and Best Practices |
|
81 | (36) |
|
Hints, Tips, and Best Practices |
|
|
81 | (13) |
|
Using Velocity in an MVC Environment |
|
|
94 | (11) |
|
|
105 | (11) |
|
|
116 | (1) |
Chapter 5 Creating Stand-Alone Applications with Velocity |
|
117 | (40) |
|
|
118 | (1) |
|
|
119 | (36) |
|
|
155 | (2) |
Chapter 6 Creating Web Applications with Velocity |
|
157 | (58) |
|
|
157 | (7) |
|
Easier Views with VelocityViewServlet |
|
|
164 | (8) |
|
Building a Web Application |
|
|
172 | (25) |
|
Using Velocity with Struts |
|
|
197 | (9) |
|
Using Velocity with the Spring Framework |
|
|
206 | (8) |
|
|
214 | (1) |
Chapter 7 Using Velocity and Anakia |
|
215 | (20) |
|
|
216 | (18) |
|
|
234 | (1) |
Chapter 8 Using Additional Velocity Tools |
|
235 | (32) |
|
|
235 | (8) |
|
|
243 | (10) |
|
|
253 | (13) |
|
|
266 | (1) |
Chapter 9 Going Inside Velocity |
|
267 | (46) |
|
Introducing a Typical Processing Cycle |
|
|
267 | (3) |
|
Examining the Initialization Phase |
|
|
270 | (35) |
|
Using the Velocity Template Parser |
|
|
305 | (6) |
|
|
311 | (2) |
Chapter 10 Extending Velocity |
|
313 | (26) |
|
Hooking Into Velocity Events |
|
|
314 | (6) |
|
Creating a Custom LogSystem |
|
|
320 | (3) |
|
Creating a Custom ResourceLoader |
|
|
323 | (7) |
|
Creating Custom Directives |
|
|
330 | (8) |
|
|
338 | (1) |
Chapter 11 Using Velocity Development Tools |
|
339 | (8) |
|
|
339 | (1) |
|
Introducing VeloEdit for Eclipse |
|
|
340 | (2) |
|
Using Velocity in IntelliJ IDEA |
|
|
342 | (1) |
|
|
342 | (1) |
|
Using Velocity in UltraEdit |
|
|
343 | (1) |
|
Using Velocity in TextPad |
|
|
344 | (1) |
|
|
345 | (1) |
|
|
345 | (2) |
Appendix Velocity Reference |
|
347 | (10) |
|
Introducing the Directives |
|
|
347 | (3) |
|
|
350 | (7) |
Index |
|
357 | |