Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CGI programming in D

Tags:

cgi

d

I am interested learning more about the D programming programming language, and especially using it for CGI programs. I have had a look at the standard libraries (Phobos) and did not see any support for CGI. Does anyone know of any good examples of CGI programs written in D?

like image 723
John Jeffery Avatar asked Mar 13 '12 08:03

John Jeffery


People also ask

What is CGI in programming?

CGI stands for Common Gateway Interface and provides an interface between the HTTP server and programs generating web content. These programs are better known as CGI scripts. They are written in a scripting language.

What is CGI programming in Java?

The Common Gateway Interface (CGI) is a standard for writing programs that can interact through a Web server with a client running a Web browser. These programs allow a Web developer to deliver dynamic information (usually in the form of HTML) via the browser.

What is CGI in C?

In computing, Common Gateway Interface (CGI) is an interface specification that enables web servers to execute an external program, typically to process user requests. Such programs are often written in a scripting language and are commonly referred to as CGI scripts, but they may include compiled programs.

What is CGI directory?

A CGI-bin is a folder used to house scripts that will interact with a Web browser to provide functionality for a Web page or website. Common Gateway Interface (CGI) is a resource for accommodating the use of scripts in Web design.


2 Answers

Adam Ruppe's library is probably the most complete CGI D solution at the moment:

https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff

like image 146
Vladimir Panteleev Avatar answered Sep 22 '22 05:09

Vladimir Panteleev


Here is a cgi library for D I have written as a support library for a larger project. MIT licensed, free to use however you want.

https://github.com/josephRice/cgi_d

like image 28
Joseph M. Rice Avatar answered Sep 22 '22 05:09

Joseph M. Rice