1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
White raven [17]
3 years ago
9

How does the MVVM pattern relate to the Command pattern?

Computers and Technology
1 answer:
bija089 [108]3 years ago
3 0

Answer:

MVVM stands for Model, View,ViewModel. ViewModel act as an interface between view and Model.it internally follows command pattern

Explanation:

Command Pattern contains Invoker(Sender),Command, Receiver. Invoker invokes a command with some data .Command object invokes the corresponding Receiver based on  command and data .Receiver receives the command and data, executes the actual logic for the command.

MVVM follows Command Pattern. View is the invoker which invokes some command (Execute) with parameters. View Model  directs that command with parameters to the corresponding receiver class which actually implements that execute method with the given data/Parameters.

To explain the above concept in simple Example, when we go to hotel we invoke the order using waiter and waiter redirects that to the cook. Cook will prepare your food. Here Customer is the Invoker who invokes the command and waiter is the director who redirects that command to the Receiver. Cook is the Receiver who actually implement that command

You might be interested in
Why would a store owner want to calculate a mean
chubhunter [2.5K]

Answer:

a store owner would calculate a mean to see the how much a person spends

Explanation:

4 0
3 years ago
Which statement is true about customizing presentation programs?
pashok25 [27]
A presentation program<span> is a </span>software<span> package used to display information in the form of a </span>slide show. It has three major functions: an editor that allows text to be inserted and formatted, a method for inserting and manipulating graphic images, and a slide-show system to display the
6 0
4 years ago
Which feature of a typical professional networking site helps users add professional details to their profile?
BigorU [14]
That's a good question I think it's LinkedIn where they have professional profiles
5 0
3 years ago
Read 2 more answers
______ is/are artwork available for computer documents that include artwork such as drawings or stock photography. Online pictur
Goshia [24]

I believe these are known as Online Pictures.

6 0
3 years ago
Mark for review (Will be highlighted on the review page)
SpyIntel [72]
As of the presented problem, the most probable answer and the most likely one, out of the options presented together with the problem, would be C. Save As.

Of the menu commands that are there, Save As would serve to be the command that you click when you want to make a copy of a currently open file and rename it. The difference between Save As and Save would be that Save would automatically just replace the old file with the new one, considering that there were changes that took over the file. Save As, on the other hand, would make the old file still available but would prompt the user to choose another file name for it and even presents the possibility of the file being saved in another file extension.
3 0
3 years ago
Other questions:
  • When a chart is selected, numerous customization options can be found on which Chart Tools tabs?
    11·2 answers
  • Each object that is created from a class is called a(n) ____________ of the class.
    5·2 answers
  • What are some tips you can use when taking close up photos
    8·2 answers
  • State the rule of 72 for the number of years to halve.
    8·1 answer
  • As more and more computing devices move into the home environment, there's a need for a centralized storage space, called a ____
    13·1 answer
  • If a menu-driven program uses a loop to redisplay the menu after a selected operation has been performed, the menu should probab
    14·1 answer
  • What tab on the ribbon do I go into to create new database objects in Access?
    13·1 answer
  • What is the current DoD repository for sharing security authorization packages and risk assessment data with Authorizing officia
    9·1 answer
  • Which block in this module represents the variable?
    8·1 answer
  • A ____ transmits all data received to all network devices connected to it, regardless of which device the data is being sent to.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!