472,096 Members | 2,283 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,096 software developers and data experts.

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

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

Thanks

Paul

Jul 13 '07 #1
5 2607
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
Thanks,

Anybody else?

Jul 15 '07 #3
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
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
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.

Similar topics

13 posts views Thread by John Salerno | last post: by
4 posts views Thread by Bob | last post: by
17 posts views Thread by I_got_questions? | last post: by
1 post views Thread by Joel Barsotti | last post: by
2 posts views Thread by dotnet dude | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.