yaws

Ulf Wiger <>
Tue Feb 12 10:36:05 CET 2002


On Tue, 12 Feb 2002, Joe Armstrong wrote:

>
>Well done klacke, brilliant.
>
>I had a few ideas for extensions :-)
>
>    a) make the server into a mutil-protocol server
>        i.e now it's HTML request -> HTML reply
>
>        Suppose it could handle SOAP request -> SOAP reply
>        synchronously with the HTML requests (and say SNMP)
>        or even Erl rpc :-)

For what it's worth, that's exactly why I started working on
XMErl and its export feature. I'd been building dynamic
content web servers, and the idea was to be able to work
with simple tagged tuples internally, and let the session handler
keep track of what the external representation should look like.
(http://www.erlang.se/euc/00/xmerl.ppt)

Erl rpc would of course be trivial, since the handlers could
define their own data structures (sticking to the {Tag,Args,Data}
format).  Then, context-sensitive export/mapping functions could
map to real XML, HTML, or something else.

I haven't yet verified that the model works well in practice, but
other nice people (e.g. Richard C and Johan B) seem to be busy
fixing things so that it actually becomes useable. (:

I like the <erl>...</erl> stuff. Neat.

/Uffe





More information about the erlang-questions mailing list