lua-users home
lua-l archive

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


On Saturday 13 September 2008, Petite Abeille wrote:
> On Sep 13, 2008, at 8:09 PM, Sacado Sacado wrote:
> > I'm not a big Lua user, but I really like this language. To improve my
> > skills and learn more about it, I just implemented a continuation-
> > based web
> > server.
>
> Very nice. Bravo for the effort :)
>
> "... continuation-based frameworks (Seaside being the quintessential
> example) are a dead-end. They are a giant workaround for the web... "

i did the same for Xavante, and reached roughly the same conclusion.

it's really nice to have local context for the whole session, working more 
like a typical event-driven application than a request/reply cycle; but... it 
just doesn't fit when the user starts going back and forth through browser 
history.  the 'real' solution is to use multi-shot continuations, not 
available in Lua.

in the end, nowadays i tend to write more application-like code in the client 
(that means javascript, thankfully jQuery makes it almost bearable), and the 
model layer in the server presenting it in JSON via REST.  typically using 
Django (it's really great)

-- 
Javier

Attachment: signature.asc
Description: This is a digitally signed message part.