aspose file tools*
The moose likes Other Application Frameworks and the fly likes Velocity anyone Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Velocity anyone" Watch "Velocity anyone" New topic
Author

Velocity anyone

Stef Mischook
Greenhorn

Joined: Nov 12, 2004
Posts: 15
Rather than the enterprise I've been curious about frameworks for small medium size applications and websites and so I am looking at Velocity as it seems to have much less overhead than frameworks like Struts or Taperstry...

Is Velocity dead? Any opinions boys and girls?


<a href="http://www.killersites.com" target="_blank" rel="nofollow">http://www.killersites.com</a><br /><a href="http://www.how-to-build-websites.com" target="_blank" rel="nofollow">http://www.how-to-build-websites.com</a><br /><a href="http://www.websitetemplates.name" target="_blank" rel="nofollow">http://www.websitetemplates.name</a>
Chit Ming Chong
Ranch Hand

Joined: Sep 09, 2004
Posts: 49
I use velocity to generate email content for consolidated emails. It is easier to use then normal RegEx methods.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Velocity is not a framework. It is a view technology. It's a replacement for JSP. You can use Velocity with any framework you want for the view.


GenRocket - Experts at Building Test Data
Karthik Guru
Ranch Hand

Joined: Mar 06, 2001
Posts: 1209
Originally posted by Chit Ming Chong:
I use velocity to generate email content for consolidated emails. It is easier to use then normal RegEx methods.


How complex are your email templates? Do you just use velocity for variable substitution in the template?
Manish Hatwalne
Ranch Hand

Joined: Sep 22, 2001
Posts: 2578

I use velocity extensively with Struts, and as Gregg said it's a view technology rather than a framework itself.

We use Velocity for email template generation as well as normal pages instead of JSP. IMHO, Velocity is much simpler as compared to JSP pages and moreover it's so basic that it forces you to keeep all business logic out of it, in a way a better view technology because at times one is tempted to push some logic in JSP. In Velocity it really gets as siple as some HTML + few $variable_names with minimal presentation logic. I think it gets much simpler for designers to work on Velocity templates as well.

The only grumble from my side is perhaps lack of info/articles on Velocity's usage. If I get time, I am planning to put together some info/chapters online.

- Manish
PramilaT Thakur
Greenhorn

Joined: Aug 21, 2003
Posts: 8
Hi Manish,

If possible can you send me some info on velocity , as I am trying to use infoglue for content management and I am new to Velocity templates.

Thanks
Karthik Guru
Ranch Hand

Joined: Mar 06, 2001
Posts: 1209
Originally posted by PramilaT Thakur:

If possible can you send me some info on velocity



velocity has links to articles and the docs are'nt bad either.
and there is a nice book on velocity too.
Ken Krebs
Ranch Hand

Joined: Nov 27, 2002
Posts: 451
Spring has some support for Velocity. It is breifly discussed in Pro Spring.


kktec<br />SCJP, SCWCD, SCJD<br />"What we observe is not nature itself, but nature exposed to our method of questioning." - Werner Heisenberg
Manish Hatwalne
Ranch Hand

Joined: Sep 22, 2001
Posts: 2578

Originally posted by Karthik Guru:



velocity has links to articles and the docs are'nt bad either.
and there is a nice book on velocity too.


Didn't know about this book, don't know if it's available in India or not.

As or docs, lot of things are not documented (esp in velocity+dtruts) and few documented things from user guide don't work yet - like map creation/initialization syntax(unless you want to take nightly builds from velocity, our processes don't allow us to do that for our release projects).

- Manish
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Velocity anyone