Books & Videos

Table of Contents

  1. Chapter 1 Installation and Basics

    1. Hacks 1–2: Introduction

    2. Install PHP

    3. Install PEAR Modules

  2. Chapter 2 Web Design

    1. Hacks 3–10: Introduction

    2. Create a Skinnable Interface

    3. Build a Breadcrumb Trail

    4. Create HTML Boxes

    5. Add Tabs to Your Web Interface

    6. Give Your Customers Formatting Control with XSL

    7. Build Lightweight HTML Graphs

    8. Properly Size Image Tags

    9. Send HTML Email

  3. Chapter 3 DHTML

    1. Hacks 11–26: Introduction

    2. Put an Interactive Spreadsheet on Your Page

    3. Create Pop-Up Hints

    4. Create Drag-and-Drop Lists

    5. Build Dynamic HTML Graphs

    6. Section Your Content with Spinners

    7. Create Drop-Down Stickies

    8. Create Dynamic Navigation Menus

    9. Obscure JavaScript Dynamically

    10. Build a DHTML Binary Clock

    11. Tame Ajax with JSON

    12. Make a DHTML Slideshow

    13. Add Vector Graphics with PHP

    14. Build a Color Selector

    15. Create Link Graphs

    16. Create an Interactive Calendar

    17. Create the Google Maps Scrolling Effect

  4. Chapter 4 Graphics

    1. Hacks 27–33: Introduction

    2. Create Thumbnail Images

    3. Create Beautiful Graphics with SVG

    4. Simplify Your Graphics with Objects

    5. Split One Image into Multiple Images

    6. Create Graphs with PHP

    7. Create Image Overlays

    8. Access Your iPhoto Pictures with PHP

  5. Chapter 5 Databases and XML

    1. Hacks 34–50: Introduction

    2. Design Better SQL Schemas

    3. Create Bulletproof Database Access

    4. Create Dynamic Database Access Objects

    5. Generate CRUD Database Code

    6. Read XML on the Cheap with Regular Expressions

    7. Export Database Schema as XML

    8. Create a Simple XML Query Handler for Database Access

    9. Generate Database SQL

    10. Generate Database Select Code

    11. Convert CSV to PHP

    12. Scrape Web Pages for Data

    13. Suck Data from Excel Uploads

    14. Load Your Database from Excel

    15. Search Microsoft Word Documents

    16. Create RTF Documents Dynamically

    17. Create Excel Spreadsheets Dynamically

    18. Create a Message Queue

  6. Chapter 6 Application Design

    1. Hacks 51–66: Introduction

    2. Create Modular Interfaces

    3. Support Wiki Text

    4. Turn Any Object into an Array

    5. Create XML the Right Way

    6. Fix the Double Submit Problem

    7. Create User-Customizable Reports

    8. Create a Login System

    9. Apply Security by Role

    10. Migrate to MD5 Passwords

    11. Make Usable URLs with mod_rewrite

    12. Build an Ad Redirector

    13. Add a Buy Now Button

    14. Find Out Where Your Guests Are Coming From

    15. Import Information from vCards

    16. Create vCard Files from Your Application's Data

    17. Create a Shopping Cart

  7. Chapter 7 Patterns

    1. Hacks 67–78: Introduction

    2. Observe Your Objects

    3. Create Objects with Abstract Factories

    4. Flexible Object Creation with Factory Methods

    5. Abstract Construction Code with a Builder

    6. Separate What from How with Strategies

    7. Link Up Two Modules with an Adapter

    8. Write Portable Code with Bridges

    9. Build Extensible Processing with Chains

    10. Break Up Big Classes with Composites

    11. Simplify APIs Using a Façade

    12. Create Constant Objects with Singletons

    13. Ease Data Manipulation with Visitors

  8. Chapter 8 Testing

    1. Hacks 79–85: Introduction

    2. Test Your Code with Unit Tests

    3. Generate Your Unit Tests

    4. Check for Broken Links

    5. Test Your Application with Simulated Users

    6. Test Your Application with Robots

    7. Spider Your Site

    8. Generate Documentation Automatically

  9. Chapter 9 Alternative UIs

    1. Hacks 86–94: Introduction

    2. Create Custom Maps with MapServer

    3. Build GUI Interfaces with GTk

    4. Send RSS Feeds to Your IM Application Using Jabber

    5. IRC Your Web Application

    6. Read RSS Feeds on Your PSP

    7. Search Google by Link Graph

    8. Create a New Interface for Amazon.com

    9. Send SMS Messages from Your IM Client

    10. Generate Flash Movies on the Fly

  10. Chapter 10 Fun Stuff

    1. Hacks 95–100: Introduction

    2. Create Custom Google Maps

    3. Create Dynamic Playlists

    4. Create a Media Upload/Download Center

    5. Check Your Network Game with PHP

    6. Put Wikipedia on Your PSP

    7. Create a Weather Showdown

  1. Colophon