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

Anybody can read Kindle bookseven without a Kindle devicewith the FREE Kindle app for smartphones, tablets, and computers.
PHP 5 Recipes: A Problem-Solution Approach: A Problem - Solution Approach
 
See larger image
 

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$ 39.07 What's this?
Print List Price: CDN$ 48.28
Kindle Price: CDN$ 21.48 includes free international wireless delivery via Amazon Whispernet
You Save: CDN$ 26.80 (56%)

Formats

Amazon Price New from Used from
Kindle Edition CDN $21.48  
Paperback CDN $29.78  

Customers Who Bought This Item Also Bought


Product Description

Product Description

What you hold in your hands is the answer to all your PHP 5 needs. We have written PHP 5 Recipes with a number of purposes in mind.



First, this book is a source of instant solutions, including countless pieces of useful code that you can just copy and paste into your own applications, giving you answers fast and saving you hours of coding time.



Second, this book is a useful reference to the most important aspects of the PHP 5 language, including the vital functions you know and love from previous versions of PHP, as well as the functions introduced in PHP 5.



Finally, this book explains the PHP 5 functionality in detail, including the vastly improved object-oriented capabilities and the new MySQLi database extension.



We are confident PHP 5 Recipes will be a useful and welcome companion throughout your PHP journey, keeping you on the cutting edge of PHP development, ahead of the competition, and giving you all the answers you need, when you need them.

About the Author

Jon Stephens is an itinerant American technical writer, reviewer and site developer. He has co-written more than five books on web development, including Usable Forms for the Web, and Constructing Usable Web Menus

Nathan A. Good lives in the Twin Cities area in Minnesota. He is a contractor with Alliance of Computer Professionals in Bloomington. When he isn't writing software, Nathan enjoys building PCs and servers, reading about and working with new technologies, and trying to get all his friends to make the move to open source software. When he's not at a computer (which he admits is not often), he spends time with his family, at his church, and at the movies.

Lee Babin is a programmer based in Calgary, Alberta, Canada, where he serves as the Chief Programmer for an innovative development firm duly named The Code Shoppe. He has been developing complex web driven applications since his graduation from DeVry University in early 2002 and has since worked on over 50 custom websites and online applications. Lee is married to a beautiful woman by the name of Dianne, who supports him in his rather full yet rewarding work schedule. He enjoys video games, working out, martial arts, and traveling, and can usually be found working online on one of his many fun web projects at any given time.While Lee has experience in a multitude of web programming languages, his preference has always been PHP. With the release of PHP 5, many of his wishes have been fulfilled.

Frank M. Kromann is the Senior Software Engineer at intelleFLEET, where he is responsible for software design and development as well as hardware integration. Most of his work involves developing database driven web applications, and involves a combination of centralized Linux servers and decentralized Linux and Windows XP systems (touch screen computers) for data acquisition.



Frank has been involved with PHP development since 1997, has developed several extensions to the project, and has contributed to development of the Windows version of PHP-GTK. When he is not writing code, he is on a golf course in Southern California or having fun with his family.


Product Details

  • Format: Kindle Edition
  • File Size: 4907 KB
  • Print Length: 672 pages
  • Publisher: Apress; 1 edition (Sept. 23 2005)
  • Sold by: Amazon Digital Services, Inc.
  • Language: English
  • ASIN: B001D4WX84
  • Text-to-Speech: Enabled
  • X-Ray:
  • 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
0
3 star
0
2 star
0
1 star
0
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 Amazon.com (beta)
Amazon.com: 4.9 out of 5 stars  9 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 Amazon.com
Format:Paperback
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.

P-)
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 Amazon.com
Format:Paperback
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 Amazon.com
Format:Paperback
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 Amazon.com
Format:Paperback
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 Solid referance. Dec 25 2010
By jwzumwalt - Published on Amazon.com
Format:Paperback|Verified Purchase
It is exactly what it is advertised. It is a solid general reference. It contains well thought out general purpose routines that take the guess work out of 75% of the developer's needs. Just the right amount of explanation is given.
Search Customer Reviews
Only search this product's reviews

Popular Highlights

 (What's this?)
&quote;
programming object as being like a noun, with its properties being adjectives (describing aspects of the objects) and its methods being verbs (representing the object's actions or changes that can be made to its properties). &quote;
Highlighted by 3 Kindle users

Look for similar items by category