Start reading PHP 5 Recipes: A Problem-Solution Approach on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here.

Deliver to your Kindle or other device


Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Sorry, this item is not available in
Image not available for

PHP 5 Recipes: A Problem-Solution Approach: A Problem - Solution Approach [Kindle Edition]

Frank M. Kromann , Jon Stephens , Nathan A. Good , Lee Babin
5.0 out of 5 stars  See all reviews (1 customer review)

Digital List Price: CDN$ 45.53 What's this?
Print List Price: CDN$ 31.53
Kindle Price: CDN$ 29.64 includes free international wireless delivery via Amazon Whispernet
You Save: CDN$ 1.89 (6%)

Free Kindle Reading App Anybody can read Kindle books even without a Kindle device with the FREE Kindle app for smartphones, tablets, and computers.

To get the free app, enter your e-mail address or mobile phone number.


Amazon Price New from Used from
Kindle Edition CDN $29.64  
Paperback CDN $31.20  

Customers Who Bought This Item Also Bought

Page of Start over
This shopping feature will continue to load items. In order to navigate out of this carousel, please use your heading shortcut key to navigate to the next or previous heading.

Product Description

Product Description

* The only PHP "cook book" available that is completely up-to-date for PHP 5 which includes teaching material for PHP 5 object-oriented features

* Complete code provided to solve all common problems PHP developers will come across in day-to-day work as well as using built in PHP functionality

* Works well as a learn-by-example teaching book, as well as a quick solutions book

About the Author

Frank Kromann is a PHP expert, web developer and PHP book author.

Product Details

  • Format: Kindle Edition
  • File Size: 4907 KB
  • Print Length: 650 pages
  • Publisher: Apress; 2005 edition (Oct. 4 2005)
  • Sold by: Amazon Digital Services, Inc.
  • Language: English
  • ASIN: B001D4WX84
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Enhanced Typesetting: Not Enabled
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (1 customer review)
  •  Would you like to give feedback on images?

Customer Reviews

4 star
3 star
2 star
1 star
5.0 out of 5 stars
5.0 out of 5 stars
Most helpful customer reviews
5.0 out of 5 stars Takes you to a top Feb. 15 2013
Format:Paperback|Verified Purchase
If you are a programmer of any kind and willing to learn and use PHP, this might be the best book for you.
Was this review helpful to you?
Most Helpful Customer Reviews on (beta) 4.9 out of 5 stars  11 reviews
21 of 23 people found the following review helpful
5.0 out of 5 stars Cookbook for Tasty Snacks March 31 2006
By David Stapleton - Published on
I am a big fan of 'recipe' books. They collect solutions to a variety of common problems into a single volume for easy reference, often times pointing out features in an extensive language environment that were missed when first learned. This book is no exception.

I had been coding PHP for close to a year when I picked up this book. I found most of the coding and examples to be fairly familiar, but forcing myself to read through ever page I have expanded my coding with several standard functions that I had no use for when first learning the language (and thus had forgotten about).

The writing style is very readable, and the code is targeted at the beginning to intermediate PHP coder. Beginners to PHP will benefit from reading through the entire book; those with more experience are better off skimming the first half of the book and reading the latter sections. The topics covered are fairly complete and include: arrays, strings, imaging, database, files and web forms. I would have liked a more detailed coverage of XML and SOAP, but the basics are provided for these technologies.

If you are an experienced PHP coder you may gain something from this book (like I did), but you would probably get just as much by browsing the official PHP site's function list to refresh your memory of what is available.

My recommendation, for PHP beginners, is that this book coupled with Jason Gilmore's Beginning PHP and MySQL makes an excellent pair to learn PHP and should have you up to speed in no time. Add Matt Zandstra's PHP 5 Objects, Patterns, and Practice and you have a fairly complete PHP library suitable for an experienced programmer's reference shelf.

18 of 20 people found the following review helpful
4.0 out of 5 stars Nice addition to the php 5 literature Nov. 30 2005
By John A. Suda - Published on
With all the books being published recently about PHP a new one will need to find and fill a niche to distinguish itself. "PHP 5 Recipes: A Problem-Solution Approach", published by Apress, has done so, in my view. This is an intermediate-level volume exploring PHP 5 using a "recipe" approach where the basics of PHP 5's functionality are expressed systematically but in a "small-topic" by "small-topic" manner. Cookbook style, each topic is relatively autonomous and can be individually selected, as necessary, for information or review, similarly to how many refer to the "Joy of Cooking" for help on a cooking project. It's a source for instant solutions to common PHP-related problems. There are over 200 such recipes presented.

Each of these "recipes" refers to a small element or aspect of PHP 5 and the presentations contain a brief overview of the topic, an explanation of how the code elements work, and where the code is applicable in projects. Overall, the book covers the whole range of PHP 5 functionality where each major element of PHP 5 is addressed in a recipe explaining and illuminating relevant code elements. You can easily get information about a specific PHP 5 element by going directly to the section of the book where it appears. Even better, the code snippets are designed to allow one to copy and paste them into your own applications or development easily and then to configure them as necessary. All of the code snippets are freely available for downloading at the publisher's website at [...].

There are 16 chapters and an index covering a total of 646 pages. The chapters are organized similarly to other PHP primers, covering the basic elements of PHP - data types, operations, arrays, strings, variables, files and directories, dates and times, functions, and regular expressions. The coverage for much of these concepts is relatively mundane and unoriginal. The discussion of dynamic imaging, however, is an exception. The writing throughout, however, is solid and clear. The book emphasizes the most important elements of new PHP 5. The object-oriented programming elements especially are covered - classes, objects, protected class variables, exception handling, interfaces, and the new mysqli database extension. The authors' discussions focus on PHP 5.0.4, MySQL 4.1, and cover Linux and Windows environments.

The book is directed at PHP programmers looking to learn the elements introduced by PHP 5, and for those looking to find fast solutions to coding problems. It assumes a basic knowledge of PHP. Many of the recipes discuss object-oriented programming and these are some of the more advanced sections of the book. I can say that Chapter 2, which introduces the object-oriented concepts is one of the better explanations of the topic that I've read. The chapter covers constructors, destructors, methods and properties, class diagrams and examples of these concepts at work in code snippets. There are a number of interesting segments containing custom coding of classes as reusable templates from which to create "objects".

The book is well-designed and written. The discussion is clear and logical. The code snippets are well-explained. The authors are experienced programmers and developers, and Good and Stephens have authored or co-authored a number of technical books.

A large handful of the recipes contain "projects", usually appearing at the end of the overview and presentation of code snippets covering the basics of the topics. The projects usually deal with the creation of higher-end classes and objects as solutions to common coding problems. The idea here is to show PHP 5 functionality at work providing useful code sections to be dropped into your custom applications. Chapter Five concludes with a sophisticated class dealing with dates and times issues. Other chapters contain constructions of string, file, graphics, and regular expression classes.

The last five chapters deal with using the PHP code in web applications and services. This material covers cookies (including construction of a cookie class), using HTTP headers, sessions, and using query strings. Much of this material has been covered elsewhere in the many primers on PHP already published. There is a chapter on using forms and an interesting chapter on working with markup. The better chapters are on using DOM to generate markup, parsing XML, using RSS feeds, SOAP, and simple XML. The chapter on mysql is basic, except for the section on creating a "wrapper" class. The last chapter deals with communicating with Internet services, like POP, iMap, and FTP. Another project presented here is one creating object-oriented code dealing with a mail class.

This is a useful book to have in a programmer's library.
8 of 9 people found the following review helpful
5.0 out of 5 stars Great resource for PHP programmers Nov. 23 2005
By Harold McFarland - Published on
I have to admit that I really enjoy having a good recipe style book in my library whenever possible and this is a good PHP 5 recipe book. The advantage of these books is simple. You find the problem you need resolved and you follow the recipe to resolve it. This problem-solution approach is very efficient and just what you need when you just want a quick answer. With over 200 recipes it focuses on new features of PHP 5 and taking advantage of the most popular PHP extensions. Some of the areas covered include arrays, dates and times, strings, files, regular expressions, web basics, forms, markup, and MySQL. For each area the authors include various problems that are commonly encountered or that can be resolved more efficiently with the new features, the code snippet to resolve the problem, and then an in depth analysis of the code and how it works. For the PHP 5 programmer this is a valuable reference that they will be sure to be reach for often when dealing with new programming challenges. PHP 5 Recipes is highly recommended.
4 of 4 people found the following review helpful
5.0 out of 5 stars Outstanding book -- and more than advertised Aug. 8 2006
By R. Gauer - Published on
More than just a recipe book, PHP 5 Recipes is an outstanding overview of many PHP tools and techniques.... and while Apress suggests the book is published for programmers already somewhat familiar with PHP, its clear language and great example sets make it useful for someone learning PHP. Each chapter starts with a basic review of the foundation of the subject matter to be covered: the variables section, for example, begins with a "PHP 101"-style review of how PHP variables are identified and used. Each chapter then builds from these basics to cover more advanced techniques. Two final notes: First, this is certainly one of the best written programming guides I own: The language is clear and obvious effort went into making the book both readable and enjoyable. Second, the code provided through the publisher's web site is clean and typo-free, which is especially helpful (and not always a sure thing with programming books). A real resource.
5.0 out of 5 stars This is still a great book in 2015, get a copy. Feb. 25 2015
By J. Dadlez - Published on
Format:Paperback|Verified Purchase
This book is freaking outstanding! I don't know why more people don't know about this book. It's a great reference to the courses I'm taking in PHP. Even though it came out in 2005 it's still relevant. I hope that Apress updates this book and puts out more recipe titles.
Search Customer Reviews
Only search this product's reviews

Look for similar items by category