www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - DLang FastCGI and Web Programming

reply "netwalker" <netwalkerturkey gmail.com> writes:
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.
Aug 23 2013
next sibling parent reply "Jason den Dulk" <public2 jasondendulk.com> writes:
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.
Aug 24 2013
next sibling parent "Jason den Dulk" <public2 jasondendulk.com> writes:
 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.
Aug 24 2013
prev sibling parent "ilya-stromberg" <ilya-stromberg-2009 yandex.ru> writes:
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.
Aug 25 2013
prev sibling parent "Adam D. Ruppe" <destructionator gmail.com> writes:
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.
Aug 24 2013