Connecting Tech Pros Worldwide Forums | Help | Site Map

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

Krimgelas
Guest
 
Posts: n/a
#1: Sep 27 '05
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

Erwin Moller
Guest
 
Posts: n/a
#2: Sep 28 '05

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


Krimgelas wrote:
[color=blue]
> 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[/color]

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
Dikkie Dik
Guest
 
Posts: n/a
#3: Sep 28 '05

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


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:[color=blue]
> 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[/color]
Closed Thread