Better Templates for Everybody
- Better Templates for Everyone were designed to make it easy to maintain a web site. Using dynamic pages for everything is overkill. Templates for Everyone can be used to make updating static web pages easier while using the same process with dynamic web pages. Updating static pages can be done on virtually any web server and creating dynamic pages with bte can be accomplished through servlets
Create flexible, easily maintainable web sites using dynamic authoring and static serving.
Separate presentation from logic and data when using with servlets.
Use the same system for static and dynamic content.
Robust template language
Ability to deal with null template elements
Leave out a section
Generate a warning
Generate an error
Customizable error handling
Centralized template management
- Jamon is a general purpose template engine written in java. Jamon has a rich feature set to support encapsulation, parameterization, functional decomposition, and reuse of presentation logic.
Templates are compiled into Java and then into bytecode, and are referred to in application code just like any other Java class.
Templates are translated into Java classes with public methods whose signatures reflect the arguments declared in the templates. This provides compile-time type-checking as well as excellent performance.
- JBYTE - JavaBY Template Engine is a Java-based template engine.
JBYTE is a general template engine used for generating any type of text document from a template.
JBYTE is used mostly for generating HTML from JSP or servlets but it can also be used for generating XML, RTF, WML, e-mail text, source code and configuration files. Template has existed in different forms for several years, its concepts are proven, its implementation is robust and it performs well.
- JDynamiTe is a simple yet powerful tool used to create dynamic documents from "template" documents. It is based on the same concept as those of "FastTemplate", which is a very popular PHP extension used in many Web sites to create dynamic HTML pages. Note: JDynamiTe is not a Java port of FastTemplate.
The main benefit of JDynamiTe is to allow a true separation between the presentation (HTML, XML, etc) and content generation code (written in Java). JDynamiTe is not another template language, or a complete framework. It is a simple "brick" in your "MVC" architecture, "glue" between views and models.
JDynamiTe is a "pure" Java package, which is designed to be flexible and open.
JDynamiTe is free, under the GNU Library General Public License
- Jxp (Java scripted page) is a script-processor/template-engine that can execute template files containing text + java code. It contains a parser to parse the script file into an abstract syntax tree and a tree processor (JxpProcessor) that will process the syntax tree to execute the code using reflection API to produce output. Some of the main features of Jxp include:
Java as template language. Why learn another one? ;)
support common java language 1.4 constructs (partial 1.5 syntax support on jdk 1.4)
practical template sources management framework
support caching of parsed syntax tree to eliminate reparse of template
a servlet implementation to enable web-scripting
extensible processing context for defining built-in function on the scripts
- StringTemplate is a java template engine (with ports for C# and Python) for generating source code, web pages, emails, or any other formatted text output.
A template engine is a code generator that emits text using templates embedded with actions or data references. Engines generally espouse a model-view pattern in an attempt to separate the data source and template. A container such as a Servlet web server may act as a controller, orchestrating instantiation and controlling model-view interaction.
StringTemplate has spawned a number of engines:
ANTES template engine by Scott Dixon
- Tea, a simple programming language designed for easily managing web sites. TeaTrove is broken up into several products:
Tea - implements the Tea language
TeaServlet - integrates Tea into a Servlet Container
Kettle - an IDE for editing Tea templates
BeanDoc - converts Javadoc comments to JavaBean comments
Trove - utilities used by all the other products
- Velocity is a Java-based template engine. It permits anyone to use a 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 its lifespan and providing a viable alternative to Java Server Pages (JSPs) or PHP.