[Zope] Zope and Javascript

Jim Washington jwashin at vt.edu
Thu Apr 15 08:44:14 EDT 2004


Terry Hancock wrote:

> On Thursday 15 April 2004 03:30 am, Geir Bækholt wrote:
> > As javascript is executed on the client, not on the server, where the
> > sql is, you will need some way for Javascript to talk to Zope without
> > refreshing the browser window.
> > I have used the vcXMLRPC library ( http://www.vcdn.org/Public/XMLRPC/
> > ) with great success for this kind of thing. - It should work almost 
> out of
> > the box as Zope has great support for XMLRPC.
>
> Ooooh. Nice tip. I'm not sure what I can do with this, but
> it sure makes me feel creative. ;-)
>
The main caveat to using vcXMLRPC is that some browsers still cannot use it.

It uses the xmlHTTP function in javascript, which is only available in 
recent IE- and Mozilla-based browsers. 

This is notably not in any of the konquerors, like Safari, unless that 
has changed recently.

If you have a captive audience (known or specifiable browsers) for a 
special app, it does work well.

It is used in a project I have been working on for online quizzes.  I 
have an example quiz online at

http://caeep2.edtl.vt.edu/bozquiz/

-- Jim Washington



More information about the Zope mailing list