I've been coding in PHP/MySQL for about three years, and I must admit that my coding practices are amateurish. I've almost completed a rather large project that is similar in many ways to a content management system, but the code is so complex that now, when I want to add a feature, I get lost in my own code!! It sometimes takes me days to accomplsh something that I know should take hours.
Clearly, I need to start all over and recode using a much better approach, so my thought is - find a good project of professionally designed OOP code to study, and learn good technique from that. Would Joomla provide that model of code for me? Any suggestions would be appreciated.
Is Joomla a good model to learn elegant OOP coding practices?
Moderators: tjay, seadap, Rogue4ngel, matthewhayashida
-
- Joomla! Fledgling
- Posts: 3
- Joined: Thu Nov 08, 2007 9:57 pm
Re: Is Joomla a good model to learn elegant OOP coding practices?
Well, I'm not a coder at all and it's not been so long since I learnt PHP. But about oop and general coding practices Joomla helped me a lot.
But I'd suggest not using 1.0 but 1.5 because it's written in a more object oriented way and implements many design patterns. So v1.5 is what you are looking for, I think.
Hth,
Ercan.
But I'd suggest not using 1.0 but 1.5 because it's written in a more object oriented way and implements many design patterns. So v1.5 is what you are looking for, I think.
Hth,
Ercan.
My Joomla! 1.5 extensions - http://joomla.ercan.us
Progress is made by lazy men looking for easier ways to do things.
Progress is made by lazy men looking for easier ways to do things.
- manuman
- Joomla! Enthusiast
- Posts: 211
- Joined: Fri Aug 12, 2005 1:58 am
- Location: Albany - Western Australia
- Contact:
Re: Is Joomla a good model to learn elegant OOP coding practices?
Pentacle is quite correct... start with 1.5.
A very good resource if your getting started in OOP with Joomla! can be found on the Joomla! dev site here... http://dev.joomla.org/component/option, ... roduction/
A very good resource if your getting started in OOP with Joomla! can be found on the Joomla! dev site here... http://dev.joomla.org/component/option, ... roduction/
Core Team Member :: Project Manager & Foundation WG Coordinator
OSM Board Member :: Treasurer
Vote for Joomla! http://www.packtpub.com/nominations-homepage
OSM Board Member :: Treasurer
Vote for Joomla! http://www.packtpub.com/nominations-homepage