Timely delivery of applications is the key to determining what technology the solution is using, with the help of the pear (PHP Extension and application repository:php extension and application Library), which greatly facilitates its development process. Pear is a code base that provides a predefined class for standard program functionality, which greatly reduces the development time of the application. Pear's conceptually similar to Perl's Cpan,pear contains rich features of functional functions, including databases, mail, and error handling. In the case of pear, developers can deploy and enhance the basic functions that have been written while focusing on writing new features.
Pear Basics
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 being developed, and users can submit their own code for use in the Pear Library, which is bundled with PHP. All pear packages adhere to the coding rules in the context of syntax and readability, which are composed of PHP or PHP extensions written in C language.
Stig Bakken started developing the Pear project 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 other PHP code libraries are quite well-known, such as Zend's Code Gallery and PHP Builder's source code snippet library, and so on, pear provides a convenient standard for interoperability between functions. 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 checks.
Useful Web Sites
Pear Web site
Php.net
Concurrent versions System
Zend
Available Features
Pear is divided into three categories: the Pear core component, the pear package, and the PECL package. Core Component includes the 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, as well as tools that use XML and HTML templates. The PECL package is an extension of PHP that is written in C and does not conform to coding rules. At present, all this kind of code is experimental. To learn more about pear features, please refer to the Pear online manual.
If you are interested in submitting code to pear, you can add the Pear Developer Mailing list and ask you to check your code to achieve the above. However, you should note the functions that are already included in the library and follow Pear's coding rules.
From where to get pear
Pear is bundled in the PHP release package, and when you install PHP, you also have pear installed. If you're going to get a stable version and you can survive without the latest pear version, you can get the latest PHP version from the php.net download page. If you are adventurous and want to use the latest version of pear, you can download it using the CVS client program as instructed by the anonymous CVS access.
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.