Essential PHP Tools: Modules, Extensions, and Accelerators

David Sklar

  • 出版商: Apress
  • 出版日期: 2004-03-11
  • 售價: $1,320
  • 貴賓價: 9.5$1,254
  • 語言: 英文
  • 頁數: 368
  • 裝訂: Paperback
  • ISBN: 1590592808
  • ISBN-13: 9781590592809
  • 相關分類: PHP
  • 海外代購書籍(需單獨結帳)



This book is an essential guide to some of the best free add-ons to PHP. These add-ons, or tools, provide invaluable functionality for improving your PHP Web applications, including accessing databases, generating robust Web forms, using page templating systems, creating and parsing XML documents, authenticating users, and much more.

In response to the existing shortage of documentation about the tools, Sklar packs this book with details about installing, configuring, and using each tool—along with plenty of examples tailored to PHP 4 and 5.

Sklar also lays out the details of Auth and HTML_QuickForm—two hard working PEAR modules—so you don’t have to code your own authentication system or Web form construction set! Also included are chapters on debugging programs, and increasing Web server speed. In short, you will learn to eliminate inefficiencies in PHP, and enhance performance without any code modification.

Table of contents:

Part One Databases
Chapter 1 Accessing Databases with DB
Chapter 2 Accessing Databases with ADODB
Part Two HTML
Chapter 3 Using HTML_QuickForm for Form Processing
Chapter 4 Templating with Smarty
Part Three XML
Chapter 5 Performing Event-Based XML Parsing with XML Parser
Chapter 6 Developing Lightweight Web Services with XML_RPC
Chapter 7 Developing Heavyweight Web Services with SOAP
Chapter 8 Performing Easier XML Parsing with SimpleXML
Part Four Networking
Chapter 9 Sending Mail
Chapter 10 Working with Authentication, Users, and Passwords
Part Five Debugging, Caching, and Optimizing
Chapter 11 Understanding PHP Internals
Chapter 12 Profiling and Debugging with Xdebug
Chapter 13 Accelerating with Code Caches



為了解決現有工具文檔的不足,Sklar在本書中詳細介紹了每個工具的安裝、配置和使用方法,並提供了許多針對PHP 4和5的示例。


第1章 使用DB訪問數據庫
第2章 使用ADODB訪問數據庫
第3章 使用HTML_QuickForm進行表單處理
第4章 使用Smarty進行模板化
第5章 使用XML Parser進行基於事件的XML解析
第6章 使用XML_RPC開發輕量級網絡服務
第7章 使用SOAP開發重量級網絡服務
第8章 使用SimpleXML進行更簡單的XML解析
第9章 發送郵件
第10章 使用身份驗證、用戶和密碼
第11章 了解PHP內部
第12章 使用Xdebug進行性能分析和調試
第13章 使用代碼緩存加速