[Helma-user] Ajax

Chris Zumbrunn chris at zumbrunn.com
Mon Oct 8 12:59:40 CEST 2007


On Oct 6, 2007, at 2:26 , Kevin Ethridge wrote:

> Could anyone point out some ajax examples using Helma?

Hi Kevin,

You'll probably need to be more specific about what it is you are  
after. Due to the server-side use of Javascript and the built-in way  
how Helma handles requests and sessions, there really is no need for  
anything special on the helma server side. I can think of no ajax  
specific trick that your question could be fishing for.

Anyway, a simple example where ajax is used is in the shell action  
that is part of the helmaTools module. In this case one action  
handles both ajax and normal web requests and the code is a bit  
convoluted in order to stay unobtrusive to the hosting app. Usually  
you would probably split that and simply handle the ajax requests  
with actions dedicated for that purpose.

http://dev.helma.org/trac/helma/browser/apps/helmaTools/trunk/Global/ 
helma.shell.skin
http://dev.helma.org/trac/helma/browser/apps/helmaTools/trunk/Global/ 
helma.shell.js

Chris


More information about the Helma-user mailing list