Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Velocity anyone

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use velocity to generate email content for consolidated emails. It is easier to use then normal RegEx methods.
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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?
 
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
Ranch Hand
Posts: 451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Spring has some support for Velocity. It is breifly discussed in Pro Spring.
 
Manish Hatwalne
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
Water! People swim in water! Even tiny ads swim in water:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!