CDN$ 26.45
  • List Price: CDN$ 41.99
  • You Save: CDN$ 15.54 (37%)
Usually ships within 3 to 5 weeks.
Ships from and sold by Amazon.ca.
Gift-wrap available.
Quantity:1
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

PHP Developer's Cookbook (2nd Edition) Paperback – Dec 13 2001


See all 2 formats and editions Hide other formats and editions
Amazon Price New from Used from
Paperback
"Please retry"
CDN$ 26.45
CDN$ 26.45 CDN$ 0.98

Best Books of 2014
Unruly Places is our #1 pick for 2014. See all


Product Details

  • Paperback: 504 pages
  • Publisher: Sams Publishing; 2 edition (Dec 13 2001)
  • Language: English
  • ISBN-10: 0672323257
  • ISBN-13: 978-0672323256
  • Product Dimensions: 18.3 x 2.8 x 23.4 cm
  • Shipping Weight: 658 g
  • Average Customer Review: 3.4 out of 5 stars  See all reviews (14 customer reviews)
  • Amazon Bestsellers Rank: #2,670,086 in Books (See Top 100 in Books)
  • See Complete Table of Contents

Product Description

From Amazon

Bringing together hundreds of problems and solutions, PHP Developer's Cookbook is an excellent resource for any PHP developer. Both the authors are members of the PHP development team, and with a foreword from Rasmus Lerdorf, the creator of PHP, there is no doubting the book's authority. The introduction notes that some sections cover previously undocumented material, making it particularly valuable for advanced PHP programmers. It is based on PHP 4.

Each chapter follows the same basic format. A short problem, such as "you want to find the time that has elapsed between two dates", is followed by a solution, usually with example code. Next comes a discussion section, typically full of interesting comments and insights. There are generally 10 to 15 problems in a chapter, and there are 23 chapters, so a lot of material is covered.

The first and longest part of the book covers language techniques, from basic tips and hints through to illuminating chapters on session handling and Web automation. The second short part tackles databases, and then the third part mainly covers communications, including e-mail, directory queries and socket programming. There is also an interesting snippet about working with COM or Java objects. Part four is about generating images and parsing XML, while the final part shows how to extend PHP with the Zend API. Appendixes cover troubleshooting, online resources and PHP 4 migration issues. Overall, a recommended title for anyone who wants to get the best from this superb open-source server-side scripting language. --Tim Anderson --This text refers to an alternate Paperback edition.

From the Back Cover

PHP Developer's Cookbook is a task-oriented book intended to offer solutions to the daily problems and goals the PHP developer faces.

In addition to a brief introduction to PHP, the main content of the book is presented in a problem and solution format, logically organized on a topic-by-topic basis. Each question specifies a goal, and the following text provides a detailed solution that achieves the stated goal along with any additional related information.

After a crash course in the basics, the PHP Developer's Cookbook covers more advanced development topics.


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Customer Reviews

3.4 out of 5 stars

Most helpful customer reviews

Format: Paperback
I am a newb when it comes to PHP, but not when it comes to programming in general. The Content is very cleanly laid out. It is straightforward, but by no means simple. For using some detailed code, I was surprised at the lack of commenting on the code. He steps into some areas not expected by me. For instance, he lays out some XML / XSL based code that I was itching to know and now I do!
However, he also covers some topics that are so basic that I felt it hurt the book overall... I learned most basic code from such books as Sams Teach Yourself PHP in 24 hours... so to cover the few basic topics like he did felt more appropriate for a beginners book... But he does make up for it with some VERY in-depth code. Just wish he commented his advanced code to help the newbs a little more...
If you're going to get a book to help you with specific issues? This is your book... (as long as your issues are his) If you want to learn PHP? Get Sams Teach Yourself PHP in 24 hours...
Either way, do yourself a favor and check out the Index here on Amazon... You might just find exactly what you are hoping to do, in which case, his coding is great...
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
By Jon on Oct. 4 2002
Format: Paperback
I'm not the type of programmer that likes to copy & paste other people's code in my applications, however, every so often I run into problems that I'm not quite sure of the proper way to solve; this book has become invaluable in these cases, whether it is performing HTTP Post requests (hint, use cURL), or parsing data with regular expressions, the book provides a handy reference for all the common and not so common tasks that you might encounter.
One of the things that I really appreciate about the book is that it is written by two PHP core developers, and they often show their knowledge, telling you what goes on behind the scene, offering a variety of different solutions, and then offering the best solution. I've found this information helpful in solving future problems, as I learned what was going on under the hood, therefore, I knew how to optimize the solution.
An excellent book, if you want solutions to problems that you'll constantly encounter, its meant to be a reference on the programmer's bookshelf, not a way to learn PHP (although it definitely has _improved_ my PHP knowledge), ....
...
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
Format: Paperback
Becoming more advanced in the field of PHP programming, I needed a solid reference to help me along the way. This book did just the trick.
It gives problems and solutions to everyday problems that programmers face, and conveniently groups the examples by category, such as strings, arrays, etc.
PHP Developer's Cookbook helped me with many of the tasks that I was currently embarking upon, and looking through its contents helped me find new and better solutions for current and future problems.
A word of warning, however, this book will probably NOT teach you PHP. The categories are not placed in a good order for beginners, but are great for those of intermediate and expert programmers alike. If you are new to PHP, I would say look elsewhere, say PHP Essentials, but I would recommend that you definetely keep this text in mind if you decide to further your PHP skills. Strongly recommended for intermediate and expert PHP programmers.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
Format: Paperback
Most of the great texts are appropriately named and hold themselves in particularly high esteem. This book doesn't do that, its about solutions. It offers practical solutions to every day problems (really, the book in many cases has actually had the exact solution to the problems I had!) And not only that, but the book is also very easy to read from front to back. Although its not intended as a book that should be read fluently, reading it chapter by chapter will actually increase your knowledge of PHP a hundred fold, both authors are on the PHP Development team, and they explain how PHP really works, inside out. A must have for any intermediate-experienced coder, looking to take there coding skills to the next level.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
Format: Paperback
I'm a intermediate-advanced PHP coder. I own 13 PHP books, some I use more than others. The only book of the 13 that has NEVER been useful for a single thing was this (sorry) "cookbook." Explanations are poor and the index is horrible. I wonder if the people giving this book high marks have really tried to use it. For real answers to how to do things give me Professional PHP or PHP and MYSL Web Development. Or if you're really stuck and need a clue, check out the DevShed.com forums. Cookbook? More like "compost heap." I think the authors just decided to take a bunch or random code they'd written and paste it all together into a "book." Gosh, maybe I should take some of my old stuff and publish it too.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
By Robert Giles on July 23 2002
Format: Paperback
Bought this book hoping it would be similar to the Perl cookbook - as another reviewer commented, there are "gaps" in the content. Every time I needed a solution to a particular problem in Perl, I found the answer in the Perl cookbook. Every time I needed a similar solution in PHP, I found myself using [their wedsite] because the PHP Cookbook made no mention of the problem.
Hopefully there are better PHP books out there - I think I'll stick to [the website] for now and get free, detailed help from the PHP community.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.

Most recent customer reviews



Feedback