Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is MVC a bad thing?

I've been reading through a couple of questions on here and various articles on MVC and can see how it can even be applied to GUI event intensive applications like a paint app.

Can anyone cite a situation where MVC might be a bad thing and its use ill-advised?

EDIT: I'm specifically talking about GUI applications here!

like image 326
joshcomley Avatar asked May 25 '09 14:05

joshcomley


People also ask

What are the disadvantages of MVC in must must?

Must have strict rules on methods. There is not much in the disadvantages part of the architecture. And the disadvantages are not so huge and are very easy to ignore in comparison with all the benefits we get. If you have any questions regarding MVC, please feel free to use the comment section given below.

What is MVC and how does it work?

First of all, let us learn what is MVC. What is MVC? MVC stands for Model-View-Controller. It is an architecture or a software design pattern that makes creating huge applications easy.

What are the advantages of MVC architecture?

Advantages of MVC architecture: 1 Development of the application becomes fast. 2 Easy for multiple developers to collaborate and work together. 3 Easier to Update the application. 4 Easier to Debug as we have multiple levels properly written in the application.

What is MVC (Model View Controller)?

What is MVC? MVC stands for Model-View-Controller. It is an architecture or a software design pattern that makes creating huge applications easy. It does not belong to specific programming language or framework, but it is a concept that you can use in creating any kind of application or software in any programming language.


2 Answers

I tried MVC in my network kernel driver. The patch was rejected.

like image 114
Aiden Bell Avatar answered Sep 30 '22 03:09

Aiden Bell


I think you're looking at it kind of backwards. The point is not to see where you can apply a pattern like MVC, the point is to learn the patterns and recognize when the problem you are trying to solve can naturally be solved by applying the pattern. So if your problem space can be naturally divided into model, view and controller then it is a good candidate for MVC. If you can't easily see which parts of your design fall into the three categories, it may not be the appropriate pattern.

like image 32
Robert Avatar answered Sep 30 '22 03:09

Robert