lua-users home
lua-l archive

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



On May 16, 2008, at 2:22 PM, Pete Kay wrote:

I am evaluating CGILua for a new web application.  There are very few
discussion that compares CGILua with PHP. Would CGILua be more superior in
terms of performance and memory utilization?

Perhaps, but that will mostly depend on what you application does... implementation language consideration being rather secondary all things being equal...

What is the pros and cons of using CGILua instead of PHP?

Not familiar with the ins and outs of PHP, but (CGI)Lua is a rather 'do-it-yourself' kind of environment, while PHP might gather to every whimsical functionality one can dream of.

In other words, PHP might provide quite a few libraries out-of-the- box, that you need them or not, while with Lua you will need to assemble such libraries by yourself.

Thank you very much in advance for your inputs.

For illustration purpose, here are two examples of full fledge web applications developed in Lua.

Sputnik, an extensible wiki, is based on the Kepler stack:

http://sputnik.freewisdom.org/
http://www.keplerproject.org/

Nanoki, a simple wiki, uses its own green field web stack implementation:

http://svr225.stepx.com:3388/nanoki
http://dev.alt.textdrive.com/browser/HTTP

Cheers,

PA.