www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - The good old CGI

reply Andrea Fontana <nospam example.com> writes:
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
Feb 14 2020
parent reply Tier <sfluno oiawun74t.adflkaj> writes:
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?
Feb 15 2020
next sibling parent Andrea Fontana <nospam example.com> writes:
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
Feb 17 2020
prev sibling parent bachmeier <no spam.net> writes:
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
Feb 17 2020