mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
c7c5d7689d
Reasons: - 7 parameters for a method with lots of pass by reference implies the need to save state, i.e. use an object - cleaner code. download() can be easily split into 4 separate but related methods - Installer.php is now exclusively used for installation - future extensibility: switching to channels or local package repositories from using PEAR_Remote is easy. Simply extend the API for PEAR_Downloader: no changes needed to the installer at all to install for testing purposes, use pear upgrade --force package-PEAR-new-Downloader.xml to uninstall, use pear upgrade --force package-PEAR.xml |
||
---|---|---|
.. | ||
Archive | ||
Console | ||
docs | ||
OS | ||
packages | ||
PEAR | ||
scripts | ||
tests | ||
catalog | ||
CMD.php | ||
CODING_STANDARDS | ||
install-pear.php | ||
install-pear.txt | ||
Makefile.frag | ||
package-Archive_Tar.xml | ||
package-Console_Getopt.xml | ||
package-PEAR-new-Downloader.xml | ||
package-PEAR.xml | ||
package.dtd | ||
PEAR.php | ||
README | ||
System.php | ||
template.spec |
PEAR - PHP Extension and Application Repository =============================================== Dedicated to Malin Bakken, born 1999-11-21 WHAT IS PEAR? PEAR is a code repository for PHP extensions and PHP library code similar to TeX's CTAN and Perl's CPAN. The intention behind PEAR is to provide a means for library code authors to organize their code in a defined way shared by other developers, and to give the PHP community a single source for such code. DOCUMENTATION Documentation for PEAR can be found at http://pear.php.net/manual/.