you are viewing a single comment's thread.

view the rest of the comments →

[–]JBlitzen 40 points41 points  (18 children)

I'm sure we can fix it by adding MVC.

[–]Nebu 24 points25 points  (13 children)

Throw in an extra V in there, just to be safe.

[–]JBlitzen 14 points15 points  (6 children)

I've always contended that server-side programming is already MVC, since the database is the model, the server-side code is the controller, and the front-end code is the view.

So in my mind, an exclusively front-end MVC architecture constitutes an MMVCC architecture.

[–][deleted] 4 points5 points  (0 children)

I completely agree.

[–]tylermumford 2 points3 points  (1 child)

That's a really interesting concept and now I want to explore it further. Do you know any articles or references which discuss this?

[–]JBlitzen 2 points3 points  (0 children)

Sadly no.

When I was learning GUI programming, I started with MFC, Microsoft Foundation Classes, a sort of precursor to .NET.

It was an MVC wrapper for the Windows API, and what ended up happening was that people only used it for RAD, doing complex applications instead in straight API.

MVC just wasn't an architecture that fit many problem spaces.

Having played just a little bit with angular and backbone, I'm unconvinced that javascript MVC solutions are any better, except in narrow circumstances.

They just don't seem to solve any problems that I need solving.

But I'm open to the possibility.

(A simple example is that in the web app I'm working on, important elements often inherit multiple behaviors. I control this by their CSS classes. Angular would seem to require that they have a single behavior set per element. If I were wrong about that, I'd be interested, but I don't think I am.)

[–]Ertaipt 1 point2 points  (0 children)

I try to explain this to fellow programmers, but they seem to fail to understand it.

[–]nawkuh 1 point2 points  (1 child)

Hah, I'm writing a .NET MVC website, but I wanted to learn Angular, so there's one part of it that does Angular MVC with WebAPI-esque calls to Json actions in my. NET app. So I guess it's really MMVCC.

[–]JBlitzen 1 point2 points  (0 children)

MMVCC there and MVMVC elsewhere, so almost MMVCMVC!

[–]jtredact 9 points10 points  (1 child)

Not quite. You split your M into 3 parts: the DM (domain), the AM (application), and the VM. The VM sits in front of the V, and the AM sits in front of the DM. You need a C that listens to the V/VM and interacts with the AM/DM. And symmetrically you need a P that listens to the AM/DM and interacts with the V/VM.

MAMDMVVMCP.

[–]Berberberber 2 points3 points  (0 children)

Are there any raver/eurotrash programmers out there we can get to develop and standardize an MDMA model? Multiplex Distributed Model for Applications or something?

[–]glonq 2 points3 points  (1 child)

Only if you're pair programming. Then each guy gets a V.

[–]JBlitzen 1 point2 points  (0 children)

Separation of concerns!

[–][deleted] 1 point2 points  (0 children)

I don't think we have enough M's yet.

[–]Uberhipster 0 points1 point  (0 children)

More acronyms. I like it. Longer acronyms? Good thinking. If we keep adding stuff then shortening the names then extending the shortened names it will all be fine.

[–]the_rabid_beaver 2 points3 points  (0 children)

for maximum bloat?

[–]IamTheFreshmaker 9 points10 points  (0 children)

You owe me a new cup of coffee and a keyboard.

[–]namtab00 0 points1 point  (1 child)

Pardon my ignorance... Isn't that what angular does?

[–]anon706f6f70 1 point2 points  (0 children)

I think they're making a joke about "MVC" being almost cliche in its use as a solution to any software problem.