PHP: The Good Parts: The Good Parts and over 900,000 other books are available for Amazon Kindle . Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime free trial required. Sign up when you check out. Learn more
More Buying Choices
Have one to sell? Sell yours here
or
Get a £5.50 Amazon.co.uk Gift Card
PHP: The Good Parts
 
 
Start reading PHP: The Good Parts: The Good Parts on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

PHP: The Good Parts [Paperback]

Peter MacIntyre
5.0 out of 5 stars  See all reviews (1 customer review)
RRP: £22.99
Price: £19.54 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £3.45 (15%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.
Only 2 left in stock--order soon (more on the way).
Want guaranteed delivery by Saturday, February 11? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Kindle Edition £12.50  
Paperback £19.54  
Trade In this Item for up to £5.50
Trade in PHP: The Good Parts for an Amazon.co.uk gift card of up to £5.50, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Find more products eligible for trade-in.

Frequently Bought Together

PHP: The Good Parts + Essential PHP Security + PHP Cookbook (Cookbooks (O'Reilly))
Price For All Three: £54.91

Show availability and delivery details

Buy the selected items together


Product details

  • Paperback: 176 pages
  • Publisher: O'Reilly Media; 1 edition (27 April 2010)
  • Language English
  • ISBN-10: 0596804377
  • ISBN-13: 978-0596804374
  • Product Dimensions: 23.5 x 17.9 x 0.9 cm
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: 269,021 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Peter MacIntyre
Discover books, learn about writers, and more.

Visit Amazon's Peter MacIntyre Page

Product Description

Book Description

Delivering the Best of PHP

Product Description

Get past all the hype about PHP and dig into the real power of this language. This book explores the most useful features of PHP and how they can speed up the web development process, and explains why the most commonly used PHP elements are often misused or misapplied. You'll learn which parts add strength to object-oriented programming, and how to use certain features to integrate your application with databases.

Written by a longtime member of the PHP community, PHP: The Good Parts is ideal for new PHP programmers, as well as web developers switching from other languages.

  • Become familiar with PHP's basic syntax, variables, and datatypes
  • Learn how to integrate the language with web pages
  • Understand how to use strings, arrays, and PHP's built-in functions
  • Discover the advantages of using PHP as an object-oriented language
  • Explore how PHP interacts with databases, such as SQLite and MySQL
  • Learn input- and output-handling best practices to prevent security breaches

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

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(1)
(1)

Your tags: Add your first tag
 

What Other Items Do Customers Buy After Viewing This Item?


 

Customer Reviews

1 Review
5 star:
 (1)
4 star:    (0)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
5.0 out of 5 stars (1 customer review)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

3 of 4 people found the following review helpful:
5.0 out of 5 stars Small but brilliant: Definitely add this to your collection, 26 Sep 2010
By 
Anthony Collins (London, UK) - See all my reviews
(REAL NAME)   
This review is from: PHP: The Good Parts (Paperback)
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.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 2.6 out of 5 stars (9 customer reviews)

33 of 34 people found the following review helpful:
1.0 out of 5 stars Knowing the Good Parts requires understanding the bad, 6 Sep 2010
By Stephen McMahon - Published on Amazon.com
This review is from: PHP: The Good Parts (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?

24 of 24 people found the following review helpful:
1.0 out of 5 stars Misses every possible audience, 27 Oct 2010
By Scott Shattuck - Published on Amazon.com
This review is from: PHP: The Good Parts (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.


24 of 24 people found the following review helpful:
1.0 out of 5 stars Author missed the point, 5 Oct 2010
By Gregory Fodor - Published on Amazon.com
This review is from: PHP: The Good Parts (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.
 Go to Amazon.com to see all 9 reviews  2.6 out of 5 stars 
Were these reviews helpful?   Let us know
 
 
Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges