Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Interaction Service vs Interaction Request Objects

I'd like to know when using Prism, Interaction Request Objects is preferable to using Interaction Service pattern. As for me, Interaction Service should be used in simple cases, i.e. when you have a standard message popup, and only the text content is going to be changed. On the other hand, Interaction Request Objects is more suitable when the UI is more complicated. But Interaction Service is much easier to implement and requires less code. What do you think?

like image 711
andrew Avatar asked Oct 20 '11 07:10

andrew


People also ask

What is a service interaction?

Abstract: Interaction is the main characteristic of service during service delivering. There are three kinds of interaction, which is interaction between customer and service personnel, customer and service surrounding, and customer and other customers.

What is the purpose of interaction in Servicenow?

Interactions are a centralized location for all communication channels in the platform. Each interaction represents a request for assistance through a given channel, for example, a call or a chat.

What is interaction in ITIL?

Interaction Management is NOT an ITIL process. However, it is 'the Service Desk process. ' Use of a separate Interaction Management process allows for a separation of Incident metrics from Requests for Information. Incidents reflect errors in the infrastructure and should be measured as part of a separate process.

What is an example of a interaction?

The most common forms of social interaction are exchange, competition, conflict, cooperation, and accommodation.


1 Answers

The huge drawback of using an interaction service to display a message box is the parent window - or rather the lack of one.

What window should you provide as the parent of the message box, from the view model or service implementation? If you choose Application.Mainwindow, you're making a huge assumption about the overall application layout.

The only entity in the process that knows how to display the interaction is the view. Whether that be using a message box, or in-page overlay.

There are few valid arguments in favour if using an interaction service. The one often used is that it's easier. This may be true, but is also true of many other things that shouldn't be done, e.g. code behind, etc.

like image 113
Mark Avatar answered Sep 22 '22 04:09

Mark