16
Jun/094
Jun/094
5 Tips for Writing Cleaner PHP Code
There are many benefits to writing clean code for any project, no matter how small. The most obvious benefit is that it is easier for you to read and edit, especially when you come back after a long break. This is even more important when someone else comes in to modify your code. The importance of clean code becomes most apparent when you need to find an error, especially a syntax error. In the end, cleaner code means less time reading and more time coding!
These are 5 tips that I use and recommend. I know there are plenty of lists like this, but I hope you learn at least one new trick...
Categories
- General (6)
- News (4)
- Projects (10)
- Lock My Stuff (2)
- TempServers (8)
- Software (7)
- Tips & Tutorials (42)
Archives
- [+]2010 (3)
- [+]2009 (46)
- [+]December (5)
- [+]November (3)
- [+]October (2)
- [+]September (4)
- [+]August (4)
- [+]July (4)
- [+]June (6)
- [+]May (4)
- [+]April (4)
- [+]March (4)
- [+]February (2)
- [+]January (4)
- [+]2008 (15)
- [+]December (14)
- AJAX Loading Image Generator
- Reloading Images Using JavaScript
- Creating a CAPTCHA in PHP with GD
- Bypassing Register_Globals in PHP
- Toggle Display of Page Elements with JavaScript
- What is AJAX?
- WordPress 2.7 Released
- LMS New Feature: Email Form
- Strong Passwords
- ISPConfig - Open Source Web Hosting Panel
- Simple PHP Page Template System
- Creating an Upload Progress Bar in PHP with APC
- Introducing LockMyStuff.com
- About This Blog (WordPress)
- [+]November (1)
- [+]December (14)
