Skip to content

Upgrading to PHP 5 All That's New in PHP 5

Best in textbook rentals since 2012!

ISBN-10: 0596006365

ISBN-13: 9780596006365

Edition: 2004

Authors: Adam Trachtenberg

List price: $29.95
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

If you're using PHP 4, then chances are good that an upgrade to PHP 5 is in your future. The more you've heard about the exciting new features in PHP 5, the sooner that upgrade is probably going to be. Although an in-depth, soup-to-nuts reference guide to the language is good to have on hand, it's not the book an experienced PHP programmer needs to get started with the latest release. What you need is a lean and focused guide that answers your most pressing questions: what's new with the technology, what's different, and how do I make the best use of it? In other words, you need a copy of "Upgrading to PHP 5. This book is targeted toward PHP developers who are already familiar with PHP 4.…    
Customers also bought

Book details

List price: $29.95
Copyright year: 2004
Publisher: O'Reilly Media, Incorporated
Publication date: 8/10/2004
Binding: Paperback
Pages: 352
Size: 5.75" wide x 8.75" long x 1.00" tall
Weight: 1.100
Language: English

Adam Trachtenberg is the Director of Platform and Services for eBay and is the author of two O'Reilly books, Upgrading to PHP 5 and PHP Cookbook. Adam has an MBA from Columbia Business School. While there, he focused on general management and operations, with an emphasis on the field of technology. Adam also has a BA from Columbia University. As an undergraduate he majored in mathematics, and his other studies included computer science and Chinese.

Preface
Introduction
Why PHP 5?
What's New in PHP 5?
Installing and Configuring PHP 5
Object-Oriented Programming
What Is Object-Oriented Programming?
Memory Management
Basic Classes
Class Intermediates
Inheritance
Magical Methods
MySQL
Installing and Configuring
Procedural Interface
Before and After: Connecting to the Database Server
Object-Oriented Interface
Before and After: Querying and Retrieving Data with Prepared Statements
Before and After: Subselects
Transactions
Before and After: Making Multiple Queries
Securing Connections with SSL
Porting Code and Migrating Databases
SQLite
SQLite Basics
Alternate SQLite Result Types
Object-Oriented Interface
Indexes, Error Handling, and In-Memory Tables
Transactions
User-Defined Functions
XML
XML Extensions in PHP 5
Installing XML and XSLT Support
DOM
SimpleXML
Converting Between SimpleXML and DOM Objects
Before and After: Reading XML into a Tree
Before and After: Searching XML with XPath
Reading XML as Events with SAX
Before and After: Creating New XML Documents
Before and After: Transforming XML with XSLT
Validating Against a Schema
Iterators and SPL
Before and After: Using Iterators
Implementing the Iterator Interface
MySQL Query Iterator
Chaining Iterators
SimpleXML Iterator
Before and After: Recursive Directory Iteration
Implementing the RecursiveIterator Interface
Array and Object Property Iteration
Redefining Class Iteration
Iterator and SPL Classes and Interfaces
Error Handling and Debugging
Before and After: Handling Errors
The Benefits of Exceptions
System Exceptions
The Exception Class
User Exceptions
Setting a Custom Exception Handler
Processing Errors with a Custom Handler
Debugging Functions
Streams, Wrappers, and Filters
Using the Streams API
Wrapper Overview
Wrapper Details
Creating Wrappers
Filtering Streams
Creating Filters
Other Extensions
SOAP
Tidy
Reflection
PHP 5 in Action
Defining Your Database Schema
The Person Class
The addressBook Class
The Template Class
Assembling the Application
Wrap-Up and Future Directions
Introduction to XML
Additional New Features and Minor Changes
Installing PHP 5 Alongside PHP 4
Index