Live data from Hacker News

MVC is dead, it's time to MOVE on

cirw.in

231–233 of 233 posts

Re: MVC is dead, it's time to MOVE on

#231
There is no new here. You have a point here mvc need some upgrades. But it is not dead.

You simply divide controller into 2 parts.

1. Events 2. Operations

I too find event also can be think as a router. The title is bad. This is not new. But a good useful practise.

Re: MVC is dead, it's time to MOVE on

#233

Earlier quoted context omitted.

That's not inconsistent. A view is just an interface layer. Whether it's interfacing to a human or not is irrelevant.

This whole discussion is about MVC. In order to argue about MVC we should have a common understanding of the principles of MVC. MVC was invented by Trygve Reenskaug. His definition of MVC is both consistent and readily accessible. Therefore I have repeatedly referred to him for a definition of the components of MVC. Surprisingly, many of the posters don't seem to regard the inventor of MVC as much of an authority on…

If you take Reenskaug's original MVC, and replace the human with an external system, what changes in the M-V-C part of the architecture? Nothing. Not a jot. It's identical, or can be. What's important here isn't the original intent of the architecture, it's what we can use it for. My butterknife isn't any less a butterknife because I'm cutting an apple with it, is it?

The problem here is that Reenskaug explicitly abrogated the authority you're appealing to. He recognised that MVC as originally posed was problematic and incomplete, and invited others to refine it via a pattern language, making MVC a metadefinition. At this point in history, you simply can't point at "MVC" and say that the original definition is canonical.

If you're still going to appeal to the original definition, the View still isn't a visual representation. That's the Editor. Everyone seems to forget about that bit. If you exclude the Editor, we're no longer in Reenskaug-MVC, so even if they weren't in the first place, machine representations would be ok. If you include it, your objection to JSON and RSS representations per se falls apart, because they can be perfectly valid technical details of the Editor layer under control of the View.

   If this definition suits your application, good for you. But you are no longer talking about MVC.
Yes, I am. I'm just not talking about your definition of MVC, which is needlessly proscriptive.
Post reply on HN