Which open source PHP project has the 'perfect' OOP design I can learn from?
- by aditya menon
I am a newbie to OOP, and I learn best by example.
You could say this question is similar to Which Scala open source projects should I study to learn best coding practices - but in PHP.
I have heard-tell that Symfony has the best 'architecture' (I will not pretend I know what that exactly means), as well as Doctrine ORM. Is it worth it to spend many months reading the source code of these projects, trying to deduce the patterns used and learning new tricks?
I have seen equal number of web pages dissing and liking Zend's codebase (will provide links if deemed necessary).
Do you know of any other project that would make any veteran OOP developer shed tears of joy?
Please let me add that practicality and scope of use is not a concern at all here - I just want to do:
Pick a project that has a codebase deemed awesome by devs way better and greater than me.
Write code that achieves what the project does.
Compare results and try to learn what I don't know.
Basically, an academic interest codebase. Any recommendations please?