Angular.js, is it MVC, MVVM or MVP?

Asked

Viewed 3,254 times

3

I know that in angular projects has model, view and controller but many say that angular.js is MVVM and others say it is MVP

  • 1

    I have read in some articles on the internet stating with certainty that Angular is MVC = Model View Confusion.

  • 1

    I know it’s very difficult to define, even if both the mvc and the mvvm have model view and controller, but how I work with angular I get embarrassed when people ask me this question... Although trying to explain passes the impression that I have no idea what I’m doing rsrs

  • 2

    The big problem is that it can be either one or more of one together (roughly speaking). Angular itself defines it as MVW, so that’s what we should follow as an official. What ends up being redundant. That’s why MVC(Confusion) =D I think this will depend much more on how you organize your work than what the Framework itself is.

2 answers

3


There is a lot of information on the internet about this subject and despite an advertising that google does about its standard talking that is MVW, Model-View-Whatever in which I agree with @Celsomtrindade what turns out to be a redundant response.

After researching a lot about it and have obtained the experience I have and validating my knowledge in the documentation of the https://docs.angularjs.org/api/ng/directive/ngController
And following the stackoverflow on the tag Angularjs on /tags/angularjs/info also based on w3schools https://www.w3schools.com/angular/

I affirm that Angularjs is MVC Model View Controller

0

Angular js is based MVW

The MVW standard is not really a standard, MVW, it means Model-View-Whatever, IE, whatever standard you think will program in Angularjs, do not waste time, just do.

Source...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.