stl and yaws

Luke Gorrie luke@REDACTED
Tue Jan 14 12:22:01 CET 2003


Vladimir Sekissov <svg@REDACTED> wrote:
> Good day,
> 
> I'm now working on Yaws extension for STL. It is finished on 90% and
> already contains:
> 
> 1. Continuation-passing style sessions based on modified Ulf Wiger's
> `mdisp' module. Idea was borrowed from PLT Web-server.

This I'm looking forward to :-)

For people who haven't seen, the PLT paper is "Programming the Web
with High-Level Programming Languages", http://readscheme.org/xml-web/

Their main trick is to make sending a HTML form to the user and
receiving the POSTed reply look, from the server program's point of
view, just like making a function call. The function can even return
multiple times, corresponding to the user going BACK to a previous
form and resubmitting it. Super clever! Like the difference between
Erlang processes and event-loop programming, but applied to the web.

Not that I've actually tried it :-)

They do this in Scheme using call/cc. Looking forward to seeing how
the mdisp-based approach works!

Cheers,
Luke




More information about the erlang-questions mailing list