Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What Alternatives Are There to Model-View-Controller? [closed]

While going through university and from following the development of SO, I've heard a lot about the Model-View-Controller architectural design pattern. I inadvertently used the MVC pattern even before I knew what it was, and still use it in my everyday job. From what I've seen, it's probably the most popular pattern used today. What I haven't heard much about though, are the alternative patterns you can use instead of MVC. What options are there, and for what reasons would you decide to use them over MVC? I'm also interested in knowing the types of systems they are typical of being used for. Finally, what are the pros and cons that come along with using them?

like image 614
Aaron Avatar asked Aug 23 '08 19:08

Aaron


People also ask

What are the alternatives of MVC?

Presentation Abstraction Control (PAC) Model View Presenter (MVP) Model View ViewModel (MVVM) Pipeline.

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.

What was used before MVC?

Trygve Reenskaug invented MVC in 1979. And in 1978, I was using Fortran77 on punch cards. So one answer is: Fortran77 on punch cards.


1 Answers

  1. Passive View - http://martinfowler.com/eaaDev/PassiveScreen.html
  2. Supervising Controller - http://martinfowler.com/eaaDev/SupervisingPresenter.html
  3. Model-View-Presenter - http://martinfowler.com/eaaDev/ModelViewPresenter.html

My personal favorite is the Passive View. More testable than others I've seen including MVC.

like image 192
rmontgomery429 Avatar answered Oct 03 '22 20:10

rmontgomery429