Using PHP and PostgreSQL together
|
|
|
|
| Articles Reviews PHP | |
| Written by JOHN | |
| Sunday, 10 June 2007 | |
|
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, but an increasing number of people rely on PHP.
The last point especially is truly an important one. "Free software is not free beer"?this is what Richard M. Stallman, the father of free software, has to say about open source. Freedom means that nobody can force you to stick to a concept and nobody threatens your personal freedom. If you have no chance to modify your software, your mind is not free and this must be avoided. Especially when porting MySQL applications to other databases, MySQL's incompatibility is a real problem because you might have to rewrite or at least modify major parts of your SQL code. In addition, PostgreSQL provides highly sophisticated features such as inheritance, triggers, and embedded languages. Powered by jReviews |
|
| Last Updated ( Friday, 11 January 2008 ) | |
| < Prev | Next > |
|---|







