Your Ad Here

 Navigation
Home
Source code
Tutorials
RSS feeds
Articles
Wordpress plugins
Books
Sample Chapters
Software
Downloads
Hosting
manuals
Script directory
Training
Our Links




 Sponsors
 Links
domain names
gambling sites
wwwstores
 Downloads
dzphp editor
EasyPHP
mysql_phpgenerator
php-studio-trial
phpdesigner_7_2_5
phpMyAdmin-3.4.3.2
/phptriad2-2-1
phpxedit_321
rapidphp 2011
WampServer2.1d-x64
WampServer2.1e-x32
xampp-win32-1.7.4-VC6-installer
xampplite-win32-1.7.3
 Misc
Webmaster Resources
Only PHP
ScriptSearch.com
Scripts.com - Get the best scripts NOW!
AndreaPHP Programming

Valid XHTML 1.0 Transitional


Valid CSS!


PHP Pear Packages :: Why they are so important to php developers?



PEAR is short for "PHP Extension and Application Repository".
It is a standard and structured library of open-sourced code for PHP users, All PHP code is written in standard style
known as PCS ( PEAR Coding Standards ),it helps in maintaining the collaboration between PEAR developers. It is also helpful in quality and portability management. Using PCS, PEAR contributors can provide consistent and similar coding standard packages.

PEAR is a community-driven project. The project has been founded by Stig S. Bakken in 1999 and quite a lot of people have joined the project since then.

The code in PEAR is partitioned in "packages". Each package is a separate project with its own development team, version number, release cycle, documentation and a defined relation to other packages (including dependencies). Packages are distributed as gzipped tar files with a description file inside, and can be installed on your local system using the PEAR installer.

Nowadays it is included in the standard distribution of the PHP installation and default include_path of php.ini in set to include the files from the folder where php pear packages normally installed.

But why PEAR is so useful? PEAR has more than 330 packages ranging from HTTP authentication to XML web services and complicated math equations for engineering calculations.
Database management can be done using DB packages, and mail can be handled using mail packages.There are packages to create the forms and do their validation automatically. You can also create and validate the CSS and HTML of your code.

There are more than 25 packages categories like Authentication, Benchmarking, Caching,Configuration, Console, Database, Date and Time, Encryption, Event, File Formats, File System, Gtk Components, HTML,HTTP, Images, Internationalization, Logging, Mail, Math, Networking,Numbers, Payment, Processing, Science,Semantic Web, Streams, Structures, System, Text, Validate, Web Services, XML.

Using pear, a less experience person can handle the any major technical requirement in their PHP programs.

But PEAR has one major issue with its documentation. Its documentation is not up to the mark and is probably the weakest part of the project. Most modules have some documentation available in the PEAR Manual but much of this is incomplete and crucially there are no links from the package directory entries to the documentation for each package. It's a major short coming because PEAR has a great deal of excellent code that many developers are completely unaware of. The documentation normally created by PHP Documentator.

Some web sites like http://www.zend.com/pear/tutorials/index.php and http://www.phpkitchen.com/index.php?/archives/668-PEAR-Tutorials.html has some good collection of PEAR tutorials.

You can visit the PEAR homepage at http://pear.php.net


About the Author

Zareef Ahmed is php developer based in india, Delhi. He is doing web development since last five-six years.
He can be contacted at zareef@zareef.net. To know more about him you can visit his home page at http://www.zareef.net

Written by: Zareef Ahmed

 



Here is our complete list of articles


Apache MySQL and PHP for Windows

Apache MySQL PHP for Windows

ASP CGI and PHP Scripts and Record Locking What Every Webmaster Needs To Know

Autoresponders With PHP

Bring Your Web Site to Life With PHP

Clickbank Security Using PHP

Create a Simple Effective PHP Form for Your Web Site

Creating Dynamic Website Content with PHP MySQL

Developing a Login System with PHP and MySQL

Developing State enabled Applications With PHP

For Automated Sites PHP and MySQL are A Perfect Match

Get PHP pages indexed in the Search engines

Getting your Visitors Details Using PHP

How PHP Can Help Save You Time And Mistakes

How to make a simple form mailer with PHP

HTACCESS Wrappers with PHP

Maguma has integrated support for the eBay Acellerator Toolkit for PHP PHP AT in their PHP IDE Maguma Workbench

Make a Search Engine For Your Website With PHP

Mastering Regular Expressions in PHP

More Autoresponders With PHP

MySQL Database Handling in PHP

ONLINE the eBay Accelerator Toolkit for PHP PHP AT for the PHP IDE Maguma Workbench is available

Password Protection and File Inclusion With PHP

Password Protection with PHP MySQL and Session Variables

PHP Account Activation

PHP and Cookies a Good Mix

PHP Auto surf Websites

PHP Databases

PHP Dynamic Content

PHP Email

PHP Encryption

PHP Error Pages

PHP Files

PHP Form Series Part 1 Validators Client side Validation

PHP General Scripting

PHP Image Gallery

PHP in the Command Line

PHP is 10 years old

PHP my favorite Server side Programming Technology

PHP On The Fly

PHP Redirect

PHP Scripts Dont Have to End in PHP

PHP Server to Client with No Refresh

PHP Sessions / Cookies

PHP Templates

PHP User Login Authentication

PIM Team Case Study Creating Text Effects With PHP and GD

Protecting your HTML and PHP Source Code

Quick Intro to PHP Development

Serialize this Saving Objects in PHP

Simple Solution for Php Includes IFrames

Site Personalization With PHP

Some PHP functions you must know

Track Your Visitors Using PHP

Victoryvisions The PHP/Mysql Company Complete website development company



Books
 Sponsors


 Random Code
While loop(beginner)
Directory browser(file system)
open a zip file and display file information(file system)
 Random Article
  Network
Programming resources
Tutorials directory
Hosting resources
ASP site
Domain names
Progged
Maxi directory
bigarticle : free articles
A Code
Code N Tutorials
Get PHP
Programmers help




beginners PHP Copyright © 2004 onwards by beginnersPHP.