Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > HTML templates

Reply
Thread Tools

HTML templates

 
 
Dan P
Guest
Posts: n/a
 
      07-20-2004
Our web team is shifting development from Perl to Java; we are Java newbies. We need to pick a template engine to add dynamic content to HTML templates. We are considering limited scripting languages (such as Velocity, WebMacro, FreeMarker) and "ports" of the Perl HTML::Template module (several of these are listed on Freshmeat.net).

We very much appreciate hearing of any real world experience with these tools or any feedback on their quality or utility.

Thank you,

Dan Pelton
American Mathematical Society
 
Reply With Quote
 
 
 
 
Andrea Spinelli
Guest
Posts: n/a
 
      07-20-2004
Dan P <> wrote in news:cdj8ge$iad$:


> We very much appreciate hearing of any real world experience with
> these tools or any feedback on their quality or utility.
>


We have been using for a couple of years the HTML.Template port
which is

Copyright (c) 2002 Philip S Tellis ()

The general impression is absolutely good. No problem ever.
We also added another TMPL_GENERIC tag, which calls arbitrary
Java Code, much as custom JSP tags.

The only glitch is the use of Hashtable (pre-deprecated)
instead of the more sexy HashMap - but who cares, after all?

HTML.Template was great for quickly porting code which
originally was in Perl. With afterthought, we could have used JSP
tags (standard+custom) for obtaining approximately the same effect,
at the cost of reading a lot of docs for doing an extremely simple job.

If you are porting a working thing, do not bother and use HTML.Template!
If you are developing from scratch, mayge a JSP architecture could
be a better choice (more support...)

Good luck
Andrea

--
Andrea Spinelli - IT&T srl
Via Sigismondi, 40 - 24018 Villa d'Alme' (BG)
tel: +39+035636029 - fax: +39+035638129
http://www.imteam.it/
 
Reply With Quote
 
 
 
 
Roedy Green
Guest
Posts: n/a
 
      07-20-2004
On Tue, 20 Jul 2004 09:59:42 -0400, Dan P <> wrote or
quoted :

>Our web team is shifting development from Perl to Java; we are Java newbies. We need to pick a template engine to add dynamic content to HTML templates. We are considering limited scripting languages (such as Velocity, WebMacro, FreeMarker) and "ports" of the Perl HTML::Template module (several of these are listed on Freshmeat.net).
>
>We very much appreciate hearing of any real world experience with these tools or any feedback on their quality or utility.


the most commonly used one is JSP using various tag libraries.

You might look into Freemarker which is simpler. See
http://mindprod.com/jgloss/freemarker.html

You also might look into JSF
http://mindprod.com/jgloss/jsf.html

It might not hurt to give each one a test drive on a simple project to
see how well it fits your needs. This is not a decision you can easily
change later.



--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to Specializations of function Templates or Overloading Function templates with Templates ? recover C++ 2 07-25-2006 02:55 AM
Monster Templates - Question about Submitting Templates Fred HTML 1 09-26-2005 01:09 AM
Templates within templates Tom McCallum C++ 2 08-04-2004 04:44 PM
Templates templates templates JKop C++ 3 07-21-2004 11:44 AM
using templates in templates John Harrison C++ 8 07-31-2003 12:00 PM



Advertisments