Description

Book Synopsis
Targeted towards PHP developers who are already familiar with PHP 4, this volume offers a concise appraisal of the differences between PHP 4 and PHP 5, gives a detailed look at what's new in this latest version, and offers an explanation of how these changes affect you.

Table of Contents
Preface 1. Introduction Why PHP 5? What's New in PHP 5?; Installing and Configuring PHP 5 2. Object-Oriented Programming; What Is Object-Oriented Programming? Memory Management; Basic Classes Class Intermediates Inheritance Magical Methods 3. 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 4. SQLite SQLite Basics Alternate SQLite Result Types Object-Oriented Interface Indexes, Error Handling, and In-Memory Tables Transactions User-Defined Functions 5. 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; 6. 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 7. 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; 8. Streams, Wrappers, and Filters Using the Streams API; Wrapper Overview Wrapper Details Creating Wrappers; Filtering Streams Creating Filters 9. Other Extensions; SOAP Tidy Reflection 10. 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 A. Introduction to XML B. Additional New Features and Minor Changes C. Installing PHP 5 Alongside PHP 4; Index

Upgrading to PHP 5

    Product form

    £19.19

    Includes FREE delivery

    RRP £23.99 – you save £4.80 (20%)

    Order before 4pm today for delivery by Wed 5 Aug 2026.

    A Paperback / softback by Adam Tractenberg

    Out of stock

      Trusted by thousands of customers. See 2,385+ Customer Reviews

      View other formats and editions of Upgrading to PHP 5 by Adam Tractenberg

      Publisher: O'Reilly Media
      Publication Date: Publication Date: 24/08/2004
      ISBN13: 9780596006365, 978-0596006365
      ISBN10: 0596006365

      Description

      Book Synopsis
      Targeted towards PHP developers who are already familiar with PHP 4, this volume offers a concise appraisal of the differences between PHP 4 and PHP 5, gives a detailed look at what's new in this latest version, and offers an explanation of how these changes affect you.

      Table of Contents
      Preface 1. Introduction Why PHP 5? What's New in PHP 5?; Installing and Configuring PHP 5 2. Object-Oriented Programming; What Is Object-Oriented Programming? Memory Management; Basic Classes Class Intermediates Inheritance Magical Methods 3. 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 4. SQLite SQLite Basics Alternate SQLite Result Types Object-Oriented Interface Indexes, Error Handling, and In-Memory Tables Transactions User-Defined Functions 5. 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; 6. 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 7. 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; 8. Streams, Wrappers, and Filters Using the Streams API; Wrapper Overview Wrapper Details Creating Wrappers; Filtering Streams Creating Filters 9. Other Extensions; SOAP Tidy Reflection 10. 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 A. Introduction to XML B. Additional New Features and Minor Changes C. Installing PHP 5 Alongside PHP 4; Index

      Recently viewed products

      © 2026 Book Curl

        • American Express
        • Apple Pay
        • Diners Club
        • Discover
        • Google Pay
        • Maestro
        • Mastercard
        • PayPal
        • Shop Pay
        • Union Pay
        • Visa

        Login

        Forgot your password?

        Don't have an account yet?
        Create account