PHP: The Good Parts and over 2 million other books are available for Amazon Kindle . Learn more
  • RRP: £19.99
  • You Save: £0.01
FREE Delivery in the UK.
Only 2 left in stock (more on the way).
Dispatched from and sold by Amazon.
Gift-wrap available.
Quantity:1
PHP: The Good Parts has been added to your Basket
+ £2.80 UK delivery
Used: Good | Details
Condition: Used: Good
Comment: Dispatched from the US -- Expect delivery in 2-3 weeks. Former Library books. Shows some signs of wear, and may have some markings on the inside. 100% Money Back Guarantee. Shipped to over one million happy customers. Your purchase benefits world literacy!
Trade in your item
Get a £0.34
Gift Card.
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 all 2 images

PHP: The Good Parts Paperback – 30 Apr 2010

2 customer reviews

See all 2 formats and editions Hide other formats and editions
Amazon Price New from Used from
Kindle Edition
"Please retry"
Paperback
"Please retry"
£19.98
£9.13 £0.99
£19.98 FREE Delivery in the UK. Only 2 left in stock (more on the way). Dispatched from and sold by Amazon. Gift-wrap available.

Special Offers and Product Promotions

  • Win a £5,000 Amazon.co.uk Gift Card for your child's school by voting for their favourite book. Learn more.
  • Prepare for the summer with our pick of the best selection for children (ages 0 - 12) across Amazon.co.uk.


Win a £5,000 Amazon.co.uk Gift Card and 30 Kindle E-readers for your child or pupil's school.
Vote for your child or pupil(s) favourite book(s) here to be in with a chance to win.

Product details

  • Paperback: 178 pages
  • Publisher: O'Reilly Media; 1 edition (30 April 2010)
  • Language: English
  • ISBN-10: 0596804377
  • ISBN-13: 978-0596804374
  • Product Dimensions: 17.8 x 0.9 x 23.3 cm
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (2 customer reviews)
  • Amazon Bestsellers Rank: 869,532 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

Book Description

Delivering the Best of PHP

About the Author

Peter MacIntyre lives and works in Charlottetown, Prince Edward Island, Canada. He has over 20 years of experience in the information technology industry, primarily in the area of software development.

Peter's technical skill set includes several client/server tools and relational database systems such as PHP, PowerBuilder, Visual Basic, Active Server Pages, and CA-Visual Objects.

Peter is certified by ZEND Corporation on PHP 4.x and has contributed writing material for Using Visual Objects (Que Corp.), Using PowerBuilder 5 (Que Corp.), ASP.NET Bible (Wiley Pub.), and Web Warrior Survey on Web Development Languages (Course Technology). Most recently he has co-authored the Zend Studio for Eclipse Developer's Guide - Addison-Wesley.

Peter is a former contributing editor and author to the on-line and in-print magazine called php|architect (www.phparch.com). He has also spoken several times at North American and International computer conferences including CA-World in New Orleans, USA; CA-TechniCon in Cologne, Germany; and CA-Expo in Melbourne, Australia.


Inside This Book

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

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

5.0 out of 5 stars
5 star
2
4 star
0
3 star
0
2 star
0
1 star
0
See both customer reviews
Share your thoughts with other customers

Most Helpful Customer Reviews

4 of 5 people found the following review helpful By Tony Collins on 26 Sept. 2010
Format: Paperback Verified Purchase
I didn't check how many pages this book contained, so I was really disappointed when it arrived. It's tiny!

But it is absolutely brilliant. It managed to get me to understand some things I was having trouble with, in just a few paragraphs.

The remit of these books seems to be "just tell them stuff quickly, give them some examples and move on". And it's an excellent philosophy.

Absolutely not for the beginner, but if you've got a basic grasp of PHP this book is a must. I totally recommend it.

I'm surprised at how strong my recommendation is, for such a small book. I *love* those big heavyweight O'Reilly books. But when a book can advance my knowledge as quickly as this one did, I have to recommend it to everyone.

It's small enough that you should probably buy it even if you're an expert - it won't waste space on your bookshelf.
Comment 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 Verified Purchase
Arrived quickly in perfect condition.

2010, slim volume programmer's reference, approx A5 150 pages.

Concise and fairly comprehensive guide to the language, including a short chapter on PHP 5.3, I ordered this book as a reference book for learning and writing in PHP to supplement online research, and consider it perfect for this purpose.
Comment 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 Helpful Customer Reviews on Amazon.com (beta)

Amazon.com: 12 reviews
48 of 49 people found the following review helpful
Knowing the Good Parts requires understanding the bad 6 Sept. 2010
By Stephen McMahon - Published on Amazon.com
Format: Paperback
O'Reilly's "The Good Parts" series began with Crockford's outstanding "JavaScript: The Good Parts," which established a very high standard for a book claiming to detail the good parts of a technology. In "The Good Parts," Crockford detailed a great many things that were fundamentally wrong in the definition and practice of JavaScript and how it was possible to carefully use a well-chosen subset of the language, "the good parts" to achieve more professional results.

If there's any modern programming language that's more synonymous with bad architecture and poor real-world practices than JavaScript, it's PHP. The top tier of PHP programmers acknowledge this and work in environments that rigorously enforce coding standards meant to protect them from the bad parts of PHP.

I turned to "PHP: The Good Parts" with the hopes that it might detail these kinds of standards and practices. Instead, I found a through-the-looking-glass view into a cheerleader world where PHP is "nothing but good" and the author is at a loss to think of anything wrong with the language.

One could blame this on the author, but I'm inclined to blame it on the publisher. O'Reilly, did you really not know that you had something special going with "the good parts" and that the title promised a book by a master showing the benefit of a lot of experience? Or, did you cynically think that the general level of PHP programming expertise is so low that nobody would notice the difference?
36 of 36 people found the following review helpful
Author missed the point 5 Oct. 2010
By Gregory Fodor - Published on Amazon.com
Format: Paperback
The author clearly never read Crockford's Javascript: The Good Parts, or at least if he did he missed the point entirely. Crockford's book served as a map to guide you through the best ways to use Javascript without falling into pitfalls. Javascript, a language programmers have been raised to detest due to shoddy examples abusing the worst parts of the language, started to see its reputation turn around when Crockford's book hit the shelves. Crockford made a strong case that underneath it's Bad Parts lie a beautiful language that programmers can find joy in.

No such case is made in this book. In fact, a good chunk of this book is dedicated to building some project involving an SMS gateway instead of talking about the language semantics that make PHP what it is. The author's claim that he doesn't think there are any Bad Parts to PHP (in the "Bad Parts" appendix) shows he has not worked with many other programming langauges, if any, than PHP. I have a hard time believing the choice for the title of this book was meant for any reason other than to sucker people in (like myself) who loved Crockford's book and expected a similar "clean slating" for the other much loathed language of the web, PHP.

I was hoping for an in-depth discussion of the details of the language, the design choices its author made, and how to avoid common traps when writing PHP code. I wanted to see what functions and constructs to avoid, and what patterns were common enough to use idiomatically. Instead what I got was a basic introduction to the simplest concepts in the language ("Objects" being the epic crescendo of this grand tour) and many pages of rambling on about some SMS project. I would have read through it in more detail if it weren't for the author's ridiculously bad security through obscurity advice peppered throughout, which I'll spare him the pain of seeing reprinted here.

If you want to learn PHP, pick up another book. If you want someone to dissect the language for you and tell you how to write Good PHP instead of Bad, well, I guess we'll just have to wait for that book to be written. It's a shame someone has already taken the title it'll need.
32 of 32 people found the following review helpful
Misses every possible audience 27 Oct. 2010
By Scott Shattuck - Published on Amazon.com
Format: Paperback
"The Good Parts" series, as established by Douglas Crockford, set a high standard that helped any JavaScript developer move up one or more levels in their craft by gaining a clear understanding of what was good _and bad_ about JavaScript. As an experienced JS developer with over a decade of pure JavaScript experience I found almost nothing to criticize about that book and was reminded of a few subtleties I'd forgotten over the years. It was a perfect refresher for me and a great introduction for anyone less experienced in what to avoid.

This book does nothing of the sort.

Unlike JavaScript, I'm completely new to PHP. I've never written a single line of the stuff. Going on the basis of my experience with Crock's book I had hoped to get a useful introduction to PHP and a clear view of the minefield that experienced programmers realize exists in every language. This book blew smoke in every direction; the author even wasted my time by claiming he couldn't really think of any bad parts. I wish I'd seen that comment when scanning the book in the bookstore, I could have saved myself a lot of time and $.

From a pure beginner perspective simple things like the '.' operator for string concatenation are never explained, they just start appearing in code samples. In terms of language introduction there's fragmented coverage of the core language constructs, scattered coverage of basic string and array functions with no summaries or API/signature examples, and no coverage of generally accepted PHP coding standards (the samples in the book don't use "fully bracketed ifs" for example). I don't feel like reading this book allows me to do anything other than go in search of another introductory book on PHP armed with some idea of what _not_ to buy.

If I were an experienced PHP programmer I can't imagine I would have found anything of value in this book. The language coverage is so basic I presume it's common knowledge to anyone who's used PHP for any period of time. At the same time there are no minefield topics worth discussing with the possible exception of the discussion around the admittedly questionable decision to add 'goto' to PHP 5.3.

As someone who's done OO development in a half-dozen other languages I'd have to say Chapter 6, on OO in PHP, should be torn out and run through a shredder. It's the worst coverage of OO I think I've ever seen in print. Unfortunately, subsequent chapters refer to Chapter 6 as if it taught you something that you'd need to know.

All in all this book has to be one of the worst O'Reilly titles I've ever read...and I've read over 100 over the years. Admittedly ORA has been disappointing me more and more often in recent years, but not all of what's wrong with this book can be laid at the publisher's feet.

Perhaps this is all just a reaction to expectations set by the title which were completely unmet. Consider yourself warned however. If you think this book is going to give you the same meaty-yet-concise treatment of PHP that Crock did for JS you're going to be very disappointed.
5 of 5 people found the following review helpful
PHP Parts 20 Jun. 2012
By Ben - Published on Amazon.com
Format: Paperback Verified Purchase
My sole experience with The Good Parts series has been with JavaScript The Good Parts, written by Douglas Crockford, which is an excellent book. It goes into deep detail of the JavaScript language, discussing it's type system, functions, closures, object model, and object functional reference. It explains the best practices of a JavaScript programmer and what bad practices to avoid. It is an excellent reference for both the novice JavaScript programmer and the seasoned. It cleared the name of somewhat misunderstood and misused language and saved the world from slews more of misguided code.

That is standard I expect when I see the "The Good Parts" label on a book published by O'Reilly. Much to my disappointment, I did not experience anything approaching that same level of quality or discussion in PHP The Good Parts. This book is written only for a novice programmer, and I might even argue an individual who has never written code. It does not promote the best practices of our industry, nor discourage the bad. For example, the use "define" is encouraged within the first few chapters. Although, listed as the first item of the bad parts, "goto" is listed among the good parts! How can "goto" ever be considered a good part of a modern language that offers classes and other complex flow structures???

PHP has been plagued by a legacy of global functions, procedural behavior, and the "dot" concatenation operator for a long time and with PHP 5.3+ is finally clearing its name. What better time to publish a PHP The Good Parts manual resembling the JavaScript counterpart? Instead, we are given this book, which focuses on the same old properties of PHP. An author should be honest and I feel that Peter MacIntyre was too fair to PHP's bad parts.

I would not recommend this book to any developer I want working on my team. I would not recommend this book to someone looking to learn how to program.

I propose the book either be taken off the market or renamed to "PHP, Parts."
4 of 5 people found the following review helpful
hasty cash-in with misleading title 17 Feb. 2011
By _eam 0 n_ - Published on Amazon.com
Format: Paperback
Maybe it is because I have a lot of programming experience that I find this book poor and it may well cover things that the novice won't find in the weightier tomes but I felt a bit a bit let down by this book. I was hoping I would learn some neat PHP tricks and producitivy hacks or some best practices in how to organise code and build applications. Instead you get some very short examples of core functions and how to use them. $_GET and $_POST are not "the good parts" of PHP. They are the fundamentals. This book would be useful for a complete newcomer to the language who already has experience of another non-similar language or an intermediate PHP user perhaps migrating from an older version of the language.

Pluses of this book:
+ Well written accessible
+ Gives examples of some Basic and Basic-to-Intermediate features of PHP

Minuses
- Not enough detail for complete novices
- Not anything more than in the PHP online manual
- Not much useful for intermediate PHP users
- Use of MD5
- Very short
Were these reviews helpful? Let us know


Feedback