PHP
  Home arrow PHP arrow Best PHP Practices
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
PHP

Best PHP Practices
By: James Murray
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 220
    2004-09-20


    Table of Contents:
  • Best PHP Practices
  • It’s like Typing, only with a Pencil
  • What You See is… Well, You Know
  • Get your Hands off MySQL!
  • PHP Time, YAA!
  • Where Do I Start?
  • Loose Ends

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Best PHP Practices
    ( Page 1 of 7 )

    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.

    What's the Big Deal?

    One night while watching my various cartoons on Adult Swim I got a call from a friend begging me to lend him a hand and tell him how I program PHP so fast and accurately. He was rather disappointed when I told him that a book or a website isn’t what made my skills so impressive to him. After I told him what I did, it improved his PHP abilities tenfold. So I thought it would be useful to everyone to know what I consider to be the best practices while developing PHP. There are many PHP editors out there; trust me I’ve used just about all of them, from full blown “what you see is what you get” editors, all the way to those that are a Windows notepad clone. So I plan on filtering out the best from the worst. On top of that I’m going to be telling you all about the best programs for working with HTML and MySQL, and I’m also going to be talking about how to plan your project, where to get started, and where to go from there. I’m also going to try to explain how to document your code, and how to format your code so that you minimize the amount of time you confuse yourself (admit it your own code has confused you before... at least once).



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

       

    PHP ARTICLES

    - Using Directory Iterators to Build Loader Ap...
    - Using the spl_autoload() Functions to Build ...
    - Working Out of the Object Context to Build L...
    - Using the _autoload() Magic Function to Buil...
    - The Destruct Magic Function in PHP 5
    - The Autoload Magic Function in PHP 5
    - Developing a Recursive Loading Class for Loa...
    - The Sleep and Wakeup Magic Functions in PHP 5
    - Using the Clone Magic Function in PHP 5
    - Including Files Recursively with Loader Appl...
    - The Call Magic Function in PHP 5
    - Designing a Captcha System with PHP and MySQL
    - Using Static Methods to Build Loader Apps in...
    - The Isset and Unset Magic Functions in PHP 5
    - Advanced PHP Form Input Validation to Check ...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
    Stay green...Green IT