|  | Copyright |
|  | Bruce Peren's Open Source Series |
|  | About Prentice Hall Professional Technical Reference |
|  | Foreword |
|  | Preface |
|
|  | In the Beginning |
|
|  | Audience |
|
|  | Chapter Overview |
|
|  | A Note About Coding Styles |
|
|  | About the Software |
|
|  | Updates and Errata and Downloads |
|
|  | Acknowledgements |
|  |
Chapter 1.
What Is New in PHP 5? |
|
|  |
Section 1.1.
Introduction |
|
|  |
Section 1.2.
Language Features |
|
|  |
Section 1.3.
General PHP Changes |
|
|  |
Section 1.4.
Other New Features in PHP 5 |
|
|  |
Section 1.5.
Summary |
|  |
Chapter 2.
PHP 5 Basic Language |
|
|  |
Section 2.1.
Introduction |
|
|  |
Section 2.2.
HTML Embedding |
|
|  |
Section 2.3.
Comments |
|
|  |
Section 2.4.
Variables |
|
|  |
Section 2.5.
Basic Data Types |
|
|  |
Section 2.6.
Operators |
|
|  |
Section 2.7.
Control Structures |
|
|  |
Section 2.8.
Functions |
|
|  |
Section 2.9.
Summary |
|  |
Chapter 3.
PHP 5 OO Language |
|
|  |
Section 3.1.
Introduction |
|
|  |
Section 3.2.
Objects |
|
|  |
Section 3.3.
Declaring a Class |
|
|  |
Section 3.4.
The new Keyword and Constructors |
|
|  |
Section 3.5.
Destructors |
|
|  |
Section 3.6.
Accessing Methods and Properties Using the $this Variable |
|
|  |
Section 3.7.
Class Constants |
|
|  |
Section 3.8.
Cloning Objects |
|
|  |
Section 3.9.
Polymorphism |
|
|  |
Section 3.10.
parent:: and self:: |
|
|  |
Section 3.11.
instanceof Operator |
|
|  |
Section 3.12.
Abstract Methods and Classes |
|
|  |
Section 3.13.
Interfaces |
|
|  |
Section 3.14.
Inheritance of Interfaces |
|
|  |
Section 3.15.
final Methods |
|
|  |
Section 3.16.
final Classes |
|
|  |
Section 3.17.
__toString() Method |
|
|  |
Section 3.18.
Exception Handling |
|
|  |
Section 3.19.
__autoload() |
|
|  |
Section 3.20.
Class Type Hints in Function Parameters |
|
|  |
Section 3.21.
Summary |
|  |
Chapter 4.
PHP 5 Advanced OOP and Design Patterns |
|
|  |
Section 4.1.
Introduction |
|
|  |
Section 4.2.
Overloading Capabilities |
|
|  |
Section 4.3.
Iterators |
|
|  |
Section 4.4.
Design Patterns |
|
|  |
Section 4.5.
Reflection |
|
|  |
Section 4.6.
Summary |
|  |
Chapter 5.
How to Write a Web Application with PHP |
|
|  |
Section 5.1.
Introduction |
|
|  |
Section 5.2.
Embedding into HTML |
|
|  |
Section 5.3.
User Input |
|
|  |
Section 5.4.
Safe-Handling User Input |
|
|  |
Section 5.5.
Techniques to Make Scripts "Safe" |
|
|  |
Section 5.6.
Cookies |
|
|  |
Section 5.7.
Sessions |
|
|  |
Section 5.8.
File Uploads |
|
|  |
Section 5.9.
Architecture |
|
|  |
Section 5.10.
Summary |
|  |
Chapter 6.
Databases with PHP 5 |
|
|  |
Section 6.1.
Introduction |
|
|  |
Section 6.2.
MySQL |
|
|  |
Section 6.3.
SQLite |
|
|  |
Section 6.4.
PEAR DB |
|
|  |
Section 6.5.
Summary |
|  |
Chapter 7.
Error Handling |
|
|  |
Section 7.1.
Introduction |
|
|  |
Section 7.2.
Types of Errors |
|
|  |
Section 7.3.
PEAR Errors |
|
|  |
Section 7.4.
Exceptions |
|
|  |
Section 7.5.
Summary |
|  |
Chapter 8.
XML with PHP 5 |
|
|  |
Section 8.1.
Introduction |
|
|  |
Section 8.2.
Vocabulary |
|
|  |
Section 8.3.
Parsing XML |
|
|  |
Section 8.4.
SimpleXML |
|
|  |
Section 8.5.
PEAR |
|
|  |
Section 8.6.
Converting XML |
|
|  |
Section 8.7.
Communicating with XML |
|
|  |
Section 8.8.
Summary |
|  |
Chapter 9.
Mainstream Extensions |
|
|  |
Section 9.1.
Introduction |
|
|  |
Section 9.2.
Files and Streams |
|
|  |
Section 9.3.
Regular Expressions |
|
|  |
Section 9.4.
Date Handling |
|
|  |
Section 9.5.
Graphics Manipulation with GD |
|
|  |
Section 9.6.
Multi-Byte Strings and Character Sets |
|
|  |
Section 9.7.
Summary |
|  |
Chapter 10.
Using PEAR |
|
|  |
Section 10.1.
Introduction |
|
|  |
Section 10.2.
PEAR Concepts |
|
|  |
Section 10.3.
Obtaining PEAR |
|
|  |
Section 10.4.
Installing Packages |
|
|  |
Section 10.5.
Configuration Parameters |
|
|  |
Section 10.6.
PEAR Commands |
|
|  |
Section 10.7.
Installer Front-Ends |
|
|  |
Section 10.8.
Summary |
|  |
Chapter 11.
Important PEAR Packages |
|
|  |
Section 11.1.
Introduction |
|
|  |
Section 11.2.
Database Queries |
|
|  |
Section 11.3.
Template Systems |
|
|  |
Section 11.4.
Authentication |
|
|  |
Section 11.5.
Form Handling |
|
|  |
Section 11.6.
Caching |
|
|  |
Section 11.7.
Summary |
|  |
Chapter 12.
Building PEAR Components |
|
|  |
Section 12.1.
Introduction |
|
|  |
Section 12.2.
PEAR Standards |
|
|  |
Section 12.3.
Release Versioning |
|
|  |
Section 12.4.
CLI Environment |
|
|  |
Section 12.5.
Fundamentals |
|
|  |
Section 12.6.
Building Packages |
|
|  |
Section 12.7.
The package.xml Format |
|
|  |
Section 12.8.
Dependencies |
|
|  |
Section 12.9.
String Substitutions |
|
|  |
Section 12.10.
Including C Code |
|
|  |
Section 12.11.
Releasing Packages |
|
|  |
Section 12.12.
The PEAR Release Process |
|
|  |
Section 12.13.
Packaging |
|
|  |
Section 12.14.
Uploading |
|
|  |
Section 12.15.
Summary |
|  |
Chapter 13.
Making the Move |
|
|  |
Section 13.1.
Introduction |
|
|  |
Section 13.2.
The Object Model |
|
|  |
Section 13.3.
Passing Objects to Functions |
|
|  |
Section 13.4.
Compatibility Mode |
|
|  |
Section 13.5.
Other Changes |
|
|  |
Section 13.6.
E_STRICT |
|
|  |
Section 13.7.
Other Compatibility Problems |
|
|  |
Section 13.8.
Changes in Functions |
|
|  |
Section 13.9.
Summary |
|  |
Chapter 14.
Performance |
|
|  |
Section 14.1.
Introduction |
|
|  |
Section 14.2.
Design for Performance |
|
|  |
Section 14.3.
Benchmarking |
|
|  |
Section 14.4.
Profiling with Zend Studio's Profiler |
|
|  |
Section 14.5.
Profiling with APD |
|
|  |
Section 14.6.
Profiling with Xdebug |
|
|  |
Section 14.7.
Using APC (Advanced PHP Cache) |
|
|  |
Section 14.8.
Using ZPS (Zend Performance Suite) |
|
|  |
Section 14.9.
Optimizing Code |
|
|  |
Section 14.10.
Summary |
|  |
Chapter 15.
An Introduction to Writing PHP Extensions |
|
|  |
Section 15.1.
Introduction |
|
|  |
Section 15.2.
Quickstart |
|
|  |
Section 15.3.
Summary |
|  |
Chapter 16.
PHP Shell Scripting |
|
|  |
Section 16.1.
Introduction |
|
|  |
Section 16.2.
PHP CLI Shell Scripts |
|
|  |
Section 16.3.
Summary |
|  |
Appendix A.
PEAR and PECL Package Index |
|
|  |
Section A.1.
Authentication |
|
|  |
Section A.2.
Benchmarking |
|
|  |
Section A.3.
Caching |
|
|  |
Section A.4.
Configuration |
|
|  |
Section A.5.
Console |
|
|  |
Section A.6.
Database |
|
|  |
Section A.7.
Date and Time |
|
|  |
Section A.8.
Encryption |
|
|  |
Section A.9.
File Formats |
|
|  |
Section A.10.
File System |
|
|  |
Section A.11.
Gtk Components |
|
|  |
Section A.12.
HTML |
|
|  |
Section A.13.
HTTP |
|
|  |
Section A.14.
Images |
|
|  |
Section A.15.
Internationalization |
|
|  |
Section A.16.
Logging |
|
|  |
Section A.17.
Mail |
|
|  |
Section A.18.
Math |
|
|  |
Section A.19.
Networking |
|
|  |
Section A.20.
Numbers |
|
|  |
Section A.21.
Payment |
|
|  |
Section A.22.
PEAR |
|
|  |
Section A.23.
PHP |
|
|  |
Section A.24.
Processing |
|
|  |
Section A.25.
Science |
|
|  |
Section A.26.
Streams |
|
|  |
Section A.27.
Structures |
|
|  |
Section A.28.
System |
|
|  |
Section A.29.
Text |
|
|  |
Section A.30.
Tools and Utilities |
|
|  |
Section A.31.
Web Services |
|
|  |
Section A.32.
XML |
|  |
Appendix B.
phpDocumentor Format Reference |
|
|  |
Section B.1.
Introduction |
|
|  |
Section B.2.
Documentation Comments |
|
|  |
Section B.3.
Tag Reference |
|
|  |
Section B.4.
Tag Table |
|
|  |
Section B.5.
Using the phpDocumentor Tool |
|  |
Appendix C.
Zend Studio Quick Start Guide |
|
|  |
Section C.1.
Version 3.5.x |
|
|  |
Section C.2.
About the Zend Studio Client Quick Start Guide |
|
|  |
Section C.3.
About Zend |
|
|  |
Section C.4.
Zend Studio Client: Overview |
|
|  |
Section C.5.
Editing a File |
|
|  |
Section C.6.
Working with Projects |
|
|  |
Section C.7.
Running the Debugger |
|
|  |
Section C.8.
Configure Studio Server for Remote Debugger and Profiling |
|
|  |
Section C.9.
Running the Profiler |
|
|  |
Section C.10.
Product Support |
|
|  |
Section C.11.
Main Features |
|  | Index |