Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Templating System?

Status
Not open for further replies.

siberian

Programmer
Sep 27, 2003
1,295
US
What are the favorite template systems in use by people here? I'm trying to find a simple, not super feature rich basic template system for use with jsp.

The only real desired feature would be a single 'master template' that all other content slides into and requires minimal configuration. So far the things I have found (Velocity etc) require a bunch of code to properly handle and manage. I am going to continue to research these but I was wondering if anyone had anything a bit simpler.

If I were doing a huge site these more complex engines would work very well but this is 5 pages, maximum. Just looking for a way to centralize the ability to change overall layout in a single file.
 
velocity is among the simplest i know of, i've been using it for the past 2 years to develop webapps!



La faim justifie les moyens!
 
I settled on Struts, its been nice to me so far!

Thanks for your feedback.
 
i have read about struts, and i would lke to know how it differs from velocity and what made you choose struts rather than velocity?

La faim justifie les moyens!
 
I looked at Velocity and it seemed to have a lot more functionality then I required for my application. I also found some really solid 'real-world' tutorials for Struts beginners.

Struts also seems to be more in line with how I 'think' about web-development but thats an entirely mental thing on my part. I imagine I will implement some Velocity stuff later this year just so I know what I am missing :)

Why do I like struts? I love the ActionForm paradigm, it makes development of new user interactions extremely quick and painless. It gives a really easy to understand MVC architecture to play in, especially for someone like me coming from 6 years of perl based web-development where MVC is not really in vogue.

The tag language to me is simple and easy to understand. The logic tag libaries are very powerful to work with once you understand them but very simple at the same time.

I am sure Velocity has a lot of this stuff, like I said, I did not dig to far into Velocity before I selected struts.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top