Building practical PHP apps

You want to build a PHP application attached to a PostgreSQL backend but you are concerned with maintainability and security.

Solution

The following comments are based upon my experiences in using PHP with database backends. I didn't build slashdot or sourceforge, so if you have feel free to ignore this.

If you've been building large systems in C for the past ten years you'll recognise the points above as standard good practice for project development. If you're just starting out building interactive websites with PHP and PostgreSQL try and be as disciplined as you can - PHP makes it easy to hack together a solution in an afternoon, but that doesn't pay off in the long run.