Javascript Templating Language 0.1
Sponsored Links
Javascript Templating Language 0.1 Ranking & Summary
File size:
0.40 MB
Platform:
Any Platform
License:
BSD License
Price:
Downloads:
847
Date added:
2007-07-05
Publisher:
M. A. Sridhar
Javascript Templating Language 0.1 description
JSTLs purpose is similar to that of JSP, Velocity and FreeMarker, with the key difference that JSTL uses Javascript for the computational aspects of template expansion. This enables template authors to employ the full power of Javascript, including functions, closures, objects and delegation, in creating templates.
Note, of course, that while the templating language is Javascript, the use of this engine in a Java-based web application implies that the template expansion still occurs on the server side. This is unlike Javascript-based templating mechanisms such as trimpath, which rely on the browser to perform template expansion.
The idea of using Javascript for template expansion is not new. It was available, for example, in Netscape Enterprise Server several years ago. However, the present JSTL project seems to be the first library that makes Javascript templating available for Java applications.
Main features:
- It has a low learning curve. Templating languages like FreeMarker and Velocity require you to learn a new syntax for their programming constructs. JSTL uses Javascript for this purpose, and virtually everyone who works with web pages is familiar with Javascript. The syntax for scriptlets and expressions is very similar to JSP, except that where JSP uses Java for scriptlets, JSTL uses Javascript.
- It is easy to embed in your Java applications.
- It avoids the compilation cycle overhead that JSP imposes. If you make a change in your template code, you will see its effect immediately on reloading the page, without having to compile to a Java class.
- It is compact and fast. Its implementation is just a handful of classes.
- It can be used not just in web applications but in any context where template expansion is needed. For example, you could use it for sending template-based mass emails from your application. It does not require servlets or other JSDK components.
What is special about JSTL?
- JSTL implements the idea of “doing just one thing and doing it well.” To that end, JSTL offers only template expansion with no frills. It does not, for example, provide any framework for web programming.
- JSTL tries to reuse prior work, but at the same time minimize dependencies on other components. It uses the excellent Rhino Javascript engine for executing Javascript code, but does not require any other third-party libraries.
- The code uses Java generics for type safety, so you will require Java 1.5 or better to compile it. But you can use the jar files with older versions of Java.
Note, of course, that while the templating language is Javascript, the use of this engine in a Java-based web application implies that the template expansion still occurs on the server side. This is unlike Javascript-based templating mechanisms such as trimpath, which rely on the browser to perform template expansion.
The idea of using Javascript for template expansion is not new. It was available, for example, in Netscape Enterprise Server several years ago. However, the present JSTL project seems to be the first library that makes Javascript templating available for Java applications.
Main features:
- It has a low learning curve. Templating languages like FreeMarker and Velocity require you to learn a new syntax for their programming constructs. JSTL uses Javascript for this purpose, and virtually everyone who works with web pages is familiar with Javascript. The syntax for scriptlets and expressions is very similar to JSP, except that where JSP uses Java for scriptlets, JSTL uses Javascript.
- It is easy to embed in your Java applications.
- It avoids the compilation cycle overhead that JSP imposes. If you make a change in your template code, you will see its effect immediately on reloading the page, without having to compile to a Java class.
- It is compact and fast. Its implementation is just a handful of classes.
- It can be used not just in web applications but in any context where template expansion is needed. For example, you could use it for sending template-based mass emails from your application. It does not require servlets or other JSDK components.
What is special about JSTL?
- JSTL implements the idea of “doing just one thing and doing it well.” To that end, JSTL offers only template expansion with no frills. It does not, for example, provide any framework for web programming.
- JSTL tries to reuse prior work, but at the same time minimize dependencies on other components. It uses the excellent Rhino Javascript engine for executing Javascript code, but does not require any other third-party libraries.
- The code uses Java generics for type safety, so you will require Java 1.5 or better to compile it. But you can use the jar files with older versions of Java.
Javascript Templating Language 0.1 Screenshot
Advertisements
Javascript Templating Language 0.1 Keywords
Javascript Templating Language
JSTL
Javascript Templating Language 0.1
JSP
Templating Language
Javascript templating
javascript
Templating
language
template
java
uses
Javascript Templating Language 0.1
Others
Text Editing&Processing
Bookmark Javascript Templating Language 0.1
Javascript Templating Language 0.1 Copyright
WareSeeker periodically updates pricing and software information of Javascript Templating Language 0.1 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Javascript Templating Language 0.1 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
templating languages
javascript templating engine
python templating language
javascript code
what is javascript
php templating language
javascript array
how do i turn on javascript
javascript tutorial
extensible templating language
javascript game
velocity templating language
javascript templating jquery
web templating languages
templating language such
javascript templating system
template gallery
javascript runtime engine
Related Software
Template::Multilingual is a Perl module with multilingual templates for Template Toolkit. Free Download
Template::Plugin::Java is a Perl module that can generate Java Classes from XML description files and templates. Free Download
The MfGames.Template library is a C# native library for creating template libaries. Free Download
Piffle::Template is a Perlish templating language. Free Download
Java + information flow is a security-typed programming language that extends Java with support for information flow control. Free Download
Template::Plugin::JavaSQL is a Perl module to help generate Java from database schemas. Free Download
FLASH-PLAICE is a powerful in-circuit development tool. Free Download
JavaDesktopEngine is a multi-process Java engine with an XML-RPC interface. Free Download
Latest Software
Popular Software
Favourite Software