Ask a Jedi: MVC too much work?

Darren asks:

I've been doing some reading into design patterns specifically mvc, it all started as I got into flex, it all seems a bit scary as well , i've never thought about it for coldfusion and as I come from a design/flash background i've never had any formal programming training, i'm just self taught. I guess i can see the benefits of code reuse but it seems alot of work for normal websites, where do you sit on the issue, do you use design patterns at all. Do you think its worth learning, most of the time I work on my own or with one other person so I don't have large development teams to worry about.

I don’t know Darren - can’t we discuss something less controversial like politics or religion? ;)

This comes up from time to time in discussions of using a framework. Obviously if you are building a guest book (remember those?) a framework may be overkill. But one thing to keep in mind is that - at least in my experience - very few projects move from complexity to simplicity. Most projects start simple and grow in complexity. With that in mind - I tend to always use a framework like Model-Glue to help me manage the complexity.

I’m very much pro-framework for this reason alone. Having the framework help me organize and set up my application means I’m thinking less about crap and more about business logic.

So to focus on ‘is it worth it for normal web sites’, I’d say absolutely yes. Is it worth it for a 2 page application on a brochure-ware site? Nope.

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate for Extend by Auth0. He focuses on serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support.

Lafayette, LA https://www.raymondcamden.com

Comments