PHP Cookbook: Solutions and Examples for PHP Programmers

PHP Cookbook: Solutions and Examples for PHP Programmers
by Adam Trachtenberg, David Sklar

PHP Cookbook: Solutions and Examples for PHP Programmers
List Price: $44.99
Our Price: $24.95
You Save: $20.04 (45%)
Availability: Usually ships in 1-2 business days
Buy Used: from $18.99 (click here)
Category: Book
See more book details and other editions


(Click here)
Buy this book at online book store in your country
Canada | UK | Germany | France

Book Summary Information

Author: Adam Trachtenberg, David Sklar
Edition: Paperback
Audio: English (Unknown); English (Original Language); English (Published)
Published: 2006-08-01
ISBN: 0596101015
Number of pages: 816
Publisher: O'Reilly Media

Book Reviews of PHP Cookbook: Solutions and Examples for PHP Programmers

Book Review: A reference every PHP programmer should have
Summary: 5 Stars

This is my first O'Reilly book in the "Cookbook" series. At first I thought this book would probably contain the code and instructions for building a couple of web applications such as a shopping cart or a blog engine. This isn't that book. Rather it provides the reader with code snippets that can be used as building blocks for all kinds of applications. If I had to describe this book in one sentence I would say it is as if the author took down all the "Hmm..., I wonder how that is done?" questions and created an answer key.

One thing I like about this book is that the authors don't waste the first few chapters trying to teach or give an overview of the language. Instead they hop right into the usage of the language that relates to real world stuff.

So here is a brief overview. The book covers PHP 5 and goes over many of the new and improved features. The first six chapters provide recipes for more basic subjects (strings, numbers, dates & times, arrays, variables, and functions. Again, this isn't an intro to PHP, that is another book such as Programming PHP from O'Reilly. This is that book you reach for once you have moved from PHP basics and are ready to build some real world stuff.

By chapter seven the authors are discussing classes and objects. I like using classes when coding in C++, so this is a good chapter for those who like OOP. The next nine chapters go over web stuff starting out with basic things like cookies, forms, and databases. Then the authors go into more advanced areas like session management, XML, automation and web services (REST, SOAP, Mail, FTP, LDAP, and DNS to name a few).

The next chapter [17] is on the topic of graphics. This is a cool chapter if you like to create dynamic images. Things like creating a button image on the fly, or generating charts. Graphics are great to have a knowledge of because everyone likes graphical presentation of data and this chapter can help you get there.

Chapter 18 is on security and encryption which I found rather helpful. No one wants there web application to be the link that allows data to be compromised, and this chapter deals with many of those problem areas. Chapter 19 covers localization, chapter 20 is on debugging and testing. The debugging section does a great job of getting a person setup with the tools they need to properly debug an application including creating your own exception class. This is an outstanding chapter that every programmer can appreciate since every application needs debugging.

The remaining chapters cover performance tuning, regular expressions, files, directories, command line PHP, PERL and PECL. Being a Perl guy I found it interesting to see how the authors utilized regular expressions in PHP. And the chapter on command-line PHP was outstanding; I thought the recipe for creating a PHP command shell was pretty cool.

CONCLUSION
--
This book is like having the answer key to most of the random questions a person comes up with when writing code. I found this book to be very useful, it will be one of those references that I keep close, and gets very little shelf time. It is a solid book. It is hard to say what parts I liked best because this is one of those books that you like and must have, but then as time goes on and you use it more and more its value grows. This is an excellent book and I would strongly recommend it the PHP users that want to move to the next level.

Summary of PHP Cookbook: Solutions and Examples for PHP Programmers

When it comes to creating dynamic web sites, the open source PHP language is red-hot property: used on more than 20 million web sites today, PHP is now more popular than Microsoft's ASP.NET technology. With our Cookbook's unique format, you can learn how to build dynamic web applications that work on any web browser. This revised new edition makes it easy to find specific solutions for programming challenges.

PHP Cookbook has a wealth of solutions for problems that you'll face regularly. With topics that range from beginner questions to advanced web programming techniques, this guide contains practical examples -- or "recipes" -- for anyone who uses this scripting language to generate dynamic web content. Updated for PHP 5, this book provides solutions that explain how to use the new language features in detail, including the vastly improved object-oriented capabilities and the new PDO data access extension. New sections on classes and objects are included, along with new material on processing XML, building web services with PHP, and working with SOAP/REST architectures. With each recipe, the authors include a discussion that explains the logic and concepts underlying the solution.

Internet Books

Book Subjects
Most talked about in Internet Books
PHP and MySQL by Example ImagePHP and MySQL by Example
by Ellie Quigley, Marko Gargenta
Prentice Hall; Published: 2006-12-02; Paperback; Book
Best price: $25.99
Price in other shops: $54.99
Navigate the Net: A Comprehensive Learning Experience for Travel Professionals ImageNavigate the Net: A Comprehensive Learning Experience for Travel Professionals
by Shelly M. Houser
Prentice Hall; Published: 2002-05-24; Paperback; Book
Best price: $12.50
Price in other shops: $61.60
Elijah Lovejoy's ASP Training Course (Complete Video Course) ImageElijah Lovejoy's ASP Training Course (Complete Video Course)
by Elijah Lovejoy
Prentice Hall PTR; Published: 2001-12-18; Hardcover; Book
Best price: $66.49
Price in other shops: $69.99
Weaving a Website: Programming in HTML, Java Script, Perl and Java ImageWeaving a Website: Programming in HTML, Java Script, Perl and Java
by Susan Anderson-Freed
Prentice Hall; Published: 2001-08-16; Paperback; Book
Best price: $19.93
Price in other shops: $110.00
Online Resource Guide for Law Enforcement ImageOnline Resource Guide for Law Enforcement
by Timothy M. Dees
Prentice Hall; Published: 2001-06-30; Paperback; Book
Best price: $1.99
Price in other shops: $44.80
Core Servlets and Javaserver Pages: Core Technologies, Vol. 1 (2nd Edition) ImageCore Servlets and Javaserver Pages: Core Technologies, Vol. 1 (2nd Edition)
by Marty Hall, Larry Brown
Prentice Hall; Published: 2003-09-05; Paperback; Book
Best price: $27.75
Price in other shops: $64.99
Publish it on the Web! Windows, Second Edition ImagePublish it on the Web! Windows, Second Edition
by Bryan Pfaffenberger
Academic Press; Published: 1997-08-13; Paperback; Book
Best price: $9.00
Price in other shops: $37.95
Big Book of FYI RFCs (Big Books) ImageBig Book of FYI RFCs (Big Books)
Morgan Kaufmann; Published: 2000-08-15; Paperback; Book
Best price: $8.50
Price in other shops: $34.95
HITTESDORF CORBA/IIOP CLEARLY EXPLAINED (Clearly Explained) ImageHITTESDORF CORBA/ IIOP CLEARLY EXPLAINED (Clearly Explained)
by Michael Hittesdorf
AP Professional; Published: 2000-03-01; Paperback; Book
The Internet Outdoor Family Fun Yellow Pages: The Online Guide to the Best Outdoor Family Sites ImageThe Internet Outdoor Family Fun Yellow Pages: The Online Guide to the Best Outdoor Family Sites
by Jack Sanders
International Marine Publishing; Published: 1999-05-25; Paperback; Book
Best price: $15.56
Price in other shops: $19.95
Similar Books and other products
PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (4th Edition) ImagePHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (4th Edition)
by Larry Ullman
Peachpit Press; Published: 2011-09-23; Paperback; Book
Best price: $24.79
Price in other shops: $44.99
JavaScript: The Definitive Guide: Activate Your Web Pages (Definitive Guides) ImageJavaScript: The Definitive Guide: Activate Your Web Pages (Definitive Guides)
by David Flanagan
O'Reilly Media; Published: 2011-05-10; Paperback; Book
Best price: $27.48
Price in other shops: $49.99
Murach's PHP and MySQL (Murach: Training & Reference) ImageMurach's PHP and MySQL (Murach: Training & Reference)
by Joel Murach, Ray Harris
Mike Murach & Associates; Mike Murach & Associates; Published: 2010-11-23; Paperback; Book
Best price: $34.34
Price in other shops: $54.50
Learning PHP 5 ImageLearning PHP 5
by David Sklar
O'Reilly Media, Inc.; Published: 2004-07; Paperback; Book
Best price: $6.98
Price in other shops: $29.95
MySQL Cookbook ImageMySQL Cookbook
by Paul DuBois
O'Reilly Media; Published: 2007-01-27; Paperback; Book
Best price: $27.00
Price in other shops: $49.99
jQuery Cookbook: Solutions & Examples for jQuery Developers (Animal Guide) ImagejQuery Cookbook: Solutions & Examples for jQuery Developers (Animal Guide)
O'Reilly Media; Published: 2009-12-03; Paperback; Book
Best price: $17.40
Price in other shops: $34.99
Programming PHP ImageProgramming PHP
by Rasmus Lerdorf, Kevin Tatroe, Peter MacIntyre
O'Reilly Media; Published: 2006-05-05; Paperback; Book
Best price: $19.55
Price in other shops: $39.99
PHP Solutions: Dynamic Web Design Made Easy ImagePHP Solutions: Dynamic Web Design Made Easy
by David Powers
friendsofED; Published: 2010-11-24; Paperback; Book
Best price: $22.99
Price in other shops: $44.99
PHP and MySQL Web Development (4th Edition) ImagePHP and MySQL Web Development (4th Edition)
by Luke Welling, Laura Thomson
Addison-Wesley Professional; Published: 2008-10-11; Paperback; Book
Best price: $27.99
Price in other shops: $54.99
Learning PHP, MySQL, and JavaScript: A Step-By-Step Guide to Creating Dynamic Websites (Animal Guide) ImageLearning PHP, MySQL, and JavaScript: A Step-By-Step Guide to Creating Dynamic Websites (Animal Guide)
by Robin Nixon
O'Reilly Media; Published: 2009-07-21; Paperback; Book
Best price: $22.49
Price in other shops: $39.99
Book store. Illustrated catalog of books on different categories