[Twisted-web] Is it possible to call the client from the server with nevow/athena

Martin Möllenbeck martin at moellenbecks.de
Sun Jan 1 14:22:26 MST 2006


thanks,

that exactly what I am looking for.

Great work "twisted" and "nevow" ;-). I am happy too use it.

Martin

Am 01.01.2006 um 18:36 schrieb Jean-Paul Calderone:

> On Sun, 1 Jan 2006 18:26:03 +0100, Martin Möllenbeck  
> <martin at moellenbecks.de> wrote:
>> Hi and happy new year,
>>
>> is it possible to call the client from the server with nevow/ 
>> athena  like nevow/livepage?
>>
>> I have take a look to the source, but I didn't unterstand it quite  
>> well.
>>
>
> Both LivePage and LiveFragment have a "callRemote" method which  
> will invoke some JavaScript function on the client.  The "widgets"  
> example demonstrates this.  You can find the Python for this  
> example at <http://divmod.org/trac/browser/trunk/Nevow/examples/ 
> athenademo/widgets.py> and the JavaScript at <http://divmod.org/ 
> trac/browser/trunk/Nevow/examples/athenademo/widgets.js>.
>
> Hope this helps,
>
> Jean-Paul
>
> _______________________________________________
> Twisted-web mailing list
> Twisted-web at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web




More information about the Twisted-web mailing list