1/12/2024 0 Comments Localscope appAPI documentation: docs/api: the generated Javadoc documentation for the Velocity project.documentation: docs: all the generated documentation for the Velocity project in html.Anakia application: examples/anakia: example application showing how to use Velocity for creating stylesheet renderings of xml data.event example: examples/event_example: An example that demonstrates the use of the event handling API. It also includes a demonstration of a recursive Velocimacro that walks the document tree. XML example: examples/xmlapp_example: a simple example showing how to use JDOM to read and access XML document data from within a Velocity template.logger example: examples/logger_example: a simple example showing how to create a custom logging class and register it with Velocity to receive all log messages.application example 2: examples/app_example2: a simple example showing how to use Velocity in an application program using the Velocity application utility class.application example 1: examples/app_example1: a simple example showing how to use Velocity in an application program.source code: src/java/.: all the source code to the Velocity project.Frequently Asked Questions (FAQ) : please visit this page to read the latest FAQ and to contribute your own answers.The Velocity Wiki contains articles, sample code, and other community-written content.Mail list archives are available from that page, too. The user and developer community: join us via the mail-lists.There are quite a few resources and examples available to the programmer, and we recommend that you look at our examples, documentation and even the source code. Needed when using the .WebMacro template conversion utility or. ReferenceInsertionEventHandler. Needed if using the default file-based logging in Velocity. Excalibur (ex-Avalon) Logkit - optional, but very common.If you use the default build target, you must add the dependencies to your classpath. They are included in the build/lib directory for convenience, but the default build target (see above) does not include them. Velocity also is dependent upon a few packages for general functionality. To run Velocity, the Java 2 Standard Edition RTE (Run Time Environment) is required (or you can use the SDK, of course). Velocity uses elements of the Java 2 API such as collections, and therefore building requires the Java 2 Standard Edition SDK (Software Development Kit). Instructions for building Velocity from source can be found in the Build document. If you want to download the latest source, you can do so via the Subversion (svn) source control system. For Velocity itself, source is included with the binary download. You can download the latest release version of the Velocity Engine or Velocity Tools from the main Apache Velocity download site. We suggest you read this article on getting started with web applications for more detail on the various options. You can also use any of a number of third party framework or build your own servlet using the techniques described in this document. The easiest way to get started is with VelocityViewServlet in the Velocity Tools subproject. In order to use Velocity in a web app you'll need a servlet or servlet-based framework. Velocity is often used for building web applications. Building Web Applications with Velocity ΒΆ In this guide, we hope to give an overview of the basics of development using Velocity. Velocity is a Java-based template engine, a simple and powerful development tool that allows you to easily create and render documents that format and present your data.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |