On Aug 29, 4:31 am, Tyno Gendo <nob...@example.comwrote:
Hi everyone
I need to move on a step in my PHP...
I know what classes are, both in PHP4 and 5 and I'm aware of "patterns"
existing, but what I'm looking for are some real world projects eg. Open
Source that people consider to use classes and patterns correctly.
I lack a senior person to lead me in this so I feel I'm losing out on
only using bare PHP class features and not really knowing how to design
proper base classes and use inheritence and patterns etc. in real world
scenarios.
Can anyone point me to some good real world examples such as open source
projects that use these so I can learn properly?
Or perhaps someone knows of good online courses that cover this? I did
a PHP course at a local college, but to say it was BASIC is an
understatement.
Sadly, I don't have any specific examples to give you, but I can offer
you my opinion on this matter.
When I first learned PHP, it was self-taught, and I didn't know much
of anything about programming, let alone OOP. After taking some
university classes, I did some pretty heavy coding in Java, which is
highly object-oriented. Eventually I moved back to PHP, and I found I
was able to apply almost all of what I had learned about objects/
classes/inheritance/object-oriented programming, and using the same
features in PHP was a snap. I guess the moral of my story is that if
you want to educate yourself further, you don't necessarily have to
limit yourself to PHP as the context language. General object-oriented
concepts should apply to your goal.
Or maybe I've totally misread your question and you already have a
good understanding on OOP, and need to know about it's context in PHP
exactly. Heh.