Home arrow PHP arrow Page 7 - Best PHP Practices

Loose Ends - PHP

One of the things I hear from people and my friends is questions about the best way to work with PHP. They always want to know how to get started on a project, what software to use, how to plan it successfully, and so on. In this article I plan on revealing the “magical secrets” about how I do my PHP programming so quickly with so few bugs.

TABLE OF CONTENTS:
  1. Best PHP Practices
  2. It’s like Typing, only with a Pencil
  3. What You See is… Well, You Know
  4. Get your Hands off MySQL!
  5. PHP Time, YAA!
  6. Where Do I Start?
  7. Loose Ends
By: James Murray
Rating: starstarstarstarstar / 225
September 20, 2004

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

No matter what level of programmer you are, a newbie just starting, or a war-battered veteran of php3, the most useful thing you can have at your side is a downloaded copy of the PHP documentation. I keep it on my quicklauch bar, if that means anything about how useful it is. No joke, it’s right there with my browser, and that’s all that’s on there. I’ll show you a screenshot if you don’t believe me. Even though I’ve been programming PHP for about five or six years now, I don’t know how I’d get by without my trusty CHM PHP manual.

And last but not least. Bigger isn’t always better. Stick close to what you planned on making. Don’t go overboard with useless features that usually slow down parse time and development time for something that one percent of your users will use. Get your project done and working then implement those things later. After all, nothing really shows what is needed in a project than the use of it.

And always remember, when a person tells you there’s a bug in your script, happily inform them that “my code doesn’t contain bugs, it just randomly generates new features” then quickly fix the problem before they go back to see if it actually is some kind of odd feature. Good luck, and please, never use Microsoft Word to generate HTML.



 
 
>>> More PHP Articles          >>> More By James Murray
 

blog comments powered by Disqus
   

PHP ARTICLES

- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...
- PHP: Building Concrete Validators
- Sanitizing Input with PHP
- Executing Shell Commands with PHP
- Handling File Data with PHP
- File Security and Resources with PHP
- ArrayObject PHP Class Examples
- ArrayObject PHP Class: An Introduction
- Getting File System Data with PHP
- PHP Tools for Working with the File and Oper...
- Working with the File and Operating System w...
- PHP Proxy Patterns: Completing a Blog


© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 3 - Follow our Sitemap

Dev Shed Tutorial Topics: