Page 1 of 1

Need Help on Object Oriented PHP

Posted: Thu Oct 18, 2007 11:35 am
by phpwalker
PHP4 gonna die soon, I'm on the way to learn the OO concept of PHP5 now...

Will you guys recommend me some good articles or tutorials, hopefully are for beginners, explain with codes examples.

I know the class, object and inheritance now. But I don't know how exactly to code in OO way in PHP as I have only learnt to code in JAVA at school.

Or any good books that you guys worth recommend to me? An easy to understand, read and absorb PHP 5 book.

I've searched a good tutorial that makes me feel so touch. But I stopped once after I've finished reading the tutorial.
I'm doing my Final Year Project that need to use some library from Zend Framework. So I need the concept on how to implement that.

Please help me... :?

Posted: Thu Oct 18, 2007 7:39 pm
by califdon
You might start with good old reliable http://w3schools.com/. If you know PHP4 and you have some idea of OO (classes, objects, methods, properties), it should come pretty easy.

Posted: Fri Oct 19, 2007 1:35 am
by jmut
I will recommend reading all about http://php.net/oop5
Knowing the syntax specific to php 5 oop you are ok to read any OOP book tutorial or whatever in any language. Some things like particular design patterns are not very appropriate for php5..but this is because of request nature of it..not because cannot be done in php.
But don't narrow yourself to php 5 oop tutorials...there are not that many....look into other books...with java, c++ examples...