473,372 Members | 798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,372 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 2710
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

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.