The MVC pattern is very common-place though and I think even small-scale projects can benefit from its use.
]]>AOP and MVC is something which you should think when your application just just cross the boundary of “small-application”. But what if you implement MVC (I am meaning existing large scale frameworks) but you can just implement the MVC, if you think that it may help to maintain the code.
For a single developer project design pattern and these issues are less effective than a multi developer project. You know these things are invented just to maintain the usability of you code. So if there is no chance of reusing your code and no chance that in next few years you wont open old code files, why bother using design patterns?
I think Design patterns is much more effective on the context of Ruby and Java. PHP developers can still go boom without using it. But better learning it and practising patterns like Singleton, Factory, MVC and Active Record will also increase your market value which is not avoidable at all.
Thanks for writing a cool article.
Hasin Hayder
Zend Certified Engineer
This was not intended to be an in depth examination of specific design patterns … I just wanted to make the point that we should not try to over-engineer projects.
“This is not revelation”
… Perhaps not, but the Java community would have done well by this a few years ago.
I was only trying to offer experience from a Java developer (since 2000) who has seen some crazy things in Java – things that the php world should avoid.
Final point, this website was put up to help total beginners .. web designers. For experienced people, some of the things I cover may bore them.
That said, my articles and videos will address more advanced concepts in time.
–
To be honest, I have to check into where the PHP community stands in terms of their level of sophistication:
Do you still design by inheritance or have you seen that it is better to design by interfaces? How about AOP or dependency injection … does object oriented PHP support those designs?
]]>This is not revelation
(-1)
]]>…
]]>