Is the Acronym MVC even accurate?
MVC, Short for Model View Controller is a pretty popular acronym in the web development space, but I wonder, if the acronym itself is making it more difficult for beginners?
I know it did for me.
I think a better acronym might have been RCMV.
Let me explain my thoughts…
Whats the first thing you learn in any MVC tutorial? Routing. Where’s the ‘R’outing in MVC? It’s missing.
Routing is not only the first thing you learn, but it’s also the first thing you deal with for a request to make it’s way in and back out of your webserver. Routing comes first, and it’s not even mentioned in MVC.
Lets add the R to MVC. Now while MVCR rolls off the tongue, It still puts the letters in the wrong order. Routing comes first so it should really be RMVC.
So far so good.
Now about the order of MVC…
Every tutorial I’ve ever read pretty much points routes to controllers.
So logically, our Acronym should be RC _ _
Controllers typically make use of Models, so in order that gives us RCM _ which leaves View or RCMV
See what we did there? We now have an acronym that not only spells out each piece of how we do things, but does so in order.
I wonder, how much easier would this be for people brand new to Software Development? Would it make it 1% easier? 3%? 5%?
It seems to me that at some point in learning, our brains jump from having to read something every time, to “just knowing it”. The amount of time it takes progress like this varies per person. But one thing is certain, up until the point where a developer “just knows it”, they don’t know it, and have to extend some thinking power and energy EVERY time they come across it.
If RCMV can lower the amount of thinking power needed during that critical early learning stage, isn’t that a good thing?
Here’s my ask:
If you find yourself helping a brand new developer try to understand “MVC” try presenting it to them as RCMV and see if that makes it easier.
Who knows, maybe it will catch on.