Translate Page To German Tranlate Page To Spanish Translate Page To French Translate Page To Italian Translate Page To Japanese Translate Page To Korean Translate Page To Portuguese Translate Page To Chinese
  Number Times Read : 48    Word Count: 582  
Stats
Total Articles: 25973
Total Authors: 6057
Total Downloads: 1538075


Newest Member
Lawrence Thompson

 
You are at : Home | Coding Sites   |   PHP


   

Boost PHP Application Development with PEAR – Not the Fruit



[Valid RSS feed]  Category Rss Feed - http://www.articlelog.com/rss.php?rss=57
By : martina thora    29 or more times read
Submitted 2010-10-14 01:24:25
Please do not misunderstand PEAR to be the fruit with green skin and white pulp. Yes, you can eat it while working on any PHP application development project and boost your application development if you really get some energy from it. However here we are referring to PEAR as a code library which can be used by PHP developers to fasten the process of PHP application development.

Efficacious PHP application development is PHP developer’s race against time and he/she uses different tools and techniques to speed up the development. PEAR stands for PHP Extension and Application Repository (PEAR), an intelligent person can easily guess what it is from its full form. You guessed it correct it is a repository or a warehouse where a PHP developer can find various PHP development extensions and applications.

It is based on a concept very much similar to Perl’s CPAN and includes pre written classes related to almost all standard functions which can be performed using the platform. It also includes functionality for different features like error handling, mail and database. Pre written basic functionalities in PEAR help developers to focus more on writing new functionalities.

Basics of PEAR for PHP application development:
PEAR developers had two main mottos in mind 1) allow developers to share PHP code and 2) promote use of reusable code when they thought of the pulpit. It is an ongoing development project and so allows any PHP developer to submit their codes for inclusion into the library bundled with PHP. To ensure their code is accepted PHP developers should adhere to the coding guidelines related to readability and syntax conventions as well as consist of PHP extensions written in C.

Functions Available for PHP application development
Three main components of PEAR are PEAR Packages, PEAR Core Components and PECL Packages. All these include PEAR_Error, logging, classes of PEAR along with database, e-mailing functions and HTTP. Functionality for networking, authentication and file system features can be found in PEAR packages. It also provides tool for working with HTML and XML templates. Extensions to PHP which are written in C but are not as per the coding guidelines are included in PECL packages.

Where to find and How to Use PEAR
Since PEAR is bundled with PHP distribution it automatically installs when PHP is installed for PHP application development. Latest version of PEAR can be downloaded with a CVS client. Developers can simply use the require_once() to call for the required functions as a PHP developer would be doing when calling any class written by you. After this you need to set expected variables $headers, $recipients and $body which are mandatory to perform $params and all other PEAR Mail functions.

Why Go for PEAR for PHP application development?
There are many reasons why one should use PHP for PHP application development. One of the most important features of PEAR is that it is easy to deploy and requires no additional programming. While deploying PHP application without additional coding is possible using PHP’s native functionality PEAR enables immediate error checking and improved portability.

Another advantage of PEAR for PHP application development is that it considerably reduces the time required for application enhancement. Obviously because it includes pre written codes which can be called for anytime when required.
Author Resource:- eTatvasoft has a quick turn over time for any PHP application development project as it uses latest PHP development technologies like PEAR to fasten the process.
Article From Article Log - Free Articles for Blogs

Related Articles

HTML Ready Article. Click on the "Copy" button to copy into your clipboard.




Firefox users please select/copy/paste as usual
Rate This Article
Vote to see the results!

Do you like this article?
  • Yes.
  • Not Sure.
  • No.
New Members
select
Sign up
select
learn more
 
Nav Menu
Home
Login
Submit Articles
Submission Guidelines
Top Articles
Link Directory
About Us
Contact Us
Privacy Policy
RSS Feeds

Actions
Print This Article
Add To Favorites


Copyright : ArticleLog.com All Rights Reserved