jon 01/08/07 09:25:13
Modified: xdocs index.xml
docs casestudy1.html index.html
Log:
fixed link on the homepage
rewrapped casestudy1
Revision Changes Path
1.30 +203 -203 jakarta-velocity/xdocs/index.xml
Index: index.xml
===================================================================
RCS file: /home/cvs/jakarta-velocity/xdocs/index.xml,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- index.xml 2001/08/01 01:10:14 1.29
+++ index.xml 2001/08/07 16:25:13 1.30
@@ -1,203 +1,203 @@
-<?xml version="1.0"?>
-
-<document>
-
- <properties>
- <title>Velocity</title>
- <author email="[EMAIL PROTECTED]">Velocity Documentation Team</author>
- </properties>
-
- <body>
-
-<section name="Velocity v1.1 Released">
-
- <p>
- <table>
- <tr>
- <td>
- <img src="images/powered-by-logo.gif" alt="powered-by-logo.gif" width="77"
height="32"/>
- </td>
- <td>
- Version 1.1 of the
- Velocity Template Engine is now released.
- Congratulations and thanks to all participants in the
- Velocity community.
- </td>
- </tr>
- </table>
- </p>
-
- <p>
- Major enhancements include :
- </p>
-
- <ul>
- <li>
- The new event-handling facility, allowing finer control and interaction with
- the rendering process.
- </li>
- <li>
- Internationalization support through full support of template character
encoding.
- </li>
- <li>
- Optimizations for improved performance.
- </li>
- </ul>
- <p>
- Minor enhancements are too numerous to mention. Please see the
- <a href="changes.html">change log
- </a> for details.
-</p>
-
-</section>
-
-<section name="Velocity News">
-<p>
-<strong>3 published articles covering Velocity</strong>
-</p>
-
-<blockquote>
-Many people believe that Velocity can only be used in the context of web
-applications. This excellent <a
-href="http://www.javaworld.com/javaworld/jw-07-2001/jw-0727-templates-2.html">JavaWorld
-article</a> by Leon Messerschmidt shows that the design of Velocity is
-such that it can be used in a myriad of applications.
-</blockquote>
-
-<blockquote>
-The Java Developer Journal recently <a
-href="http://www.sys-con.com/java/articlea.cfm?id=1080">published</a> an
-edited version of the <a href="./ymtd/ymtd.html">YMTD article</a> by Jon
-Stevens as the cover story for their July edition.
-</blockquote>
-
-<blockquote>
- The Sun <i>Dot-Com Builder</i> developer information site has a "Best Practices"
product profile on Velocity. Check it out
- <a href=" http://dcb.sun.com/practices/profiles/velocity.jsp">here</a>. Thanks
Sun!
-</blockquote>
-
-<p>
-<strong> 3 Products Now Depend on Velocity </strong>
-</p>
-<blockquote>
-Gentleware, Xadra and Vamp have built products which depend on Velocity.
-We have listed them on our ever expanding <a
-href="./powered.html">Powered By Velocity</a> page.
-</blockquote>
-
-<p>
-<strong> 4 Web Frameworks Now Support Velocity </strong>
-</p>
-<blockquote>
-Turbine, JPublish, Melati and Maverick all support Velocity.
-We have listed them on our ever expanding <a
-href="./powered.html">Powered By Velocity</a> page.
-</blockquote>
-
- </section>
-
- <section name="What is Velocity?">
-
- <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 will allow
- web applications to be developed according to a true MVC model.
- </p>
-
- </section>
-
-
-
-<section name="Where do I get releases?">
-
-<p>
- The current release version is version 1.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.1/">here</a>.
-</p>
-
-</section>
-
-<section name="Where do I get nightly snapshots?">
-
-<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>
-
-</section>
-
-<section name="How do I contribute, give feedback, fix bugs and so on?">
-
-<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>
-
-</section>
-
- </body>
- </document>
-
-
-
-
-
+<?xml version="1.0"?>
+
+<document>
+
+ <properties>
+ <title>Velocity</title>
+ <author email="[EMAIL PROTECTED]">Velocity Documentation Team</author>
+ </properties>
+
+ <body>
+
+<section name="Velocity v1.1 Released">
+
+ <p>
+ <table>
+ <tr>
+ <td>
+ <img src="images/powered-by-logo.gif" alt="powered-by-logo.gif" width="77"
height="32"/>
+ </td>
+ <td>
+ Version 1.1 of the
+ Velocity Template Engine is now released.
+ Congratulations and thanks to all participants in the
+ Velocity community.
+ </td>
+ </tr>
+ </table>
+ </p>
+
+ <p>
+ Major enhancements include :
+ </p>
+
+ <ul>
+ <li>
+ The new event-handling facility, allowing finer control and interaction with
+ the rendering process.
+ </li>
+ <li>
+ Internationalization support through full support of template character
encoding.
+ </li>
+ <li>
+ Optimizations for improved performance.
+ </li>
+ </ul>
+ <p>
+ Minor enhancements are too numerous to mention. Please see the
+ <a href="changes.html">change log
+ </a> for details.
+</p>
+
+</section>
+
+<section name="Velocity News">
+<p>
+<strong>3 published articles covering Velocity</strong>
+</p>
+
+<blockquote>
+Many people believe that Velocity can only be used in the context of web
+applications. This excellent <a
+href="http://www.javaworld.com/javaworld/jw-07-2001/jw-0727-templates.html">JavaWorld
+article</a> by Leon Messerschmidt shows that the design of Velocity is
+such that it can be used in a myriad of applications.
+</blockquote>
+
+<blockquote>
+The Java Developer Journal recently <a
+href="http://www.sys-con.com/java/articlea.cfm?id=1080">published</a> an
+edited version of the <a href="./ymtd/ymtd.html">YMTD article</a> by Jon
+Stevens as the cover story for their July edition.
+</blockquote>
+
+<blockquote>
+ The Sun <i>Dot-Com Builder</i> developer information site has a "Best Practices"
product profile on Velocity. Check it out
+ <a href=" http://dcb.sun.com/practices/profiles/velocity.jsp">here</a>. Thanks
Sun!
+</blockquote>
+
+<p>
+<strong> 3 Products Now Depend on Velocity </strong>
+</p>
+<blockquote>
+Gentleware, Xadra and Vamp have built products which depend on Velocity.
+We have listed them on our ever expanding <a
+href="./powered.html">Powered By Velocity</a> page.
+</blockquote>
+
+<p>
+<strong> 4 Web Frameworks Now Support Velocity </strong>
+</p>
+<blockquote>
+Turbine, JPublish, Melati and Maverick all support Velocity.
+We have listed them on our ever expanding <a
+href="./powered.html">Powered By Velocity</a> page.
+</blockquote>
+
+ </section>
+
+ <section name="What is Velocity?">
+
+ <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 will allow
+ web applications to be developed according to a true MVC model.
+ </p>
+
+ </section>
+
+
+
+<section name="Where do I get releases?">
+
+<p>
+ The current release version is version 1.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.1/">here</a>.
+</p>
+
+</section>
+
+<section name="Where do I get nightly snapshots?">
+
+<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>
+
+</section>
+
+<section name="How do I contribute, give feedback, fix bugs and so on?">
+
+<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>
+
+</section>
+
+ </body>
+ </document>
+
+
+
+
+
1.2 +23 -20 jakarta-velocity/docs/casestudy1.html
Index: casestudy1.html
===================================================================
RCS file: /home/cvs/jakarta-velocity/docs/casestudy1.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- casestudy1.html 2001/08/01 01:10:12 1.1
+++ casestudy1.html 2001/08/07 16:25:13 1.2
@@ -128,13 +128,14 @@
embedded mail templating system in our application server.
When I began this subproject, I was using JSP as the language for
-generating template output for our application server. It was horrible.
-There were many problems, not to mention the difficulty of embedding a
-servlet engine in the app server that I could communicate with through
-direct method calls instead of over a socket. Specific to the Velocity
-argument was the JSP template versus the VTL template. I'd like to show
-you what my JSP template looked like. Package names have been changed to
-protect the innocent. Here is an example:
+generating template output for our application server. It was
+horrible. There were many problems, not to mention the difficulty of
+embedding a servlet engine in the app server that I could
+communicate with through direct method calls instead of over a
+socket. Specific to the Velocity argument was the JSP template
+versus the VTL template. I'd like to show you what my JSP template
+looked like. Package names have been changed to protect the
+innocent. Here is an example:
----------------8<---------------
@@ -212,8 +213,8 @@
----------------8<---------------
-Seasick yet? Now here is the Velocity template accomplishing the same
-thing as above:
+Seasick yet? Now here is the Velocity template accomplishing the
+same thing as above:
----------------8<---------------
@@ -258,22 +259,24 @@
----------------8<---------------
-I was subsequently able to define that largish foreach loop into a macro
-and shrink it even more, using Velocity's #macro function, so I could do
-this:
+I was subsequently able to define that largish foreach loop into a
+macro and shrink it even more, using Velocity's #macro function, so
+I could do this:
#drawStandardHtmlTranscript ( $meeting )
-removing 20 lines of code from each template whilst only adding 2 lines
-(one for #parse and the other for the #drawStandardHtmlTranscript.
+removing 20 lines of code from each template whilst only adding 2
+lines (one for #parse and the other for the
+#drawStandardHtmlTranscript.
+
+The call to the Velocity runtime to finally merge the template
+consumes about 20-50 milleseconds (on a 400 mHz PII Linux system)
+when I pool the contexts (time doubles when I do not). This is great
+performance, too!
-The call to the Velocity runtime to finally merge the template consumes
-about 20-50 milleseconds (on a 400 mHz PII Linux system) when I pool the
-contexts (time doubles when I do not). This is great performance, too!
-
Last but not least, teaching the web design team to write a template
-took literally 10 minutes from start to finish. They haven't asked me a
-single question since.
+took literally 10 minutes from start to finish. They haven't asked
+me a single question since.
--
Nick Bauman
1.46 +1 -1 jakarta-velocity/docs/index.html
Index: index.html
===================================================================
RCS file: /home/cvs/jakarta-velocity/docs/index.html,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- index.html 2001/08/01 01:10:12 1.45
+++ index.html 2001/08/07 16:25:13 1.46
@@ -167,7 +167,7 @@
</p>
<blockquote>
Many people believe that Velocity can only be used in the context of web
-applications. This excellent <a
href="http://www.javaworld.com/javaworld/jw-07-2001/jw-0727-templates-2.html">JavaWorld
+applications. This excellent <a
href="http://www.javaworld.com/javaworld/jw-07-2001/jw-0727-templates.html">JavaWorld
article</a> by Leon Messerschmidt shows that the design of Velocity is
such that it can be used in a myriad of applications.
</blockquote>