_php Tutorial for accelerating PHP program development with Pear

Source: Internet
Author: User
Tags pear online
Timely delivery of applications is key to determining what technology the solution uses, with PHP pear (php Extension and application repository:php extensions and application libraries) that greatly facilitates its development process. Pear is a code base that provides pre-written classes for standard program functions, greatly reducing application development time. Pear is conceptually similar to Perl's cpan,pear contains rich feature functions, including database, mail and error handling. In the case of pear, developers can deploy and enhance the basic functions that have been written and focus on the new functions of writing programs.
Pear Foundation
The purpose of creating pear is to provide a standardized way for developers to share PHP code and facilitate the reuse of code. The project is always in the process of development, and users can submit their own code for use in the Pear Library, which is bundled with PHP. All pear packages strictly adhere to the coding rules in the context of syntax and readability, which consists of PHP or PHP extensions written in C.
Stig Bakken began developing pear projects later in 1999. His goal is to create an organized code base that acts as a repository for the PHP developer community. The project has grown very fast over the past two years and now contains quite a lot of useful reusable code. Although there are many other PHP code libraries, such as the Zend Codes Gallery and PHP Builder's source code Snippet library and so on are very famous, but, pear provides a convenient function between the interoperability standards. In addition, the code submitted to pear is subject to rigorous scrutiny, which guarantees the quality and reliability of the code, by such standards and inspection measures.
Useful Websites
Pear website
Php.net
Concurrent Versions System
Zend
Available Features
Pear is divided into three categories: pear core components, pear packages, and pecl packages. Core Component includes base classes for pear and pear_error, as well as databases, HTTP, logging, and e-mail functions. The pear package includes functions that provide authentication, networking and file system features, and tools that use XML and HTML templates. The PECL package is an extension to PHP that is written in C and does not follow the coding rules. At the moment, all of this code is experimental. To learn more about the Pear feature, please refer to the Pear online manual.
If you are interested in submitting your code to pear, you can join the Pear Developer Mailing list and ask you to check your code for this purpose. However, you have to notice the functions that are already included in the library and follow the coding rules of pear.
Where to get the pear
Pear bundled in the PHP release package, and when you install PHP, you also install the pear. If you are going to get a stable version and you can live without the latest pear version, you can get the latest PHP version from the php.net download page. If you love adventures and want to use the latest version of Pear, you can follow the instructions for anonymous CVS access to download it with the CVS client program.

http://www.bkjia.com/PHPjc/445146.html www.bkjia.com true http://www.bkjia.com/PHPjc/445146.html techarticle timely delivery of applications is key to determining what technology the solution uses, and PHP with Pear (php Extension and application repository:php extensions and application libraries) will greatly facilitate its ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.