The PEAR Installer Manifesto
暫譯: PEAR 安裝器宣言
Gregory Beaver
- 出版商: Packt Publishing
- 出版日期: 2006-10-24
- 售價: $2,000
- 貴賓價: 9.5 折 $1,900
- 語言: 英文
- 頁數: 296
- 裝訂: Paperback
- ISBN: 1904811191
- ISBN-13: 9781904811190
已過版
買這商品的人也買了...
-
$880$695 -
$620$490 -
$2,030$1,929 -
$680$537 -
$880$695 -
$480$379 -
$1,880$1,786 -
$620$409 -
$520$411 -
$450$356 -
$360$284 -
$680$537 -
$380$300 -
$280$218 -
$250解讀 NoSQL
-
$480$379 -
$580$493 -
$580$458 -
$560$437 -
$699$552 -
$650$507 -
$520$343 -
$400$200 -
$350$298 -
$350$298
相關主題
商品描述
Description
PEAR stands for PHP Extension and Application Repository, and its primary purpose is to support code re-use. PEAR provides both an advanced installer and a code repository at http://pear.php.net. PEAR code is organized into discrete re-usable components called packages. A package consists of a group of files and a descriptor file called package.xml that contains metadata about the package's contents, such as the package version, any special dependencies, and textual information such as the package description and authors.
The software that transforms a package from an inert grouping of files into a dynamic software package is called the PEAR Installer and is itself a PEAR package. In other words, the PEAR Installer can be used to upgrade itself. It truly is a very powerful application.
In short, the PEAR Installer is one of the most effective tools for managing a high-quality software library, high-quality applications, or high-quality websites.
This book will show you a new way of organizing your PHP development, by leveraging the full power of the PEAR Installer. In a sense, the PEAR Installer is a step above a software design pattern, a meta-development pattern that can be used to systematically organize all of your PHP development.
You will learn how to organize your code into packages using the package.xml format. You will learn about the revolutionary new PEAR Channel concept, and how to safely and reliably depend on external PHP libraries from sources such as pear.php.net and other PEAR channels. You will learn about the PEAR_PackageFileManager package, and how to customize individual installations of your PHP code through file roles, file tasks, and post-installation scripts.
In addition, you will learn how to use the power of PEAR to manage your web projects with the PEAR installer to bring the power of versioning and rollbacks to your live website. The synergy of the PEAR Installer and a revision control system like CVS or Subversion is also explored in depth.
Next, you will learn how to set up your own PEAR Channel for distributing PHP applications, both open-source and proprietary closed-source PHP applications that can be secured using technology already built into the PEAR Installer.
Finally, you will learn how to embed the PEAR Installer inside your own web application in order to manage plug-ins from a remote server. The book covers in detail designing a custom plug-in system for a fictitious blog application. The plug-in system is used to manage templates, and the PEAR Installer is used to manage the details of querying the remote server for templates, handling dependencies between versioning, and doing the actual installation process as well.
商品描述(中文翻譯)
**描述**
PEAR 代表 PHP 擴展和應用程式庫,其主要目的是支持代碼重用。PEAR 提供了一個先進的安裝程式和一個代碼庫,網址為 http://pear.php.net。PEAR 代碼被組織成稱為包(packages)的離散可重用組件。包由一組文件和一個名為 package.xml 的描述文件組成,該文件包含有關包內容的元數據,例如包版本、任何特殊依賴關係,以及文本信息,如包描述和作者。
將包從靜態文件組合轉換為動態軟體包的軟體稱為 PEAR 安裝程式,這本身也是一個 PEAR 包。換句話說,PEAR 安裝程式可以用來升級自身。它確實是一個非常強大的應用程式。
簡而言之,PEAR 安裝程式是管理高品質軟體庫、高品質應用程式或高品質網站的最有效工具之一。
本書將向您展示一種新的 PHP 開發組織方式,充分利用 PEAR 安裝程式的全部功能。在某種意義上,PEAR 安裝程式是一種高於軟體設計模式的元開發模式,可以用來系統性地組織您的所有 PHP 開發。
您將學習如何使用 package.xml 格式將代碼組織成包。您將了解革命性的 PEAR Channel 概念,以及如何安全可靠地依賴來自 pear.php.net 和其他 PEAR 通道的外部 PHP 庫。您將學習 PEAR_PackageFileManager 包,以及如何通過文件角色、文件任務和安裝後腳本自定義 PHP 代碼的個別安裝。
此外,您將學習如何利用 PEAR 的力量,使用 PEAR 安裝程式管理您的網頁專案,將版本控制和回滾的功能帶入您的實時網站。PEAR 安裝程式與版本控制系統(如 CVS 或 Subversion)的協同效應也將深入探討。
接下來,您將學習如何設置自己的 PEAR Channel,以分發 PHP 應用程式,包括開源和專有的封閉源 PHP 應用程式,這些應用程式可以使用 PEAR 安裝程式中已內建的技術進行安全保護。
最後,您將學習如何將 PEAR 安裝程式嵌入到自己的網頁應用程式中,以便從遠端伺服器管理插件。本書詳細介紹了為虛構的博客應用程式設計自定義插件系統。該插件系統用於管理模板,而 PEAR 安裝程式則用於管理查詢遠端伺服器以獲取模板的細節、處理版本之間的依賴關係,以及執行實際的安裝過程。