On Tue, Mar 30, 2010 at 10:30 PM, Stuart P. Bentley <stu...@testtrack4.com>wrote:
> On Tue, 30 Mar 2010 19:41:40 -0600, Andre Carregal < > carre...@fabricadigital.com.br> wrote: > > CGILua was the first use of Lua for web development, back in 1996. By >> then it was a bind of CGI therefore the name. As the Kepler project >> started evolving first SAPI then WSAPI based solutions, the CGILua >> style (PHP like page generation) got less and less attention. >> >> So, CGILua was a sort of proto-Kepler Project, from before separate > libraries were used to handle each aspect of development? > > You could say that. Carregal can certainly explain better, having actually been there when it all began. :-) Yuri's Ph. D. dissertation has some of the early-mid history, too (http://takhteyev.org/dissertation/chapter_3_4). > What is SAPI, and what does it accomplish? This is one of the big points > of confusion for me. I REALLY can't understand the role of SAPI, except that > it seems to have been written to bridge the gap between the original design > of CGILua and WSAPI. > SAPI was CGILua's server abstraction layer, to let it run with different web servers. WSAPI replaces it, but it was easier (and less prone to bugs) at the time to connect WSAPI with SAPI than connecting CGILua directly to WSAPI. > I could volunteer to "refactor" CGILua into smaller libraries if I had a > full understanding of what CGILua still provides that hasn't been superseded > by newer libraries. > > The CGILua docs are a good start, but it would be great to get a CGILua user with more experience onboard (if those are still around :-) ). > Also, why isn't http://www.tecgraf.puc-rio.br/~tomas/htk/ a Kepler > project? > > Orbit's htmlify function does something similar (but using environment magic). I have refactored it (along with other parts of Orbit) into a utility library that Carregal mentioned, which should make it easier to use on WSAPI projects (or even CGILua). -- Fabio Mascarenhas
_______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/