On May 2, 2005, at 8:47 PM, Peter Hunt wrote:
> I envision a world where we can write something like:
> <input type="button" onclick="server.onButtonClick()" />
>
> And it will do a server-side RPC to the onButtonClick() method, which
> could do something like this:
> def onButtonClick(ctx):
> ��� ctx.document.writeln("Button clicked")
>
> ctx would serve as a magical proxy for method calls back to the
> client. This would allow seamless integration of JavaScript and Python
> without even writing a line of JS. What do you think?
I think that's exactly what Donovan's LivePage does.
James
_______________________________________________
Web-SIG mailing list
[email protected]
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com