Accelerate PHP program development with PEAR

zhaozj2021-02-16  96

Develop this article with PEAR accelerated PHP program. This article is reproduced from: http://www.phpe.net/articles/346.shtml

Source: TechRepublic? Timely delivery application is the key to determining what technology adoption, PHP will greatly promote its development process by means of PEAR (PHP Extension and Application Repository: PHP extension and application library). PEAR is a code base that provides a pre-written class for standard program features, which greatly reduces the development time of the application. PEAR is conceptual with Perl's CPAN, PEAR contains a functional function with rich features, including databases, messages, and error handling. In the case of PEAR, developers can deploy and enhance the basic functions of the prepared, and focus on the aspect of the writing program. The PEAR foundation creation PEAR is to provide a standardized approach to developer sharing PHP code and promoting code reuse. The project is always in the process of development, users can submit their own code to join the PEAR library, the latter is bundled with PHP. All PEAR packages are strictly complied with coding rules in consideration of grammar and readability, which consists of PHP or PHP extensions written in C language. Stig Bakken started to develop PEAR projects later in 1999. His purpose is to create an organized code base that plays a repository of the PHP developer community by this code base. The project has grown very quickly in the past two years, and it has already included considerable, very useful scalable code. Although there are many other PHP code libraries, such as Zend's Code Gallery and PHP Builder's Source Code Snippet Library, the PEAR provides a standard for interoperability between a convenient function. In addition, the code submitted to PEAR accepts strict inspections, which guarantee the quality and reliability of the code from this type of standard and inspection.

Useful website

PEAR website PHP.NET Concurrent Version System Zend

?

The available function PEAR is divided into three categories: PEAR core components, PEAR packages, and PECL packages. The core component includes the base class of PEAR and PEAR_ERROR and database, HTTP, logging, and email functions. The PEAR package includes functions that provide authentication, networked and file system characteristics, and tools using XML and HTML templates. The PECL package is an extension of PHP, which is written in C language and does not comply with the coding rules. Currently, all this category is experimentally. For more information on PEAR features, please refer to the PEAR online manual. If you are interested in submitting the code, you can join the PEAR developer mailing list and ask you to check your code to achieve the above purpose. However, you have to note that functions already included in the library and comply with PEAR coding rules.

Where to get PEAR

转载请注明原文地址:https://www.9cbs.com/read-10870.html

New Post(0)