< Home - < Back

velocity


Information about the package, velocity, which is shipped with common Linux distributions. The velocity package is designed for, Java-based template engine.


Package Name:

velocity

Summary:

Java-based template engine

Description:

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. 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 Java Server Pages (JSPs) or PHP. Velocity's capabilities reach well beyond the realm of web sites; for example, it can generate SQL and PostScript and XML (see Anakia 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 Turbine web application framework. Velocity+Turbine provides a template service that will allow web applications to be developed according to a true MVC model.

Architecture:

noarch

Version:

1.4

Release:

10.7.el6

Size:

338 k

Repository:

base

From Repository:

Licence:

ASL 2.0



Handy Yum Commands for velocity


Control the velocity package with the following handy commands outlined below.


Command

Description of Command

yum install velocity

This command will install velocity on the server.

yum remove velocity

This command will un-install velocity on the server. When you run this command, you will be asked if you are sure that you want to remove velocity, so you have to manually confirm that you want to do this.

yum -y remove velocity

This command will un-install velocity on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove velocity when using the -y flag.

yum update velocity

This command will update velocity to the latest version. When you run this command, you will be asked if you are sure that you want to remove velocity, so you have to manually confirm that you want to do this.

yum -y update velocity

This command will update velocity to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove velocity when using the -y flag.

yum info velocity

This command will show you core information about the velocity package.

yum deplist velocity

This command will show you the dependencies for velocity. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update velocity

This command will check if there is an update waiting on velocity. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.