By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,537 Members | 2,172 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,537 IT Pros & Developers. It's quick & easy.

Hi, I'm looking for a good book on PHP design patterns for a OOP beginner - Reccommendations please

P: n/a
Hi, I'm looking for a good book on PHP design patterns for a OOP
beginner - Reccommendations please?

Thanks

Paul

Jul 13 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Hi, I'm looking for a good book on PHP design patterns for a OOP
beginner - Reccommendations please?
Design patterns in PHP are rarely different from the ones in java or
most other object-oriented languages. The main difference lies in the
fact that PHP is usually used for web sites and must deal with the
stateless nature of http traffic.

Personally, I do not value design patterns that high. Most patterns
emerge from code. Off course, it does not harm to learn from others, but
a pattern is not a goal in itself.
If you are an OOP beginner, I can recommend "Refactoring" by Martin
Fowler. Not about patterns, but it does add to the feel of object
orientation.

Best regards,
--
Willem Bogaerts

Application smith
Kratz B.V.
http://www.kratz.nl/
Jul 13 '07 #2

P: n/a
Thanks,

Anybody else?

Jul 15 '07 #3

P: n/a
Willem Bogaerts wrote:
>Hi, I'm looking for a good book on PHP design patterns for a OOP
beginner - Reccommendations please?

Design patterns in PHP are rarely different from the ones in java or
most other object-oriented languages. The main difference lies in the
fact that PHP is usually used for web sites and must deal with the
stateless nature of http traffic.

Personally, I do not value design patterns that high. Most patterns
emerge from code. Off course, it does not harm to learn from others, but
a pattern is not a goal in itself.
If you are an OOP beginner, I can recommend "Refactoring" by Martin
Fowler. Not about patterns, but it does add to the feel of object
orientation.

Best regards,
William,

I disagree completely. You can "code and go" on small projects, but
throw together 50 programmers for a two year project and it falls apart.
You need to have a design up front. And even small projects benefit
from a good design being (at least mostly) completed before the first
line of code is written.

The design is the road map to the goal. The code is the transportation.
And the code is the final product.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Jul 15 '07 #4

P: n/a
macca wrote:
Hi, I'm looking for a good book on PHP design patterns for a OOP
beginner - Reccommendations please?

Thanks

Paul
Paul,

Hmmm, wish I could recommend anything really good. But I haven't looked
for quite a while, and the ones I used previously can be hard to
understand for a beginner.

But I agree with William - a good OO design is independent of the
implementation language (at least until you get to the lowest levels).
So don't get hung up on the language;l rather it's the OO concepts which
are important.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Jul 15 '07 #5

P: n/a
On Jul 14, 10:06 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
macca wrote:
Hi, I'm looking for a good book on PHP design patterns for a OOP
beginner - Reccommendations please?
Thanks
Paul

Paul,

Hmmm, wish I could recommend anything really good. But I haven't looked
for quite a while, and the ones I used previously can be hard to
understand for a beginner.

But I agree with William - a good OO design is independent of the
implementation language (at least until you get to the lowest levels).
So don't get hung up on the language;l rather it's the OO concepts which
are important.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================
Paul,

I'm a new-ish programmer myself, currently feeling the need to dive
head-first into design patterns as well. Quite honestly, I don't know
how I managed without OOP and maintained my (and others) code before
it. I work with a couple other PHP guys that work purely procedural
code...and it's maddening. So...you're doing right. =)

I agree with William and Jerry, design patterns are a way of thinking
about a problem and using tried and true practices to aid in coming to
a concise, maintainable and universally understandable solution. I
thought "PHP 5 Objects, Patterns, and Practice" by Matt Zandstra was a
good beginner OOP/Design Pattern PHP-based book. In fact, he bases
his patterns off "Design Patterns: Elements of Reusable Object-
Oriented Software", a must-read after you get a good foundation from
the first book. Some of my next books I want to read are "The
Pragmatic Programmer" and "Code Complete", both highly regarded.

Hope this helps!

Steve

Jul 16 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.