473,473 Members | 1,739 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 2718
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: John Salerno | last post by:
Here are a few I'm considering: Design Patterns Explained : A New Perspective on Object-Oriented Design (2nd Edition) (Software Patterns Series) by Alan Shalloway Design Patterns C# by...
4
by: Bob | last post by:
I know this is a tall order, but I'm looking for a book that talks about the implications of alternative approaches to languages than we typically see, such as allowing multiple inheritance......
17
by: I_got_questions? | last post by:
I just started c programming. I want to migrate to c++. I know a little bit about class/inheritance. I am asking for good books to read. Elementary will be good. Thanks for any comments
1
by: Joel Barsotti | last post by:
Hi, I have a little website that is getting bigger all the time (hit 1M pageviews in a month). I've got an object library I've designed for all the things I use in my website (users, orders,...
13
by: Alan Silver | last post by:
Hello, MSDN (amongst other places) is full of helpful advice on ways to do data access, but they all seem geared to wards enterprise applications. Maybe I'm in a minority, but I don't have those...
2
by: dotnet dude | last post by:
What boook do you guys recommend for somebody with the software development backgroud who wants to get started from scratch with the designing of good sofware application. I am interested in...
0
by: AMDRIT | last post by:
I am looking for better concrete examples, as I am a bit dense, on design patterns that facilitate my goals. I have been out to the code project, planet source code, and microsoft's patterns and...
76
by: lorlarz | last post by:
Crockford's JavaScript, The Good Parts (a book review). This shall perhaps be the world's shortest book review (for one of the world's shortests books). I like Douglas Crockford (because I am a...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.