Re: plan for jsp foo



On Thu, 2005-03-24 at 19:25 -0500, Colin Walters wrote:
> Hi,
> 
> Jonathan and I were talking about the slowness of the XML-RPC interface
> for the initial "GET" for a client, where you need to do lots of
> roundtrips to get content for various objects.
> 
> One really clever thing we could do is for the initial "GET", on the
> server, generate the Javascript and HTML code such that its state is
> already initalized; for example, the generated JavaScript object Comment
> would have its old_version variable already initalized.
> 
> The neat way to do this I think would be to have custom JSP tags which
> map to our various Java classes, and which then generate the
> corresponding JavaScript classes.

This sounds like a pretty schweet idea.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's an oversexed coffee-fuelled paranormal investigator with a secret. She's 
a time-travelling blonde bounty hunter who can talk to animals. They fight 
crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]