1300 187 187
 
PHP Hacks : Tips & Tools for Creating Dynamic Web Sites - Jack Herrington

PHP Hacks

Tips & Tools for Creating Dynamic Web Sites

Paperback

Published: 1st December 2005
Ships: 7 to 10 business days
7 to 10 business days
RRP $59.95
$40.50
32%
OFF

eBook View Product

Published: 9th February 2009
Format: ePUB
$30.80

Programmers love its flexibility and speed; designers love its accessibility and convenience. When it comes to creating web sites, the PHP scripting language is truly a red-hot property. In fact, PHP is currently used on more than 19 million web sites, surpassing Microsoft's ASP .NET technology in popularity. Not surprisingly, this surge in usage has resulted in a number of PHP books hitting the market. Only one, though, takes the language beyond traditional Web programming and into mapping, graphing, multimedia, and beyond: "PHP Hacks."

In "PHP Hacks," author Jack Herrington wrings out his 20 years of code generation experience to deliver hands-on tools ranging from basic PHP and PEAR installation and scripting to advanced multimedia and database optimizing tricks.

On the practical side of things, "PHP Hacks" helps you develop more robust PHP applications by explaining how to improve your database design, automate application testing, and employ design patterns in your PHP scripts and classes. In the category of "cool," Herrington explains how to upgrade your Web interface through the creation of tabs, stickies, popups, and calendars. He even examines how to leverage maps and graphics in PHP. There's also a bounty of image and application hacks, including those that show you how to: Integrate web sites with Google maps and satellite imaging Dynamically display iPhoto libraries online Add IRC, SMS, and Instant Messaging capabilities to your Web applications Drop the latest Wikipedia dictionary onto your Sony PSP Render graphics and user interfaces with SVG, DHTML, and Ajax

Whether you're a newcomer or an expert, you'll find great value in "PHP Hacks," the only PHP guide that offers something useful and fun for everyone.

Creditsp. xi
Prefacep. xv
Installation and Basicsp. 1
Install PHPp. 1
Install PEAR Modulesp. 12
Web Designp. 16
Create a Skinnable Interfacep. 16
Build a Breadcrumb Trailp. 20
Create HTML Boxesp. 24
Add Tabs to Your Web Interfacep. 29
Give Your Customers Formatting Control with XSLp. 33
Build Lightweight HTML Graphsp. 35
Properly Size Image Tagsp. 38
Send HTML Emailp. 40
DHTMLp. 44
Put an Interactive Spreadsheet on Your Pagep. 44
Create Pop-Up Hintsp. 47
Create Drag-and-Drop Listsp. 49
Build Dynamic HTML Graphsp. 52
Section Your Content with Spinnersp. 58
Create Drop-Down Stickiesp. 61
Create Dynamic Navigation Menusp. 64
Obscure JavaScript Dynamicallyp. 67
Build a DHTML Binary Clockp. 69
Tame Ajax with JSONp. 73
Make a DHTML Slideshowp. 76
Add Vector Graphics with PHPp. 79
Build a Color Selectorp. 81
Create Link Graphsp. 85
Create an Interactive Calendarp. 88
Create the Google Maps Scrolling Effectp. 93
Graphicsp. 101
Create Thumbnail Imagesp. 101
Create Beautiful Graphics with SVGp. 104
Simplify Your Graphics with Objectsp. 107
Split One Image into Multiple Imagesp. 115
Create Graphs with PHPp. 120
Create Image Overlaysp. 123
Access Your iPhoto Pictures with PHPp. 126
Databases and XMLp. 142
Design Better SQL Schemasp. 142
Create Bulletproof Database Accessp. 147
Create Dynamic Database Access Objectsp. 149
Generate CRUD Database Codep. 155
Read XML on the Cheap with Regular Expressionsp. 165
Export Database Schema as XMLp. 168
Create a Simple XML Query Handler for Database Accessp. 170
Generate Database SQLp. 172
Generate Database Select Codep. 175
Convert CSV to PHPp. 180
Scrape Web Pages for Datap. 184
Suck Data from Excel Uploadsp. 190
Load Your Database from Excelp. 194
Search Microsoft Word Documentsp. 199
Create RTF Documents Dynamicallyp. 202
Create Excel Spreadsheets Dynamicallyp. 207
Create a Message Queuep. 211
Application Designp. 216
Create Modular Interfacesp. 216
Support Wiki Textp. 221
Turn Any Object into an Arrayp. 224
Create XML the Right Wayp. 227
Fix the Double Submit Problemp. 230
Create User-Customizable Reportsp. 234
Create a Login Systemp. 237
Apply Security by Rolep. 241
Migrate to MD5 Passwordsp. 249
Make Usable URLs with mod_rewritep. 253
Build an Ad Redirectorp. 258
Add a Buy Now Buttonp. 262
Find Out Where Your Guests Are Coming Fromp. 271
Import Information from vCardsp. 273
Create vCard Files from Your Application's Datap. 275
Create a Shopping Cartp. 277
Patternsp. 286
Observe Your Objectsp. 287
Create Objects with Abstract Factoriesp. 290
Flexible Object Creation with Factory Methodsp. 294
Abstract Construction Code with a Builderp. 296
Separate What from How with Strategiesp. 300
Link Up Two Modules with an Adapterp. 303
Write Portable Code with Bridgesp. 307
Build Extensible Processing with Chainsp. 309
Break Up Big Classes with Compositesp. 314
Simplify APIs Using a Facadep. 316
Create Constant Objects with Singletonsp. 321
Ease Data Manipulation with Visitorsp. 324
Testingp. 329
Test Your Code with Unit Testsp. 329
Generate Your Unit Testsp. 331
Check for Broken Linksp. 335
Test Your Application with Simulated Usersp. 337
Test Your Application with Robotsp. 342
Spider Your Sitep. 347
Generate Documentation Automaticallyp. 351
Alternative UIsp. 355
Create Custom Maps with MapServerp. 355
Build GUI Interfaces with GTkp. 365
Send RSS Feeds to Your IM Application Using Jabberp. 369
IRC Your Web Applicationp. 376
Read RSS Feeds on Your PSPp. 379
Search Google by Link Graphp. 382
Create a New Interface for Amazon.comp. 388
Send SMS Messages from Your IM Clientp. 392
Generate Flash Movies on the Flyp. 396
Fun Stuffp. 406
Create Custom Google Mapsp. 406
Create Dynamic Playlistsp. 412
Create a Media Upload/Download Centerp. 415
Check Your Network Game with PHPp. 419
Put Wikipedia on Your PSPp. 422
Create a Weather Showdownp. 430
Indexp. 433
Table of Contents provided by Ingram. All Rights Reserved.

ISBN: 9780596101398
ISBN-10: 0596101392
Series: Hacks
Audience: General
Format: Paperback
Language: English
Number Of Pages: 468
Published: 1st December 2005
Publisher: O'Reilly
Dimensions (cm): 22.5 x 15.7  x 2.97
Weight (kg): 0.64