Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
OOP in PHP.
Ok aside from easier to maintain code and such why is so many people opting to use OOP when dealing with PHP?
Judging from the following article it's not very efficient in terms of execution times:
http://www.webmasterstop.com/56.html
First let me clarify that I have no experience at all in OOP with PHP and basically the most I've ever gotten in PHP programming is dealing with functions.
Is it worth it for me to learn OOP? If I was to get a developer job would they look for OOP experience? Majority wise I mean.
Now if it is better for me to learn OOP, where can I start? What's the best book or site for me to read?
Judging from the following article it's not very efficient in terms of execution times:
http://www.webmasterstop.com/56.html
First let me clarify that I have no experience at all in OOP with PHP and basically the most I've ever gotten in PHP programming is dealing with functions.
Is it worth it for me to learn OOP? If I was to get a developer job would they look for OOP experience? Majority wise I mean.
Now if it is better for me to learn OOP, where can I start? What's the best book or site for me to read?
0
This discussion has been closed.
Comments
If I were to venture a guess as to why people are opting to do more OOP with PHP, it's because they were inspired by my work with Vanilla.
I kid.
It's because PHP 5 has way better OOP support and it's not slow like it used to be.
Do you need it for a programming job? It depends on the type of job you're looking for. I'd say that with simple web programming jobs, you're still very safe just knowing basic php.
As for where to learn OOP, I don't really know. I didn't go to school for programming, I taught myself everything I know, all through trial and error.
*puts on geek hat*
I can code normal php just fine. No real problems, also all self taught. I have been thinking about learning OOP, but it is like starting all over again. Not knowing anything. I really like how clean the code is and easy to navigate... but is it really worth learning? I cant decide. And I have not come accross anything to help me in my decision either.
sorry, late night = bad analogies.
Design Patterns is a great classic OOP text. and i also really recommend Thinking In Java by Bruce Eckels, which i'm pretty sure is available in a free ebook form.