|
|
|
|
|
by sanswork
6168 days ago
|
|
I think you are thinking too small. For most small sites I agree that frameworks are overkill but once you get past that they become nearly essential to maintaining your code. Running a web app with even over 10KLOC without some sort of framework in place sounds like a receipt for disaster. Also frameworks do not mean you have to have code generate all your queries or stick another templating language over php. If you've never had to write or maintain a complex web application than I can understand your position but once you do I'm certain you'll change your mind. Also saying web development is easy compared to other fields shows a lack of understanding of the complexity of large web based applications. I've worked in a number of fields and I now focus on web development and for the most part they were all about the same complexity. |
|
In fact I think it is the contrary: for small sites (and small budgets) frameworks can be ok. For big websites custom code is a must.
The idea that using a framework makes code easier to maintain is the complete opposite of my experience.
Big (serious) projects require a lot of custom logic which you should write yourself anyway. And it is a lot more painful since you have to stick to the framework logic if you don't want to break things as soon as you update the framework version or if you don't want to make the code unmaintainable.
I have made my own libraries which are designed in a modular fashion (not OO) that I constantly improve and reuse. Code is clean and you can easily understand the flow of each section.
A MVC framework is not the only way to have clean (modular) code.
Your reasoning would apply if you aren't good at designing software architecture, which is a recipe for disaster especially on big projects.