Difference between MVC & MVP & MVVM?
Thread TagsAdobe Illustrator Adobe InDesign Adobe Photoshop Android Development Android Programming Android Studio Automation Testing C / C++ Programming Career Options College Lounge css designed Design layout digital marketing Digital Marketing / SEO Fireworks Graphic Design Graphic designing Graphics Design Graphics Designing HTML? Illustrator Internship Training logo Design logo designing mobile phones Photoshop QA react-native Scroll Website SEO Single Page Website Testing Typography UI UI/UX Development UI Design UI Designing UI development User Interface UX Design Viewport Web Designing web pages Website Design
Log in with your username and password
Register for free!
Registration at Smart Mentors is completely free and takes only a few seconds. By registering you’ll gain:
- Full Posting Privileges.
- Access to Private Messaging.
- Optional Email Notification.
- Ability to Fully Participate.
- Author Replies
- January 3, 2019 at 6:22 pm #51447
MVC (Model View Controller):
M: Model – data model classes
V: View – XML files
C: Controller – handles the business logic
The controller is linked with the Android APIs making it difficult to unit test. Modularity & flexibility is a problem since the view and the controller are strongly linked.
MVP (Model View Presenter):
The View includes the XML and the activity/fragment classes. So the activity would ideally execute a view interface making it easier for unit testing.
MVVM (Model View ViewModel):
The Model contains data, tools for data processing, business logic. The View Model is responsible for covering the model data and preparing the data for the view. IT also provides a hook to pass events from the view to the model.
You must be register. Registration is 100% free.to reply to this thread.Please or