I’ve seen a blog post on Hacker News prompting as MVC is dead and it’s time to MOVE. I was curious at first to look at it and but once I read it I realized it is just a extended version of MVC and it is too much. This post is an innocent attempt to urge MVC is not dead.
Before starting to answer it would be better to have a word on MOVE. Simply its an extension to MVC where you code in
In this I wrote my answer based on Codeigniter (MVC framework for PHP) to make some of my points. But it can be applied with any MVC or HMVC framework available. All of these are my personal thoughts and I might be wrong :)
You don’t need special Event class because Controller already does it with the help of URL Router.
In these days people use ORM and Database abstraction libraries. So we can simply use model to code our logics too. So there is no need of Operation class to specially handle logics.
We can extends thing as many as we can. We can extend MOVE too. But what really matter is ease of use. If it is simple many will accept it. MVC is simple and many use it.
We don’t code each and every thing we need. We tend to use libraries. Still there is a problem with MOVE as where to use libraries. So use it suits where. Inside a controller, model or view.
People like flexibility. So It is up to you or your team to use MVC as you like. The essence here is use it with a discipline. Here is my discipline.
Hope I did a good job on proving “MVC is not dead” :)Continue the discussion on Hacker News