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

Resources on object oriented PHP (books, online,...) ?

P: n/a
Hello,

I have been programming in PHP for a while, but always the classic function
oriented approach. I would like to learn how to program in PHP with an
object oriented approach, but so far have found little resources. I would
prefer to find a paperback book that explains this approach in a clear way,
without it being too simple or too advanced. Can anybody recommend me some
good resources on this matter?

Thanks,

Kris
Sep 27 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Krimgelas wrote:
Hello,

I have been programming in PHP for a while, but always the classic
function oriented approach. I would like to learn how to program in PHP
with an object oriented approach, but so far have found little resources.
I would prefer to find a paperback book that explains this approach in a
clear way, without it being too simple or too advanced. Can anybody
recommend me some good resources on this matter?

Thanks,

Kris


Hi Kris,

Maybe not very surprising:
http://nl2.php.net/manual/en/language.oop.php
for php4

and
http://nl2.php.net/manual/en/language.oop5.php
for php5

should be a good startingpoint.

ALso, I would suggest to check www.oreilly.com and related sites as
www.onlamp.com.
They have excellent searching implemented, including searching for books.

eg:
http://www.onlamp.com/pub/a/php/2002...undations.html

My rule of tumb: If I need to learn a new technic, I buy a (recent) book by
O'Reilly on the subject.
I did that many times by (me old :P) and I was never disappointed.
:-)

(No, I don't work for them)

Hope that helps.

Regards,
Erwin Moller
Sep 28 '05 #2

P: n/a
Maybe not as a first introduction to object oriented programming, but I
recommend "Refactoring: Improving the Design of Existing Code" by Martin
Fowler. There's a nice example of how to transform a procedural style
program to an object-oriented one.

Best regards

Krimgelas wrote:
Hello,

I have been programming in PHP for a while, but always the classic function
oriented approach. I would like to learn how to program in PHP with an
object oriented approach, but so far have found little resources. I would
prefer to find a paperback book that explains this approach in a clear way,
without it being too simple or too advanced. Can anybody recommend me some
good resources on this matter?

Thanks,

Kris

Sep 28 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.