Flylib.com
Upgrading to PHP 5
Upgrading to PHP 5
ISBN: 0596006365
EAN: 2147483647
Year: 2004
Pages: 144
Authors:
Adam Trachtenberg
BUY ON AMAZON
Upgrading to PHP 5
Table of Contents
Copyright
Preface
Who This Book Is For
Who This Book Is Not For
What s in This Book
Other Resources
Conventions Used in This Book
Using Code Examples
We d Like to Hear from You
Acknowledgements
Chapter 1. Introduction
1.1 Why PHP 5?
1.2 What s New in PHP 5?
1.3 Installing and Configuring PHP 5
Chapter 2. Object-Oriented Programming
2.1 What Is Object-Oriented Programming?
2.2 Memory Management
2.3 Basic Classes
2.4 Class Intermediates
2.5 Inheritance
2.6 Magical Methods
Chapter 3. MySQL
3.1 Installing and Configuring
3.2 Procedural Interface
3.3 Before and After: Connecting to the Database Server
3.4 Object-Oriented Interface
3.5 Before and After: Querying and Retrieving Data with Prepared Statements
3.6 Before and After: Subselects
3.7 Transactions
3.8 Before and After: Making Multiple Queries
3.9 Securing Connections with SSL
3.10 Porting Code and Migrating Databases
Chapter 4. SQLite
4.1 SQLite Basics
4.2 Alternate SQLite Result Types
4.3 Object-Oriented Interface
4.4 Indexes, Error Handling, and In-Memory Tables
4.5 Transactions
4.6 User-Defined Functions
Chapter 5. XML
5.1 XML Extensions in PHP 5
5.2 Installing XML and XSLT Support
5.3 DOM
5.4 SimpleXML
5.5 Converting Between SimpleXML and DOM Objects
5.6 Before and After: Reading XML into a Tree
5.7 Before and After: Searching XML with XPath
5.8 Reading XML as Events with SAX
5.9 Before and After: Creating New XML Documents
5.10 Before and After: Transforming XML with XSLT
5.11 Validating Against a Schema
Chapter 6. Iterators and SPL
6.1 Before and After: Using Iterators
6.2 Implementing the Iterator Interface
6.3 MySQL Query Iterator
6.4 Chaining Iterators
6.5 SimpleXML Iterator
6.6 Before and After: Recursive Directory Iteration
6.7 Implementing the RecursiveIterator Interface
6.8 Array and Object Property Iteration
6.9 Redefining Class Iteration
6.10 Iterator and SPL Classes and Interfaces
Chapter 7. Error Handling and Debugging
7.1 Before and After: Handling Errors
7.2 The Benefits of Exceptions
7.3 System Exceptions
7.4 The Exception Class
7.5 User Exceptions
7.6 Setting a Custom Exception Handler
7.7 Processing Errors with a Custom Handler
7.8 Debugging Functions
Chapter 8. Streams, Wrappers, and Filters
8.1 Using the Streams API
8.2 Wrapper Overview
8.3 Wrapper Details
8.4 Creating Wrappers
8.5 Filtering Streams
8.6 Creating Filters
Chapter 9. Other Extensions
9.1 SOAP
9.2 Tidy
9.3 Reflection
Chapter 10. PHP 5 in Action
10.1 Defining Your Database Schema
10.2 The Person Class
10.3 The addressBook Class
10.4 The Template Class
10.5 Assembling the Application
10.6 Wrap-Up and Future Directions
Appendix A. Introduction to XML
A.1 Comparing HTML and XML
A.2 Well-Formed XML
A.3 Schemas
A.4 Transformations
A.5 XML Namespaces
A.6 XPath
Appendix B. Additional New Features and Minor Changes
B.1 Passing Optional Parameters by Reference
B.2 New E_STRICT Error Setting
B.3 Treating Strings as Arrays Causes Errors
B.4 CLI Now Allows Individual Line Processing
B.5 CLI Always Provides argv and argc
B.6 Oracle (oci8) Extension Functions Renamed
B.7 New Configuration Directives
B.8 Updated COM Extension
B.9 Apache 2 Correctly Sets PATH_TRANSLATED
B.10 strrpos( ) Uses the Entire Needle
B.11 Windows 95 Support Dropped
B.12 old_function Eliminated
Appendix C. Installing PHP 5 Alongside PHP 4
C.1 General PHP 5 Configuration
C.2 Module and CGI
C.3 Windows
Colophon
Index
index_SYMBOL
index_A
index_B
index_C
index_D
index_E
index_F
index_G
index_H
index_I
index_J
index_K
index_L
index_M
index_N
index_O
index_P
index_Q
index_R
index_S
index_T
index_U
index_V
index_W
index_X
Upgrading to PHP 5
ISBN: 0596006365
EAN: 2147483647
Year: 2004
Pages: 144
Authors:
Adam Trachtenberg
BUY ON AMAZON
Strategies for Information Technology Governance
Structures, Processes and Relational Mechanisms for IT Governance
Assessing Business-IT Alignment Maturity
Measuring ROI in E-Commerce Applications: Analysis to Action
Managing IT Functions
The Evolution of IT Governance at NB Power
Metrics and Models in Software Quality Engineering (2nd Edition)
The Object-Oriented Development Process
Scatter Diagram
The Rayleigh Model
Code Integration Pattern
Design and Complexity Metrics
The CISSP and CAP Prep Guide: Platinum Edition
Physical (Environmental) Security
Initiation of the System Authorization Process
Appendix B Glossary of Terms and Acronyms
Appendix F Security Control Catalog
Appendix G Control Baselines
Cisco IP Telephony (CIPT) (Authorized Self-Study) (2nd Edition)
Configuring Access Gateways
Tools Overview
Real-Time Monitoring Tool Overview
Java for RPG Programmers, 2nd Edition
The Java Onion
Structured Operations And Statements
Exceptions
Threads
Database Access
The Lean Six Sigma Pocket Toolbook. A Quick Reference Guide to Nearly 100 Tools for Improving Process Quality, Speed, and Complexity
Using DMAIC to Improve Speed, Quality, and Cost
Working with Ideas
Variation Analysis
Complexity Value Stream Mapping and Complexity Analysis
Selecting and Testing Solutions
flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net
Privacy policy
This website uses cookies. Click
here
to find out more.
Accept cookies