File: index.html

package info (click to toggle)
velocity 1.4-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 17,900 kB
  • ctags: 9,916
  • sloc: java: 24,335; xml: 17,188; sh: 99; lisp: 53; makefile: 16
file content (528 lines) | stat: -rw-r--r-- 20,629 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<!--
Copyright 1999-2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->


<!-- Content Stylesheet for Site -->

        
<!-- start the processing -->
    <!-- ====================================================================== -->
    <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! -->
    <!-- Main Page Section -->
    <!-- ====================================================================== -->
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

                                                    <meta name="author" value="Velocity Documentation Team">
            <meta name="email" value="jvanzyl@zenplex.com">
            
           
                                    
                        
            <title>Velocity - Velocity</title>
        </head>

        <body bgcolor="#ffffff" text="#000000" link="#525D76">        
            <table border="0" width="100%" cellspacing="0">
                <!-- TOP IMAGE -->
                <tr>
                    <td align="left">
<a href="http://jakarta.apache.org"><img src="http://jakarta.apache.org/images/jakarta-logo.gif" border="0"/></a>
</td>
<td align="right">
<a href="http://jakarta.apache.org/velocity/"><img src="./images/logo.gif" alt="Velocity" border="0"/></a>
</td>
                </tr>
            </table>
            <table border="0" width="100%" cellspacing="4">
                <tr><td colspan="2">
                    <hr noshade="" size="1"/>
                </td></tr>
                
                <tr>
                    <!-- LEFT SIDE NAVIGATION -->
                    <td width="20%" valign="top" nowrap="true">
                    
    <!-- ============================================================ -->

                <p><strong>About</strong></p>
        <ul>
                    <li>    <a href="./index.html">Overview</a>
</li>
                    <li>    <a href="./getting-started.html">Getting Started</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/builds/jakarta-velocity/">Download</a>
</li>
                    <li>    <a href="./install.html">Install</a>
</li>
                    <li>    <a href="./design.html">Design</a>
</li>
                    <li>    <a href="./contributors.html">Contributors</a>
</li>
                    <li>    <a href="./changes.html">ChangeLog</a>
</li>
                    <li>    <a href="./code-standards.html">Coding Standards</a>
</li>
                    <li>    <a href="./license.html">License</a>
</li>
                    <li>    <a href="./todo.html">TODO</a>
</li>
                    <li>    <a href="http://issues.apache.org/bugzilla/enter_bug.cgi?product=Velocity">Report Issues</a>
</li>
                </ul>
            <p><strong>Community</strong></p>
        <ul>
                    <li>    <a href="./powered.html">Powered By Velocity</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/site/getinvolved.html">Get Involved</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/site/mail.html">Mailing Lists</a>
</li>
                    <li>    <a href="http://jakarta.apache.org/site/cvsindex.html">CVS Repositories</a>
</li>
                </ul>
            <p><strong>Docs</strong></p>
        <ul>
                    <li>    <a href="./user-guide.html">User's Guide (English)</a>
</li>
                    <li>    <a href="./user-guide_fi.html">User's Guide (Finnish)</a>
</li>
                    <li>    <a href="./user-guide_fr.html">User's Guide (French)</a>
</li>
                    <li>    <a href="./user-guide_es.html">User's Guide (Spanish)</a>
</li>
                    <li>    <a href="./developer-guide.html">Developer's Guide</a>
</li>
                    <li>    <a href="./vtl-reference-guide.html">VTL Reference Guide</a>
</li>
                    <li>    <a href="./specification.html">Specification</a>
</li>
                    <li>    <a href="./api/index.html">Javadoc</a>
</li>
                </ul>
            <p><strong>Tools</strong></p>
        <ul>
                    <li>    <a href="./tools/index.html">Velocity Tools</a>
</li>
                    <li>    <a href="./anakia.html">Anakia : XML->doc tool</a>
</li>
                    <li>    <a href="./texen.html">Texen : text generation</a>
</li>
                    <li>    <a href="./dvsl/index.html">DVSL : XML xformation</a>
</li>
                    <li>    <a href="./veltag.html">Veltag : JSP taglib</a>
</li>
                    <li>    <a href="./migration.html">Migration to Velocity</a>
</li>
                    <li>    <a href="./devtools.html">Editors and IDEs</a>
</li>
                </ul>
            <p><strong>Comparisons</strong></p>
        <ul>
                    <li>    <a href="./ymtd/ymtd.html">YMTD</a>
</li>
                    <li>    <a href="./differences.html">VM/WM Differences</a>
</li>
                    <li>    <a href="./casestudy1.html">JSP vs. Velocity</a>
</li>
                    <li>    <a href="./casestudy2.html">XMLC vs. Velocity</a>
</li>
                </ul>
            <p><strong>Site Translations</strong></p>
        <ul>
                    <li>    <a href="http://jakarta.apache.org/velocity/">English</a>
</li>
                    <li>    <a href="http://www.ingrid.org/jajakarta/velocity/velocity-1.2-rc2/docs-ja/index.html">Japanese</a>
</li>
                </ul>
                        </td>
                    <td width="80%" align="left" valign="top">
                                                                    <table border="0" cellspacing="0" cellpadding="2" width="100%">
      <tr><td bgcolor="#525D76">
        <font color="#ffffff" face="arial,helvetica,sanserif">
          <a name="Velocity v1.3.1 Released"><strong>Velocity v1.3.1 Released</strong></a>
        </font>
      </td></tr>
      <tr><td>
        <blockquote>
                                    <p>
   <table>
   <tr>
   <td>
   <img src="images/powered-by-logo.gif" alt="powered-by-logo.gif" width="77" height="32" />
   </td>
   <td>
   Version 1.3.1 of the Velocity Template Engine is
   available.  Yay! (2003-03-31)
   </td>
   </tr>
   </table>
 </p>
                            </blockquote>
        </p>
      </td></tr>
      <tr><td><br/></td></tr>
    </table>
                                                <table border="0" cellspacing="0" cellpadding="2" width="100%">
      <tr><td bgcolor="#525D76">
        <font color="#ffffff" face="arial,helvetica,sanserif">
          <a name="Velocity News"><strong>Velocity News</strong></a>
        </font>
      </td></tr>
      <tr><td>
        <blockquote>
                                    <p>
<strong>Cotsec Forms Uses Velocity</strong>
<blockquote>
<a href="http://www.cotsec.com/">Cotsec</a> has released a
cross-language/cross-platform rapid development
environment called Cotsec Forms that uses Velocity as it's underlying
template engine.
(<i>2003-08-23</i>)
</blockquote>
</p>
                                                <p>
<strong>Velocity Tools 1.0</strong>
<blockquote>
The first release of the <a href="tools/index.html">Velocity Tools</a> subproject is 
<a href="http://jakarta.apache.org/builds/jakarta-velocity-tools/release/v1.0/">available</a>.
It includes a generic tools package, support for clean, quick MVC web
development in the VelocityView package, and support for integration with
the Struts framework.
(<i>2003-07-16</i>)
</blockquote>
</p>
                                                <p>
<strong>Velocity Template Editor Plugin for Eclipse</strong>
<blockquote>
The first public release of an editor plugin for
Velocity templates is
<a href="http://sourceforge.net/projects/veloedit/">available</a> on
(Eclipse Online-Update Site:
http://veloedit.sourceforge.net/updates/).


(<i>2002-07-22</i>)
</blockquote>
</p>
                                                <p>
<strong>Roller Weblogger Brings it Together</strong>
<blockquote>
<i> From the site :</i>
<a href="http://www.rollerweblogger.org/index.html">Roller</a>
is server-based weblogging software - a web application - that
is designed to support multiple simultaneous weblog users and visitors.
Roller was originally written as an example application for an
article on open source Java development tools. The article
describes how the Struts Servlet framework, the Castor JDO persistence engine,
the XDoclet code generator, and the Velocity template processor
can be used together to create a full-featured database-driven web application.
(<i>2002-07-22</i>)
</blockquote>
</p>
                                                <p>
<strong>User's Guide Now Available in French</strong>
<blockquote>
Thanks to the translation contributed by
Jean-Francois El Fouly, the Velocity project can now
offer the <a href="user-guide_fr.html">User's Guide</a> in French.  Thanks!
(<i>2002-06-17</i>)
</blockquote>
</p>
                                                <p>
<strong>New Release : Maverick</strong>
<blockquote>
Another new  release in the Velocity 'powered-by' family -
The <a href="http://mav.sourceforge.net/">Maverick</a>
team is happy to announce the version 2.1 release of the
Maverick MVC Framework.
(<i>2002-06-12</i>)
</blockquote>
</p>
                                                <p>
<strong>User's Guide Now Available in Spanish</strong>
<blockquote>
Thanks to the translation contributed by
Juan Pablo Morales Olaya, the Velocity project can now
offer the <a href="user-guide_es.html">User's Guide</a> in Spanish.  Thanks!
(<i>2002-06-06</i>)
</blockquote>
</p>
                                                <p>
<strong>New Release : vDoclet</strong>
<blockquote>
Another new milestone release in the Velocity 'powered-by' family :
<ul>
<li><a href="http://vdoclet.sourceforge.net/">vDoclet 20020422</a></li>
</ul>
Check it out!(<i>2002-06-06</i>)
</blockquote>
</p>
                                                <p>
<strong>New Releases : Turbine, WebWork and JPublish</strong>
<blockquote>
A few new releases in the Velocity family :
<ul>
<li><a href="http://jakarta.apache.org/turbine/">Turbine 2.2-b1</a></li>
<li><a href="http://sourceforge.net/projects/webwork/">WebWork 1.0</a></li>
<li><a href="http://www.jpublish.org/">JPublish 0.9</a></li>
</ul>
Check 'em out!(<i>2002-03-23</i>)
</blockquote>
</p>
                                                <p>
<strong>JeeWiz : The Enterprise System Builder</strong>
<blockquote>
<a href="http://www.jeewiz.co.uk/index.html">JeeWiz</a>, a new product from
<a href="http://www.nte.co.uk/index.html">New Technology/enterprise Limited</a>,
is a J2EE system development tool that uses Velocity templates to generate
infrastructure code, deployment descriptors and build jobs for J2EE
projects. And it's said Velocity has no place in J2EE... ;-)
(<i>2002-03-09</i>)
</blockquote>
</p>
                                                <p>
<strong>User's Guide Available in Finnish</strong>
<blockquote>
Thanks to Juha Kilpi, we now offer a Finnish translation
to the
<a href="user-guide_fi.html">Velocity Users Guide</a>. Thanks Juha!
(<i>2002-01-27</i>)
</blockquote>
</p>
                                                <p>
<strong>Velocity Tool Subproject</strong>
<blockquote>
The first code for the new Velocity Tool Subproject is in
and can be found
in CVS as
<a href="http://cvs.apache.org/viewcvs/jakarta-velocity-tools/">
jakarta-velocity-tools</a>.  The first functionality includes
integration with
<a href="http://jakarta.apache.org/struts/">
Jakarta Struts</a> as well as a generic template-rendering
servlet with tool support.  Take a look!
(<i>2002-01-03</i>)
</blockquote>
</p>
                                                <p>
<strong>Introductory Velocity Article on <i>JavaWorld</i></strong>
<blockquote>
For a introduction to the Velocity Template Engine, a brief
overview of the Velocity Template Language and some basic
examples, see is the new
<a href="http://www.javaworld.com/javaworld/jw-12-2001/jw-1228-velocity.html">
article</a> on
<a href="http://www.javaworld.com/">JavaWorld</a> by Geir Magnusson Jr.
(<i>2001-12-28</i>)
</blockquote>
</p>
                                                <p>
 <strong>DVSL XML Transformation Tool Added as Subproject</strong>
 <blockquote>
 The DVSL XML transformation tool has been added as a new subproject.
 Check it out <a href="/velocity/dvsl/index.html">here</a>.(<i>2001-12-18</i>)
 </blockquote>
</p>
                                                <p>
  <strong>Velocity mentioned in ZDNet Article (last May)</strong>
<blockquote>
  It seems we could be a "can't-live-without-it piece of the
infrastructure" of tomorrow. Check
<a href="http://www.zdnet.com/zdnn/stories/news/0,4586,2717910,00.html">
it</a> out. <i>(2001-12-09)</i>
</blockquote>
</p>
                                                <p>
  <strong>Luxor, Velocity-based XUL Toolkit Released</strong>
  <blockquote>
    Luxor is an open-source XML User Interface Language (XUL) toolkit for
    Java. Read more <a href="http://luxor-xul.sourceforge.net">here</a>.
    <i>(2001-12-08)</i>
  </blockquote>
</p>
                                                <p>
<strong>Generate Code with Velocity in Borland's JBuilder </strong>
<blockquote>
  <a href="http://community.borland.com/article/0,1410,28086,00.html">Read</a>
  about how to use Velocity and Borland's OpenTools API to extend Borland's
  JBuilder for template-based Java source code generation. <i>(2001-12-08)</i>
</blockquote>
</p>
                                                <p>
<i>Archived articles are <a href="/newshistory.html">here</a></i>.
</p>
                            </blockquote>
        </p>
      </td></tr>
      <tr><td><br/></td></tr>
    </table>
                                                <table border="0" cellspacing="0" cellpadding="2" width="100%">
      <tr><td bgcolor="#525D76">
        <font color="#ffffff" face="arial,helvetica,sanserif">
          <a name="What is Velocity?"><strong>What is Velocity?</strong></a>
        </font>
      </td></tr>
      <tr><td>
        <blockquote>
                                    <p>
    Velocity is a Java-based template engine. It permits anyone to use
    the simple yet powerful template language to reference objects
    defined in Java code.
 </p>
                                                <p>
    When Velocity is used for web development, Web designers can work in
    parallel with Java programmers to develop web sites according to the
    Model-View-Controller (MVC) model, meaning that web page designers
    can focus solely on creating a site that looks good, and programmers
    can focus solely on writing top-notch code. Velocity separates Java
    code from the web pages, making the web site more maintainable over
    the long run and providing a viable alternative to <a href="http://java.sun.com/products/jsp/">Java Server Pages</a>
    (JSPs) or <a href="http://www.php.net/">PHP</a>.
 </p>
                                                <p>
    Velocity's capabilities reach well beyond the realm of web sites; for
    example, it can generate SQL and PostScript and XML (see <a href="./anakia.html">Anakia</a> for more information on XML transformations)
    from templates.  It can be used either as a standalone utility for
    generating source code and reports, or as an integrated component of other
    systems.  Velocity also provides template services for the
    <a href="http://jakarta.apache.org/turbine/">Turbine</a> web application
    framework. Velocity+Turbine  provides a template service that allows
    web applications to be developed according to a true MVC model.
 </p>
                            </blockquote>
        </p>
      </td></tr>
      <tr><td><br/></td></tr>
    </table>
                                                <table border="0" cellspacing="0" cellpadding="2" width="100%">
      <tr><td bgcolor="#525D76">
        <font color="#ffffff" face="arial,helvetica,sanserif">
          <a name="Where do I get releases?"><strong>Where do I get releases?</strong></a>
        </font>
      </td></tr>
      <tr><td>
        <blockquote>
                                    <p>
   The current release version is version 1.3.1.
</p>
                                                <p>
The release distribution is available in both <code>tar.gz</code> and <code>zip</code>
formats, and are found <a href="http://jakarta.apache.org/builds/jakarta-velocity/release/v1.3.1/">here</a>.
</p>
                            </blockquote>
        </p>
      </td></tr>
      <tr><td><br/></td></tr>
    </table>
                                                <table border="0" cellspacing="0" cellpadding="2" width="100%">
      <tr><td bgcolor="#525D76">
        <font color="#ffffff" face="arial,helvetica,sanserif">
          <a name="Where do I get nightly snapshots?"><strong>Where do I get nightly snapshots?</strong></a>
        </font>
      </td></tr>
      <tr><td>
        <blockquote>
                                    <p>
    Nightly snapshots of the Velocity CVS can be found
    <a href="http://jakarta.apache.org/builds/jakarta-velocity/nightly/">here</a>.
</p>
                                                <p>
These are meant to provide easy access to the actual project CVS tree.
As this is our live development workspace, there are no guarantees as to
what you will find there,although we do our best to maintain a buildable
source tree. If you are looking for the stable supported release, please
use the current release of Velocity.
</p>
                                                <p>
If you are willing to risk getting dirty, we invite you to try the
nightly snapshot to see the current state of affairs (and help out!) <a href="http://jakarta.apache.org/site/cvsindex.html">Public CVS
access</a> is also available.
</p>
                            </blockquote>
        </p>
      </td></tr>
      <tr><td><br/></td></tr>
    </table>
                                                <table border="0" cellspacing="0" cellpadding="2" width="100%">
      <tr><td bgcolor="#525D76">
        <font color="#ffffff" face="arial,helvetica,sanserif">
          <a name="How do I contribute, give feedback, fix bugs and so on?"><strong>How do I contribute, give feedback, fix bugs and so on?</strong></a>
        </font>
      </td></tr>
      <tr><td>
        <blockquote>
                                    <p>
    The Velocity project really needs and appreciates any contributions,
    including documentation help, source code and feedback. Suggested
    changes should come in the form of source code and/or very detailed
    and constructive feedback.
</p>
                                                <ul>
    <li>
        There is a list of <a href="contributors.html">Active Developers</a>.
        Submit some code and get your name added!</li>
    <li>
        Discussion occurs on the <a href="http://jakarta.apache.org/getinvolved/mail.html">Velocity
        mailing list</a>.</li>
    <li>
        Access to the CVS <strong>jakarta-velocity</strong> repository is available both
        <a href="http://cvs.apache.org/viewcvs/jakarta-velocity/">online</a>
        and with a <a href="http://jakarta.apache.org/getinvolved/cvsindex.html">cvs client</a>.</li>
</ul>
                            </blockquote>
        </p>
      </td></tr>
      <tr><td><br/></td></tr>
    </table>
                                        </td>
                </tr>

                <!-- FOOTER -->
                <tr><td colspan="2">
                    <hr noshade="" size="1"/>
                </td></tr>
                <tr><td colspan="2">
                    <div align="center"><font color="#525D76" size="-1"><em>
                    Copyright &#169; 1999-2004, The Apache Software Foundation
                    </em></font></div>
                </td></tr>
            </table>
        </body>
    </html>
<!-- end the processing -->