Develop Rock-Solid Code In PHP: Lay The Foundation, Part 1
By Amol Hatwar
From 20,000 feet
If you are a developer building Web applications and need speed, functionality, and platform-independence, then PHP is for you. Moreover it is free, easy to learn and deploy. These are the greatest strengths that makes PHP so popular. But these same strengths can also become weaknesses. Because of PHP's ease-of-use, developers often start by hammering code into their editors when they should have really been planning and designing. Also, you can solve a problem in more than one way in PHP and the dangers of making painful mistakes that become difficult to fix later are never far away.
In this series of articles, you will learn how to avoid many mistakes. If you follow through faithfully, do not be surprised to find yourself writing bug-free code at the first or second attempt. I will also point out new features available in PHP 4 that make life easier. Most of the examples that I will cover deal with practical, real-life problems like script configuration and setup, file handling, and database usage. Even if you are new to all this, you should find it easy to follow. However, I will assume that you know elementary PHP. If you need to brush up, you will find the resources outlined at the end of this article helpful.
First published by IBM developerWorks
If you found this article interesting, you may want to read these as well:
» Protecting your PHP and HTML Source Code
» Publishing Newsletters Using PHP & MySQL - 4
» Publishing Newsletters Using PHP & MySQL - 3
» Publishing Newsletter Using PHP & MySQL - 2
» Publishing Newsletters Using PHP & MySQL
» Unix Webserver Crontab Basics