3 ms·
I think the problem with most MVC frameworks is not the framework themselves, but that that the MVC design pattern should only be considered while refactoring e
by wavephorm 14y ago
I think the problem with most MVC frameworks is not the framework themselves, but that that the MVC design pattern should only be considered while refactoring existing working code. Starting right off the bat with a giant MVC boilerplate isn't necessary and may even be counter-productive.
I write my code initially as one monolithic controller, and then refactor my code into an MVC pattern. It doesn't take that long to move functions from one object an other, and now you're working with an already-functioning piece of code rather than guessing how things might work later on.
- peter_l_downs 14y agoSo this could be the part where I'm not that great a programmer, but the I've had trouble creating apps from scratch with MVC, not just refactoring existing code.
- alttab 14y agoMVC didn't really click for me until I wrote a non-trivial web application in PHP without it.