• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Velocity anyone

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
them good ole boys were drinking whiskey and rye singin' this'll be the day that I die. Drink tiny ad.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic