Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Alternatives to the MVC [closed]

What are the alternative "design methods" to the Model View Controller? MVC seems to be popular (SO was built with it, I know that much) but is it the only method used?

like image 405
Teifion Avatar asked Sep 26 '08 20:09

Teifion


People also ask

Is MVC still relevant 2020?

The MVC architectural pattern ruled the software world in the past twenty or so years. It is simple: you never mix your data with the display of them.

Is MVC architecture obsolete?

Is the framework outdated? ASP.NET MVC is no longer in active development. The last version update was in November 2018. Despite this, a lot of projects are using ASP.NET MVC for web solution development.

Why is MVC not good?

A core principle of the MVC pattern is the view layer's ignorance with respect to the model layer. Views are dumb objects. They only know how to present data to the user. They don't know or understand what they are presenting.

What were the major problems with MVC framework?

Major drawbacks of MVC in react js include manipulation of DOM which is very expensive and also at the cost of time and memory wastage. For implementing MVC, knowledge of multiple languages and technologies is required which requires enormous manpower having different expertise.


1 Answers

One of the best write-ups of several different Interactive Application Architecture Patterns out there, is this very detailed and well-researched blog-post. It covers Model-View-Controller, three different flavors of Model-View-Presenter, several different flavors of Presentation-Abstraction-Control, Supervising Controller, Passive View and Hierarchical MVC.

Another interesting pattern is the Presenter First pattern by Atomic Objects. It's not just a Design Pattern, it's also a Process Pattern. IOW: the name "Presenter First" is not arbitrary, it actually describes a development process, in which the Presenter gets written first, driving the design of the rest of the system.

like image 70
Jörg W Mittag Avatar answered Oct 15 '22 00:10

Jörg W Mittag