|
|
|
|
|
by cesare
6168 days ago
|
|
If you're a decent enough programmer (web development is really easy compared to other fields) and you really want versatility, coding from scratch without using a framework is still the best decision. This is not necessarily true for non web apps. I love Cocoa for instance and the MVC pattern is great for most kinds of apps. But not for the web, IMHO. It's overkill. There are too many unnecessary abstractions from the protocols. The LAMP stack already gives you everything you need. For instance, PHP with mod_php already is a template processor. There's no need to build another one on top of it. Unless you don't know what you're doing, which is bad anyway. I still prefer to parse the query string myself, to define my SQL queries (and most of the times a single query can replace 4-5 queries generated from a framework so apps are much faster) and to keep the data as clean and separated from the code as I can (data is always much more important than code and it's much better if it is code agnostic). With web frameworks there's a lot of magic and it's faster to have a web app up and running. But it's a pain as soon as you want to modify the default behaviors. At least in my experience. |
|
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.