[plt-scheme] web-server and templates

From: Jordan Johnson (jorjohns at cs.indiana.edu)
Date: Sun Aug 15 20:32:12 EDT 2004

On Sunday, August 15, 2004, at 10:12  AM, Mike Burns wrote:
> Using send/suspend/callback, this problem can be entirely avoided. 
> Here's an
> example that might help...

Ohhhhhh.  Yes, I was missing that you're building a full table of 
callback procedures and passing the arguments in the setup, rather than 
passing the arguments along with the query.

Funny, I'd considered doing that (albeit without the same neat 
interface), but was rather put off at the time by the thought of saving 
an extra 30-odd closures that duplicate data I've already got 
elsewhere.  Perhaps it's not such a big deal, but still, instinctively 
I'm inclined to think it's kind of wasteful...this is the sort of thing 
I might check out and quantify to inform my work, though.

The send/suspend/{dispatch,callback} interface is nice, in any case.  
Thanks!

jmj

--
The most damaging phrase in the language is, "We've always done it that 
way."
		-- Admiral Grace Hopper



Posted on the users mailing list.