1.1. Why Use PHP and PostgreSQL as a Team?

At the beginning of the Internet age, many Web sites were based on Perl applications, which were using the CGI interface. With the help of the CGI interface, it is possible to use every programming language for generating HTML code on-the-fly. The programming language Perl is optimized for building text processors, so it is a great tool for building Web sites. HTML code is based on text, so dynamic pages can easily be generated. However, Perl was not designed to be a Web language. Especially when running Perl, using the CGI interface is very common. Other programming languages such as PHP can have several advantages over Perl because PHP has been optimized for the Web. Of course, you can use mod_perl ...

Get PHP and PostgreSQL: Advanced Web Programming 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.