[Sputnik-list] Versium, which repo?

Andre Carregal carregal at fabricadigital.com.br
Wed Jan 2 15:59:40 GMT+2 2008


On Dec 30, 2007 3:41 PM, Yuri Takhteyev <yuri at sims.berkeley.edu> wrote:
> I am thus not the best person to answer the question of advantages of
> WSAPI over SAPI.  The reason I am myself eager to move to WSAPI mostly
> has to do with the fact that it allows to use CGI the "normal" way.

Basically WSAPI offers you full control over the HTTP response, while
SAPI did not. Other than that, WSAPI has an application model where a
function is supposed to return a set of features. SAPI only offered an
API that could be used by applications.

> I don't know if WSAPI can be used without Rings.  I hope so.

It sure can, Rings is just a way to create separate Lua states for
each request. To use it there is a built in WSAPI application called
wsapi.ringer that can be used as a wrapper for your own application.

André



More information about the Sputnik-list mailing list