php book recommendations

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
gravyface
Forum Newbie
Posts: 5
Joined: Tue Apr 04, 2006 12:03 am

php book recommendations

Post by gravyface »

Hello all,

I guess I'd consider myself to be an intermediate PHP developer now (been doing Web development for about 5+ years, 2 of those PHP) and would like to learn more. Tutorials online are great, but I prefer books and "offline" reading in general and would like to find out what the best design/cookbook PHP books are out there. I've read O'Reilly's "PHP in a Nutshell" and Apress' "PHP 5 Recipes A Problem Solution Approach" but found both of them lacking in depth (and even had some glaring design flaws, to some extent) and came across as more of a beginners book.

PHP Architects "Guide to PHP Security" was an excellent book and I'd like to find something like that, but not as focused on security but more on optimization, design patterns, and "best practices" (ugh, I hate that term, but you know what I mean).

Any recommendations?

Thanks
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

For design patterns, I'd look to the classics by Fowler, Gamma et al, among others.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

I think "Guide to PHP Design Patterns" is pretty good if you are looking for an agile, unit testing and patterns based approach.
(#10850)
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

Jason Sweatje: "Guide to PHP Design Patterns" : http://www.phparch.com/shop_product.php?itemid=96

Read the review at http://www.phppatterns.com/doku.php/rev ... n_patterns

It's been on my shopping list for a while now, but looks as if it'll stay there for some time to come.

Also, probably the best online resource for design patterns in PHP is http://www.phppatterns.com/
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

Any PHP book that's available which covers PHP5, OOP and Design Patterns is usually enough to get you started. If PHP is your first programming language then get a from scratch book like Core PHP. I also suggest finding a small (really small) PHP application which is open source and try figuring out how the code works by referring back to your book or the PHP Manual - experience is just as valuable if not more so than reading a book in isolation.
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

Although I don't have any books to recommend off hand I would like to say that this topic should be made a sticky. This question is asked a lot and it would be really easy for people to be able to read through a huge list of different books and find the one they think would be best for em. Also, when a new book comes out someone could post about it in that thread and it would stay there always.

Just a idea.
gravyface
Forum Newbie
Posts: 5
Joined: Tue Apr 04, 2006 12:03 am

Post by gravyface »

Sticky would be a great idea and thanks to everyone who replied.
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post by neophyte »

I second PatrickG's list of books. In some cases those are still on my "wish list".
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Never hurts to take a look at http://ca.php.net/books, although I don't see anything on design patterns and only 2-3 books on php5 :?
Post Reply