[Zope] flash<->zope<->zsql

Phil Harris phil@harris-family.info
Fri, 4 Jan 2002 15:47:59 -0000


Since there is an xmlrpc lib for flash, couldn't you use that to call the
zsql method in zope?

----- Original Message -----
From: "Gidon Friedman" <zopista@friedman.ch>
To: "mick polo" <sendyourstuff50@hotmail.com>
Cc: <zope@zope.org>
Sent: Friday, January 04, 2002 3:44 PM
Subject: Re: [Zope] flash<->zope<->zsql


>
> this works with loadvars, but be carefull, it's an unreliable thing  with
some
> Flash Versions < 5.
> with DTML Method you need to do:
> -------
> Content-Type: application/x-www-urlform-encoded
>
> &var1=arg1&var2=arg2
> -------------
> of course this can be built on ZSQL results. Generally it's prefered to
use
> python
> scripts if you have complex logic to build the arguments.
>
> and be careful about the scope of the vars in Flash, to set up the loadvar
> can be tricky. and the flash documentation ... well, you 'll see.
>
> take care
>
> gidon
>
>
> mick polo wrote:
>
> > yes that's what i thought too but it does not seem to work at all - I
got it
> > to work with perl php asp on a normal server... but i wanna use
zope!! --
> > and do i have to call <dtml-in sqlMethod> to execute a query? I cant
seem to
> > run a zsql query from flash in zope at all!!
> >
> > hmmm
> >
> > ..use Flash's ActionScript method, such as loadVariable, XML().load()
> > ..XML().sendAndLoad(),XMLSocket.connect().....
> > ..to trigger the objects and methods in a zope server.
> >
> > ..Iap, Singuan
> >
> > >
> > >
> > >hi all,
> > >
> > >does anyone out there know how do I pass variables between flash and
Zsql
> > in
> > >zope? I can get the flash file to display in zope but to pass variables
to
> > >and from Zsql methods is driving me nuts!!
> > >
> > >help!
> > >mike.
> >
> > _________________________________________________________________
> > Chat with friends online, try MSN Messenger: http://messenger.msn.com
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )