I am a fairly experienced C++ programmer who is just starting to learn PHP.
Since I am a fan of OOP, I would like to ask if there are any books, tutorials or articles which
cover the subject of Object Orientation using PHP

Thanks in advance

George Sgouros

    Yes, there are many books, tutorials and articles dealing with OOP using PHP.

      Hmm, maybe I wasn't clear enough. I admit it.

      What I meant was to ask for some suggestions on books, articles etc which address the use of the OOP paradigm using PHP.

      Thanks again!

      George

        6 days later

        If I were you, i'd wait for PHP 5 as PHP is more geared for Object Orientated PHP.

        Not many PHP developers use Object Orientated PHP, if i'm not wrong, however, more and more people will use it in PHP 5 as PHP 5 will be better for OOP, and if your busy learning OOP in 4, 5 will end up confusing you.

        Ta

          If 5 confuses those of us who use oo programming in php then I would say the designers of the upgrade failed their job.

          An upgrade to a language should not make such sweeping changes that experienced programmers must relearn vast amounts of material.

            Originally posted by drawmack
            If 5 confuses those of us who use oo programming in php then I would say the designers of the upgrade failed their job.

            An upgrade to a language should not make such sweeping changes that experienced programmers must relearn vast amounts of material.

            But if you're still learning about OO programming, then it would be better to learn PHP5's implementation than PHP4's.

              An upgrade to a language should not make such sweeping changes that experienced programmers must relearn vast amounts of material.

              If my above quote didn't work, ahh well 😛

              developers that are comfortable with 4 are fine with the move. 5 basically moves more into OOP where 4 has the features, just more difficult.

              All I am saying is that learning PHP 4 OOP is not the easiest (for me anyway). 5 is easier with built in functionality like passing the object between functions. In 4 you had to pass the entire object, where in 5, its automatically remembered.

              If you really want to view a list of changes, check www.php.net

              Ta.

                Write a Reply...