Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
August 23, 2013 DLang FastCGI and Web Programming | ||||
---|---|---|---|---|
| ||||
How do you d want to use fastcgi with the easiest and simplest way https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff Do not offer me an example of this link with friends on the causes of and cumbersome multi-stack library is a library to communicate with fastcgi How can I do with a simpler version would appreciate if you can help. vibe.d you propose, but do not use it in. |
August 24, 2013 Re: DLang FastCGI and Web Programming | ||||
---|---|---|---|---|
| ||||
Posted in reply to netwalker | On Friday, 23 August 2013 at 15:07:06 UTC, netwalker wrote: > How do you d want to use fastcgi with the easiest and simplest way You may want to consider something I have written. It is a fairly thin wrapper around fcgiapp to provide a more D friendly interface. It provides an input range to access the input stream, output ranges to access the output/error streams, and converts the environment variables to a string[string] array. It loops through the requests, creating a new thread for each one, which passes the request to a function that you provide. And that's it. It has not been completely put through the wringer, so consider it beta, but I have successfuly used it. You can get it at http://jaypha.com.au/fcgi.zip I don't have a github account as yet, but I will get one if people like my code enough. |
August 24, 2013 Re: DLang FastCGI and Web Programming | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jason den Dulk | > > http://jaypha.com.au/fcgi.zip > Of course you will need to have the Open Market fcgi library and link to it. It is available here http://www.fastcgi.com/dist/fcgi.tar.gz or in most Linux repositories. |
August 24, 2013 Re: DLang FastCGI and Web Programming | ||||
---|---|---|---|---|
| ||||
Posted in reply to netwalker | On Friday, 23 August 2013 at 15:07:06 UTC, netwalker wrote:
> cumbersome multi-stack library is a library to communicate with fastcgi
As far as I know, there are no D fastcgi libraries that don't use the C fcgilib.
There are standalone D libraries for scgi and http though.
|
August 25, 2013 Re: DLang FastCGI and Web Programming | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jason den Dulk | On Saturday, 24 August 2013 at 10:24:33 UTC, Jason den Dulk wrote:
> You can get it at
>
> http://jaypha.com.au/fcgi.zip
>
> I don't have a github account as yet, but I will get one if people like my code enough.
Please, put the code to github. It's easy.
|
Copyright © 1999-2021 by the D Language Foundation