Programming Basics
  Home arrow Programming Basics arrow Page 8 - Coding
Codewalker Forums 
  Tutorials  
Database Articles  
Miscellaneous  
Navigation Usability  
PEAR Articles  
Programming Basics  
Server Administration  
XML Tutorials  
  Reviews  
Database Book Reviews  
Linux Book Reviews  
Miscellaneous Reviews  
PHP Book Reviews  
PHP Software Reviews  
Server Admin Reviews  
SQL Tool Reviews  
  Code Gallery  
Content Management Code  
Contest Code  
Counters Code  
Database Code  
Date Time Code  
Discussion Board Code  
Email Code  
File Manipulation Code  
GUI Code  
Link Farm Code  
Miscellaneous Code  
Search Code  
Site Navigation Code  
User Management Code  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Download TestComplete 
Forums Sitemap 
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? 
PROGRAMMING BASICS

Coding
By: lig
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 8
    2006-01-17

    Table of Contents:
  • Coding
  • Thinking before Coding
  • Commenting
  • Coding Style
  • Error Reporting
  • Error Handling
  • Security
  • Reinventing the Wheel
  • Advanced
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb 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


    Coding - Reinventing the Wheel


    (Page 8 of 10 )

    PHP has a number of places you can look to see if what you need is already made. That can save you time and effort--even with you hacking on it to customize it to your needs. Database abstraction classes, PHP extensions, templates, content management systems and frameworks are just some of the wheels already created. Why reinvent the wheel when you don't have to?

    PEAR and PECL

    PEAR (PHP Extension and Application Repository) and PECL (PHP Extension Community Library) are PHP sanctioned repositories. PEAR is for PHP classes you include in your scripts to get added functionality. A few commonly used PEAR classes are PEAR::DB and PEAR::MailMime. PECL is for PHP extensions written in C that you build into your PHP interpreter to give you "more functions" to use in your code. PECL extensions sometimes make it into the PHP core libraries. A few commonly used PECL extensions are APC (Alternative PHP Cache) and pdflib.

    sourceforge or freshmeat

    Sourceforge.net and freshmeat.net are two repositories for open source projects. Each has thousands of projects available covering numerous categories in various states of maturity. What you want/need may already be available. The two large and commonly used projects phpMyAdmin and Gallery are available through sourceforge and freshmeat.

    Google is your friend

    And when in doubt, Google is your friend. Many projects and scripts have their own sites or are available through the many PHP developer sites and can only found if you search for them through a search engine. Tutorials, code snippets, people's personal classes, frameworks-- to name a few things-- are best found through your preferred search engine.

    More Programming Basics Articles
    More By lig


       · The link to Chris Shiflett's blog is broken.The blog can be found at...
       · Be careful when you log stuff to rotate the logfile, otherwise it'll fill up and...
       · Sorry about that.
       · Thanks very much for taking the time to write this. Although most was over my head,...
       · That was pretty convincing Gospel. I hope this stuff is gonna work for...
     

    PROGRAMMING BASICS ARTICLES

    - PHP: Hypertext Preprocessor: What is it?
    - Loops and PHP Decision Making
    - Operators, Conditionals, and PHP Decision-Ma...
    - PHP Decision-Making
    - Coding
    - Server Statistics
    - Looping in PHP
    - Cookies in PHP
    - Working with text files
    - Beginning Object Oriented Programming in PHP
    - A Tour of Decision Making Structures in PHP
    - PHP Strings Primer
    - PHP Control Structures
    - Intro to Vim
    - Reading Directorys with PHP





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek