Books & Videos

Table of Contents

  1. Chapter 1 The Good Parts

    1. Why PHP?

    2. Basic PHP Setup

  2. Chapter 2 Casing the Joint

    1. Whitespace, Comments, and Basic Syntax

    2. Variables: Data Types, Loose Typing, and Scope

    3. Defined Constants

    4. Expressions

    5. Decisions, Decisions (Flow Control)

    6. Integration with Web Pages

  3. Chapter 3 Functions (Doing It Once)

    1. Parameter Passing

    2. Default Parameters

    3. Passing by Value Versus Passing by Reference

    4. Include and Require

    5. Built-In Functions Versus UDFs

  4. Chapter 4 Strings

    1. What Is a String?

    2. You Can Quote Me

    3. String Functions (Best of)

  5. Chapter 5 Arrays

    1. Indexed Arrays

    2. Associative Arrays

    3. Arrays from Another Dimension

    4. Arrays Can Be Dynamic

    5. Traversing Arrays

    6. Array Functions (Best of)

  6. Chapter 6 Objects

    1. Putting It into Practice

    2. Magic Methods

    3. $this

    4. Objects in Action

    5. Public, Protected, and Private

    6. Getters and Setters

  7. Chapter 7 Database Interaction

    1. MySQLi Object Interface

    2. Retrieving Data for Display

    3. PHP Data Objects

    4. PDO Prepared Statements

    5. Data Management on the Cheap

    6. File Management As a Database Alternative

  8. Chapter 8 PHP and Friends

    1. Email/SMS Generation

    2. PDF Generation

    3. Graphical Reports Generation

  9. Chapter 9 PHP Security

    1. Data Validation

    2. Escape Output

    3. Cross-Site Scripting (XXS) and SQL Injection

    4. Password Encryption Security

    5. Security Tips

  10. Chapter 10 PHP 5.3 Good Parts

    1. Namespaces

    2. Closures (Anonymous Functions)

    3. NOWDOC

    4. goto Operator

    5. DateTime and DateTimeZone Classes

    6. Additional 5.3 Features

  11. Chapter 11 Advanced Goodness

    1. Regular Expressions

    2. SimpleXML

    3. Integrated Development Environments

    4. Primary Websites

  1. Appendix The Bad Parts

    1. goto

    2. Function Naming and Parameter Order

    3. Loose Typing

    4. Register Globals

    5. Is That All?

  2. Colophon