19.1. CGI Programming with Ruby

Anyone familiar with web programming has at least heard of CGI (“Common Gateway Interface”). CGI was created in the early days of the Web to enable programmatically implemented sites and to allow for more interaction between the end user and the web server. Although countless replacement technologies have been introduced since its inception, CGI is still alive and well in the world of web programming. Much of CGI’s success and longevity can be attributed to its simplicity. Because of this simplicity, it is easy to implement CGI programs in any language. The CGI standard specifies how a web server process will pass data between itself and its children. Most of this interaction occurs through standard environment ...

Get The Ruby Way: Solutions and Techniques in Ruby Programming, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.