Table of contents for PHP hacks : [tips & tools for creating dynamic web sites] / Jack D. Harrington.


Bibliographic record and links to related information available from the Library of Congress catalog
Note: Electronic data is machine generated. May be incomplete or contain other coding.


Counter
Chapter 1. Installation and Basics ................................... 1
1. Install PHP                                           1
2. Install PEAR Modules                                 12
Chapter 2.  Web  Design  ......................................... .  16
3. Create a Skinnable Interface                         16
4. Build a Breadcrumb Trail                             20
5. Create HTML Boxes                                    24
6. Add Tabs to Your Web Interface                       29
7. Give Your Customers Formatting Control with XSL      33
8. Build Lightweight HTML Graphs                        35
9. Properly Size Image Tags                             38
10. Send HTML Email                                      40
Chapter 3. DHTML .............................................. 44
11. Put an Interactive Spreadsheet on Your Page          44
12. Create Pop-Up Hints                                  47
13. Create Drag-and-Drop Lists                           49
14. Build Dynamic HTML Graphs                            52
15. Section Your Content with Spinners                   58
16. Create Drop-Down Stickies                            61
17. Create Dynamic Navigation Menus                      64
18. Obscure JavaScript Dynamically                          67
19. Build a DHTML Binary Clock                              69
20. Tame Ajax with JSON                                     73
21. Make a DHTML Slideshow                                  76
22. Add Vector Graphics with PHP                            79
23. Build a Color Selector                                  81
24. Create Link Graphs                                      85
25. Create an Interactive Calendar                          88
26. Create the Google Maps Scrolling Effect                 93
Chapter 4.  Graphics  ..................................... .......  101
27. Create Thumbnail Images                                101
28. Create Beautiful Graphics with SVG                     104
29. Simplify Your Graphics with Objects                    107
30. Split One Image into Multiple Images                   115
31. Create Graphs with PHP                                 120
32. Create Image Overlays                                  123
33. Access Your iPhoto Pictures with PHP                   126
Chapter 5. Databases and XML  ...................................  142
34. Design Better SQL Schemas                              142
35. Create Bulletproof Database Access                     147
36. Create Dynamic Database Access Objects                 149
37. Generate CRUD Database Code                            155
38. Read XML on the Cheap with Regular Expressions         165
39. Export Database Schema as XML                          168
40. Create a Simple XML Query Handler for Database Access  170
41. Generate Database SQL                                  172
42. Generate Database Select Code                          175
43. Convert CSV to PHP                                     180
44. Scrape Web Pages for Data                              184
45. Suck Data from Excel Uploads                           190
46. Load Your Database from Excel                          194
47. Search Microsoft Word Documents                        199
48. Create RTF Documents Dynamically                    202
49. Create Excel Spreadsheets Dynamically               207
50. Create a Message Queue                              211
Chapter 6. Application Design  ...................................  216
51. Create Modular Interfaces                           216
52. Support Wiki Text                                   221
53. Turn Any Object into an Array                       224
54. Create XML the Right Way                            227
55. Fix the Double Submit Problem                       230
56. Create User-Customizable Reports                    234
57. Create a Login System                               237
58. Apply Security by Role                              241
59. Migrate to MD5 Passwords                            249
60. Make Usable URLs with mod_rewrite                   253
61. Build an Ad Redirector                              258
62. Add a Buy Now Button                                262
63. Find Out Where Your Guests Are Coming From          271
64. Import Information from vCards                      273
65. Create vCard Files from Your Application's Data     275
66. Create a Shopping Cart                              277
Chapter 7. Patterns ......................................... . 286
67. Observe Your Objects                                287
68. Create Objects with Abstract Factories              290
69. Flexible Object Creation with Factory Methods       294
70. Abstract Construction Code with a Builder           296
71. Separate What from How with Strategies              300
72. Link Up Two Modules with an Adapter                 303
73. Write Portable Code with Bridges                    307
74. Build Extensible Processing with Chains             309
75. Break Up Big Classes with Composites                314
76. Simplify APIs Using a Fagade                        316
77. Create Constant Objects with Singletons             321
78. Ease Data Manipulation with Visitors                324
Chapter 8. Testing .......................................... . 329
79. Test Your Code with Unit Tests                       329
80. Generate Your Unit Tests                             331
81. Check for Broken Links                               335
82. Test Your Application with Simulated Users           337
83. Test Your Application with Robots                    342
84. Spider Your Site                                     347
85. Generate Documentation Automatically                 351
Chapter 9. Alternative Uls ........................................ 355
86. Create Custom Maps with MapServer                    355
87. Build GUI Interfaces with GTk                        365
88. Send RSS Feeds to Your IM Application
Using Jabber                                         369
89. IRC Your Web Application                             376
90. Read RSS Feeds on Your PSP                           379
91. Search Google by Link Graph                          382
92. Create a New Interface for Amazon.com                388
93. Send SMS Messages from Your IM Client                392
94. Generate Flash Movies on the Fly                     396
Chapter 10. Fun Stuff .................................... ....... 406
95. Create Custom Google Maps                            406
96. Create Dynamic Playlists                             412
97. Create a Media Upload/Download Center                415
98. Check Your Network Game with PHP                     419
99. Put Wikipedia on Your PSP                            422
100. Create a Weather Showdown                           430



Library of Congress subject headings for this publication: PHP (Computer program language)Web sites Design, Web sites Programming