Re: The good old CGI

2020-02-17 Thread bachmeier via Digitalmars-d-announce

On Saturday, 15 February 2020 at 22:06:42 UTC, Tier wrote:

P.S. I know you made an scgi client. Do you plan on making a 
fcgi one too?


Check out Adam Ruppe's cgi.d:
https://arsd-official.dpldocs.info/arsd.cgi.html


Re: The good old CGI

2020-02-17 Thread Andrea Fontana via Digitalmars-d-announce

On Saturday, 15 February 2020 at 22:06:42 UTC, Tier wrote:
It might not change the world, but I'm going to try it 
regardless. So thank you!


You're welcome :)

P.S. I know you made an scgi client. Do you plan on making a 
fcgi one too?


I don't like fastcgi protocol that much. I think scgi is 
equivalent but it is much easier to parse :)


Andrea




Re: The good old CGI

2020-02-15 Thread Tier via Digitalmars-d-announce

On Friday, 14 February 2020 at 15:04:41 UTC, Andrea Fontana wrote:
I've just released [1] a simple single-file-library you can use 
to build cgi-enabled app with d.


Not a big innovation, so I don't expect a lot of interest about 
it.
Anyway it's small and light, so it's a fast (not so efficient) 
way to run web-based scripts.


Check the basic example [2] and the docs [3].

Andrea Fontana

[1] https://code.dlang.org/packages/dcgi
[2] https://github.com/2night/dcgi
[3] https://dcgi.dpldocs.info/dcgi.html
It might not change the world, but I'm going to try it 
regardless. So thank you!


P.S. I know you made an scgi client. Do you plan on making a fcgi 
one too?