PHP Hacks

Overview

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 ...

See more details below
Paperback
$22.27
BN.com price
(Save 25%)$29.95 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (33) from $1.99   
  • New (8) from $5.57   
  • Used (25) from $1.99   
PHP Hacks: Tips & Tools For Creating Dynamic Websites

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$13.49
BN.com price
(Save 43%)$23.99 List Price

Overview

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.

Offering hands-on tools that range from basic PHP and Pear installation and scripting to advanced multimedia and database optimizing tricks, this text includes hacks for integrating with iTunes, generating PDFs and using X10 to control home heating and security with PHP applications.

Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
At last count, more than 22 million web domains were using PHP. But they’re not all using it as well or as creatively as they could be. That’s where PHP Hacks comes in.

This book’s been crafted to help you bring best practices into all your PHP scripts. Author Jack Herrington sees the same problems in too many PHP apps: poor database design and use; code embedded directly on pages; processing during page builds; inadequate security; and so forth. So he’s provided techniques and code samples to help you avoid those problems.

Best practices aside, this book’s just plain useful. Up front, there’s a full chapter of web design techniques: building those popular "breadcrumb trails," creating skinnable interfaces, adding tabs to your web interface, sending HTML mail and IM messages, and plenty more. You’ll create SVG graphics and use PHP’s image toolkit to generate graphs.

There’s an extensive collection of database and XML techniques: from designing better SQL schema to scraping web pages and searching Word documents. There are 16 great application design ideas, from encrypting passwords to tracking where your guests are coming from. There’s a tip on simplifying AJAX implementation. There’s a full chapter on using patterns. (And, to make up for that, there’s fun stuff like creating custom Google maps and checking Half-Life servers.)

Of course you can use PHP Hacks as a cookbook. But you can also use it as a launch pad for all sorts of creative coding. Herrington’s crafted his techniques to trigger inspiration: in fact, many have "hacking the hack" sections suggesting cool tweaks. Simply put, if you’re an experienced PHP programmer, this book will be a treat. Bill Camarda, from the March 2006 Read Only

Read More Show Less

Product Details

  • ISBN-13: 9780596101398
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 12/18/2005
  • Series: Hacks Series
  • Pages: 468
  • Sales rank: 1,425,242
  • Product dimensions: 6.18 (w) x 8.98 (h) x 1.17 (d)

Meet the Author

Jack Herrington is an engineer, author and presenter who lives and works in the Bay Area. His mission is to expose his fellow engineers to new technologies. That covers a broad spectrum, from demonstrating programs that write other programs in the book Code Generation in Action. Providing techniques for building customer centered web sites in PHP Hacks. All the way writing a how-to on audio blogging called Podcasting Hacks. All of which make great holiday gifts and are available online here, and at your local bookstore. Jack also writes articles for O'Reilly, DevX and IBM Developerworks.

Jack lives with his wife, daughter and two adopted dogs. When he is not writing software, books or articles you can find him on his bike, running or in the pool training for triathlons. You can keep up with Jack's work and his writing at http://jackherrington.com.

Read More Show Less

Table of Contents

Dedication

Credits

Preface

Chapter 1: Installation and Basics

Chapter 2: Web Design

Chapter 3: DHTML

Chapter 4: Graphics

Chapter 5: Databases and XML

Chapter 6: Application Design

Chapter 7: Patterns

Chapter 8: Testing

Chapter 9: Alternative UIs

Chapter 10: Fun Stuff

Colophon

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)