Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Templating Language  RSS feed

 
Maneesh Chauahn
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
As i am using the velocity in my project and i found at many places that velocity is a templating Language. What is meant by the templating Language.

Thanks in advance for your prompt answer

<Maneesh Chauhan>
 
Vinay Raj
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Templating languages help you define a skeleton structure of a file. The structure will have static and dynamic aspects. The dynamic aspect can be added at runtime. For example, velocity can be used to generate a Java source file which implements DAO pattern. Instead of hand coding the DAO for each persistent object. One would use a templating language to define the skeleton of the DAO and add the table specific part in it at runtime.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!