[Zope] Re: using xml-rpc with javascript to access zope

Tres Seaver tseaver at zope.com
Wed Oct 6 22:20:59 EDT 2004


Tino Wildenhain wrote:

> 
> Well, doing something like XML-RPC with Javascript is like trying
> to get a couple of elephants dancing on tip toes.

Much as it pains me to admit it, getting the user experience right 
sometimes requires pachyderms in tutus. ;)

> If you can, avoid such a solution completely.
> 
> If not and you cannot choose your auditory (e.g. their browsers
> and the configuration of their browsers) consider using a 
> plugin, for example Flash. This would work at least relieable.
> 
> Javascript has no way making a request to a server, you 
> are always tricking with loading in invisible (i)frames
> and stuff which is bound to a lot of restrictions even
> on browsers which "support" it.

There are JavaScript libraries for making XML-RPC calls, e.g.:

   http://www.vcdn.org/Public/XMLRPC/

Tres.
-- 
===============================================================
Tres Seaver                                tseaver at zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com



More information about the Zope mailing list