-
Chapter 1 Installation and Basics
-
Hacks 1–2: Introduction
-
Install PHP
-
Install PEAR Modules
-
-
Chapter 2 Web Design
-
Hacks 3–10: Introduction
-
Create a Skinnable Interface
-
Build a Breadcrumb Trail
-
Create HTML Boxes
-
Add Tabs to Your Web Interface
-
Give Your Customers Formatting Control with XSL
-
Build Lightweight HTML Graphs
-
Properly Size Image Tags
-
Send HTML Email
-
-
Chapter 3 DHTML
-
Hacks 11–26: Introduction
-
Put an Interactive Spreadsheet on Your Page
-
Create Pop-Up Hints
-
Create Drag-and-Drop Lists
-
Build Dynamic HTML Graphs
-
Section Your Content with Spinners
-
Create Drop-Down Stickies
-
Create Dynamic Navigation Menus
-
Obscure JavaScript Dynamically
-
Build a DHTML Binary Clock
-
Tame Ajax with JSON
-
Make a DHTML Slideshow
-
Add Vector Graphics with PHP
-
Build a Color Selector
-
Create Link Graphs
-
Create an Interactive Calendar
-
Create the Google Maps Scrolling Effect
-
-
Chapter 4 Graphics
-
Hacks 27–33: Introduction
-
Create Thumbnail Images
-
Create Beautiful Graphics with SVG
-
Simplify Your Graphics with Objects
-
Split One Image into Multiple Images
-
Create Graphs with PHP
-
Create Image Overlays
-
Access Your iPhoto Pictures with PHP
-
-
Chapter 5 Databases and XML
-
Hacks 34–50: Introduction
-
Design Better SQL Schemas
-
Create Bulletproof Database Access
-
Create Dynamic Database Access Objects
-
Generate CRUD Database Code
-
Read XML on the Cheap with Regular Expressions
-
Export Database Schema as XML
-
Create a Simple XML Query Handler for Database Access
-
Generate Database SQL
-
Generate Database Select Code
-
Convert CSV to PHP
-
Scrape Web Pages for Data
-
Suck Data from Excel Uploads
-
Load Your Database from Excel
-
Search Microsoft Word Documents
-
Create RTF Documents Dynamically
-
Create Excel Spreadsheets Dynamically
-
Create a Message Queue
-
-
Chapter 6 Application Design
-
Hacks 51–66: Introduction
-
Create Modular Interfaces
-
Support Wiki Text
-
Turn Any Object into an Array
-
Create XML the Right Way
-
Fix the Double Submit Problem
-
Create User-Customizable Reports
-
Create a Login System
-
Apply Security by Role
-
Migrate to MD5 Passwords
-
Make Usable URLs with mod_rewrite
-
Build an Ad Redirector
-
Add a Buy Now Button
-
Find Out Where Your Guests Are Coming From
-
Import Information from vCards
-
Create vCard Files from Your Application's Data
-
Create a Shopping Cart
-
-
Chapter 7 Patterns
-
Hacks 67–78: Introduction
-
Observe Your Objects
-
Create Objects with Abstract Factories
-
Flexible Object Creation with Factory Methods
-
Abstract Construction Code with a Builder
-
Separate What from How with Strategies
-
Link Up Two Modules with an Adapter
-
Write Portable Code with Bridges
-
Build Extensible Processing with Chains
-
Break Up Big Classes with Composites
-
Simplify APIs Using a Façade
-
Create Constant Objects with Singletons
-
Ease Data Manipulation with Visitors
-
-
Chapter 8 Testing
-
Hacks 79–85: Introduction
-
Test Your Code with Unit Tests
-
Generate Your Unit Tests
-
Check for Broken Links
-
Test Your Application with Simulated Users
-
Test Your Application with Robots
-
Spider Your Site
-
Generate Documentation Automatically
-
-
Chapter 9 Alternative UIs
-
Hacks 86–94: Introduction
-
Create Custom Maps with MapServer
-
Build GUI Interfaces with GTk
-
Send RSS Feeds to Your IM Application Using Jabber
-
IRC Your Web Application
-
Read RSS Feeds on Your PSP
-
Search Google by Link Graph
-
Create a New Interface for Amazon.com
-
Send SMS Messages from Your IM Client
-
Generate Flash Movies on the Fly
-
-
Chapter 10 Fun Stuff
-
Hacks 95–100: Introduction
-
Create Custom Google Maps
-
Create Dynamic Playlists
-
Create a Media Upload/Download Center
-
Check Your Network Game with PHP
-
Put Wikipedia on Your PSP
-
Create a Weather Showdown
-
-
Colophon
- Title:
- PHP Hacks
- By:
- Jack D. Herrington
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- December 2005
- Ebook Release:
- February 2009
- Pages:
- 480
- Print ISBN:
- 978-0-596-10139-8
- | ISBN 10:
- 0-596-10139-2
- Ebook ISBN:
- 978-0-596-10588-4
- | ISBN 10:
- 0-596-10588-6
The image on the cover of PHP Hacks is a propeller beanie. The hat's name is thought to come from the early 20th-century slang term "bean," meaning "head," and it was first worn by blue-collar laborers during that time, presumably to keep their hair out of their eyes as they worked. Later, wearing beanies became a fad for young boys, and the propeller beanie is now a popular symbol of science fiction fans in comic art. This association is thought to have originated in 1948 when Ray Nelson, who would later become a science fiction author and cartoonist, supposedly suggested that the members of his science fiction club wear these hats to a science fiction convention so that they would stand out. Since Ray was a teenager in high school at the time, his father would not allow him to attend the convention, but at least one of his fellow club members, George Young, is thought to have worn his beanie to the convention. While the beanie has become an icon of geekdom, it eventually evolved into the more sporty baseball cap.
