Re: [Chicken-users] RFC: web-unity egg
On Mon, Oct 29, 2007 at 05:55:39PM +0900, Daishi Kato wrote: > I see. I didn't realize that part is used. > That said, you are using only a small part of Spiffy, right? Yeah, currently I am. I'm not yet sure on how to proceed from here. The amount of stuff used from Spiffy might grow, or it might not. > I think I should use the Spiffy backend in any case, though. > --daishi Of course, anyone who wants to write an adaptor for a different backend is welcome to do so! Peter -- http://sjamaan.ath.cx -- "The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." -- Donald Knuth pgpFgxlY38T5e.pgp Description: PGP signature ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] RFC: web-unity egg
I see. I didn't realize that part is used. That said, you are using only a small part of Spiffy, right? I think I should use the Spiffy backend in any case, though. --daishi On 10/29/07, Peter Bex <[EMAIL PROTECTED]> wrote: > On Mon, Oct 29, 2007 at 09:04:47AM +0900, Daishi Kato wrote: > > Soulds really cool! > > > > One question is why its backend is spiffy, and not http-server. > > Is it possible to have an additional backend for http-server? > > > > --daishi > > You could certainly write one, but it would be a bit more work because Spiffy > already takes care of tracing a path to the requested script and generates > PATHINFO. It would be wasteful to duplicate that algorithm in web-unity for > Spiffy. > > Cheers, > Peter > -- > http://sjamaan.ath.cx > -- > "The process of preparing programs for a digital computer > is especially attractive, not only because it can be economically > and scientifically rewarding, but also because it can be an aesthetic > experience much like composing poetry or music." > -- Donald Knuth > > ___ > Chicken-users mailing list > Chicken-users@nongnu.org > http://lists.nongnu.org/mailman/listinfo/chicken-users > > > ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] RFC: web-unity egg
On Mon, Oct 29, 2007 at 09:04:47AM +0900, Daishi Kato wrote: > Soulds really cool! > > One question is why its backend is spiffy, and not http-server. > Is it possible to have an additional backend for http-server? > > --daishi You could certainly write one, but it would be a bit more work because Spiffy already takes care of tracing a path to the requested script and generates PATHINFO. It would be wasteful to duplicate that algorithm in web-unity for Spiffy. Cheers, Peter -- http://sjamaan.ath.cx -- "The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." -- Donald Knuth pgpla069QfB9K.pgp Description: PGP signature ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] RFC: web-unity egg
Soulds really cool! One question is why its backend is spiffy, and not http-server. Is it possible to have an additional backend for http-server? --daishi On 10/27/07, Peter Bex <[EMAIL PROTECTED]> wrote: > Hi all, > > I just made a new egg called "web-unity". Its purpose is pretty simple: > it allows you to create web applications which can run via CGI, SCGI, FCGI > or Spiffy without having to change the code. All that's needed is a > server-specific dispatcher procedure which hands off the request to a > generic procedure that does the work. > > Have a look at its wiki page and try out the egg (available through svn > only right now), let me know where it can be improved. > > Cheers, > Peter > -- > http://sjamaan.ath.cx > -- > "The process of preparing programs for a digital computer > is especially attractive, not only because it can be economically > and scientifically rewarding, but also because it can be an aesthetic > experience much like composing poetry or music." > -- Donald Knuth > > ___ > Chicken-users mailing list > Chicken-users@nongnu.org > http://lists.nongnu.org/mailman/listinfo/chicken-users > > > ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] RFC: web-unity egg
Hi all, I just made a new egg called "web-unity". Its purpose is pretty simple: it allows you to create web applications which can run via CGI, SCGI, FCGI or Spiffy without having to change the code. All that's needed is a server-specific dispatcher procedure which hands off the request to a generic procedure that does the work. Have a look at its wiki page and try out the egg (available through svn only right now), let me know where it can be improved. Cheers, Peter -- http://sjamaan.ath.cx -- "The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." -- Donald Knuth pgpYGXWscFWCU.pgp Description: PGP signature ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users