.
Developer Spot - Web Development Tutorials
 


Web Hosting Directory
Budget Web Hosting Linux Web Hosting Small Business Hosting
Windows Web Hosting Reseller Web Hosting Web Hosting Articles

Develop Rock-Solid Code In PHP: Lay The Foundation, Part 1

By Amol Hatwar
2004-01-21
Reader Rating: 4 out of 5
Bookmark Print Version
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.



Article Pages:
From 20,000 feet
Lay a rock-solid foundation
Design it right
Write rock-solid code
Secure your code
Keep it simple
Make it platform-independent
Build for speed
Summary
Resources

First published by IBM developerWorks


 Rate this article:   Poor          Excellent 


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



 
Development Tutorials
ASP
CGI & Perl
CSS
HTML
Java
JavaScript
Linux
PHP
XML




More Resources
Web Hosting Articles
Development Tutorials: CGI & Perl - CSS - HTML - Java - JavaScript - Linux - PHP - XML