I thought that this article, Modal Web Server Example Part 1, had some interesting ideas. I think that many existing web applications are hampered by the fact they are implemented in rather crufty and adhoc languages. The author of this seems a bit more disciplined.
Some interesting ideas, and an excuse to look at Seaside, a web application framework written in Smalltalk.