Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- php oop


Matthew1980 - 12:06 pm on Jun 3, 2010 (gmt 0)


Hi there Lolalola,

I too am just starting to learn OOP, and am finding it quite alot of fun, especially when it works. For places of reference php.net is the best place as a start point - but we all have our different ways of learning. I started php years ago, and decided to learn OOP when I had got the hang of just writing a script, and honing it to function better so that the background experience would pay off when trying a new way of structuring a site. I'm glad I made that choice.

One thing to be wary of is the differences between the PHP4 and PHP5 class engine/structure, as this has caught me out a few times in the last day or two.

My advice: Start with something simple, learn how things are structured, and see how they interact - see what happens when you change var types etc - this is how I have gone about it.

There are a few decent books out, just depends on how much you are willing to pay.

Have fun with whatever you decide to go with.

Good luck!

Cheers,
MRb


Thread source:: http://www.webmasterworld.com/php/4145176.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com