[Web-SIG] JavaScript libraries
James Y Knight
foom at fuhm.net
Tue May 3 02:51:22 CEST 2005
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
More information about the Web-SIG
mailing list