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!
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.
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.
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? 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.
I tried MVC in my network kernel driver. The patch was rejected.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With