Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6964217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:53:48+00:00 2026-05-27T15:53:48+00:00

I had watched Jose Smith video and read some tutorial about MVVM, but I

  • 0

I had watched Jose Smith video and read some tutorial about MVVM, but I don’t understand how MVVM is loose coupling, i.e View and ViewModel. (still new to MVVM, only tried to built couples project with it.)

In MVP all View, Model, Presenter has interface, so they can be replace or mock for unit testing.

But in MVVM, I don’t see people using interface on the View or ViewModel.
From my understanding, the ViewModel abstracts the data from Model and expose as properties to the View and have the business logic and data manipulation with the model.

So say if I have ViewModel with .SaveData() method and some properties that is used by the View, how do I replace with other ViewModel if they don’t have interface?

Can someone explain to me how is MVVM loose coupling?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T15:53:48+00:00Added an answer on May 27, 2026 at 3:53 pm

    MVVM is also supposed to be implemented in terms of interfaces. If you have a class MyViewModel then it would also implement IMyViewModel so that it can be mocked for testing. The same goes for the view. So in this specific sense, MVVM is not different from MVP.

    Other than that, the definition of “loose coupling” is, well… loose, so you ‘d need to be more specific if there are other things you want clarification on.

    Note: in MVVM, it would be idiomatic to have a SaveDataCommand property instead of a bare SaveData method (although of course the command is implemented as a method anyway).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Had an interesting discussion with some colleagues about the best scheduling strategies for realtime
When I watched the Dalvik VM Internals talk, I had a question about one
Had a good search here but can't see anything that gets my mind in
I had a discussion with some colleagues mentioning that there are not too many
I had to delete all the rows from a log table that contained about
I don't know if anyone has watched the Visual Studio 2008, Linq to SQL,
Had to deploy some PHP code onto a shared server with only PHP5.2.8. All
I'm using Visual Studio 2008 trying to debug a C# project. I had some
I have a couple of projects that I had started under Xcode 3.2.x some
** post was edited, more info below I've just watched two great videos about

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.