Reader small image

You're reading from  The PEAR Installer Manifesto

Product typeBook
Published inOct 2006
Reading LevelBeginner
PublisherPackt
ISBN-139781904811190
Edition1st Edition
Languages
Right arrow
Author (1)
Gregory Beaver
Gregory Beaver
author image
Gregory Beaver

Gregory Beaver has been one of the most active contributors to open-source PHP development since 2001. As the primary developer of important infrastructure software such as phpDocumentor, the PEAR installer, PHP_Archive, PHP_LexerGenerator, and PHP_ParserGenerator as well as co-lead of the Phar PHP extension, Gregory has helped to ease the development needs of PHP developers around the world. After he transformed phpDocumentor from a small project into the most advanced auto-documentation tools for PHP, phpDocumentor was voted second best PHP tool in Germany-based PHP Magazin's 2003 Reader's Choice awards list for best PHP application, and voted third best PEAR package (http://tinyurl.com/bn7pb). Currently, he is working to refactor the PEAR installer for PHP 6, as well as helping to lead the PEAR community forward. Gregory blogs about his programming escapades and other news on his blog, Lot 49 (http://greg.chiaraquartet.net). Gregory also leads a mysterious double life as the cellist of the internationally renowned Chiara String Quartet (http://www.chiaraquartet.net) with whom he tours the world. He lives in Lincoln, Nebraska where he is a full-time lecturer/artist-in-residence at the University of Nebraska-Lincoln Hixson-Lied College of Fine Arts.
Read more about Gregory Beaver

Right arrow

Other Plug-In Systems


Before diving in, let's take a look at other possibilities for bundling plug-ins. There are three models currently employed by major PHP applications:

  • Bundling plug-ins directly in the source code

  • Using PEAR dependencies for subpackages

  • Customized remote plug-in servers

Bundling Plug-Ins Directly in the Source Code

By far, the most common solution employed in the PHP world is bundling plug-ins directly in the source code. This method, as explored in previous chapters results in code that can be simpler to create, but is far more difficult to maintain, and particularly to upgrade, often resulting in out-of-date code. As recent security vulnerabilities in popular programs demonstrate, keeping code up-to-date and bug-free is not just important for minor annoyances; it can make the difference between a secure and an insecure application.

Although it is the most common choice, bundling plug-ins directly in the source code is just not a very flexible idea, and so we won't explore...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
The PEAR Installer Manifesto
Published in: Oct 2006Publisher: PacktISBN-13: 9781904811190

Author (1)

author image
Gregory Beaver

Gregory Beaver has been one of the most active contributors to open-source PHP development since 2001. As the primary developer of important infrastructure software such as phpDocumentor, the PEAR installer, PHP_Archive, PHP_LexerGenerator, and PHP_ParserGenerator as well as co-lead of the Phar PHP extension, Gregory has helped to ease the development needs of PHP developers around the world. After he transformed phpDocumentor from a small project into the most advanced auto-documentation tools for PHP, phpDocumentor was voted second best PHP tool in Germany-based PHP Magazin's 2003 Reader's Choice awards list for best PHP application, and voted third best PEAR package (http://tinyurl.com/bn7pb). Currently, he is working to refactor the PEAR installer for PHP 6, as well as helping to lead the PEAR community forward. Gregory blogs about his programming escapades and other news on his blog, Lot 49 (http://greg.chiaraquartet.net). Gregory also leads a mysterious double life as the cellist of the internationally renowned Chiara String Quartet (http://www.chiaraquartet.net) with whom he tours the world. He lives in Lincoln, Nebraska where he is a full-time lecturer/artist-in-residence at the University of Nebraska-Lincoln Hixson-Lied College of Fine Arts.
Read more about Gregory Beaver