velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Will Glass-Husain <>
Subject Re: AJAX and Velocity - Any experience ?
Date Mon, 26 Jun 2006 12:59:57 GMT

Nothing special about Velocity and AJAX, except that it is easy to 
create AJAX responses via tiny Velocity files.  These responses could be 
XML, JSON, or a Javascript callback function.

Another AJAX technique I've used succesfully recently is to populate a 
div tag with text that's updated periodically in the background (without 
refreshing the whole page).  The prototype.js library has a nice 
function for this: Ajax.Updater.  Again, Velocity makes it easy to craft 
the response (in this case, the HTML that is loaded into the div tag).


Steve O'Hara wrote:
> Hi,
> I'm starting to get interested in AJAX with my Velocity apps and
> wondered if anyone in the Velocity community has had any experiences
> with it.  It seems like a good marriage of technologies (AJAX isn't
> really a 'technology' of course but more of a methodology)
> Thanks,
> Steve

Forio Business Simulations

Will Glass-Husain
phone (415) 440-7500 x89
mobile (415) 235-4293

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message