Tagged Questions
3
votes
1answer
199 views
Distinguishing between UI command & domain commands
I am building a WPF client application using the MVVM pattern that provides an interface on top of an existing set of business logic residing in a library which is shared with other applications. The ...
2
votes
0answers
119 views
What is the good way of sharing specific data between ViewModels
We have IAppContext which is injected into ViewModel.
This service contains shared data: global filters and other application wide properties.
But there are cases when data is very specific. For ...
5
votes
2answers
262 views
Given the presentation model pattern, is the view, presentation model, or model responsible for adding child views to an existing view at runtime?
I am building a Flex 4 based application using the presentation model design pattern. This application will have several different components to it as shown in the image below.
The MainView and ...
4
votes
3answers
941 views
How to use a MessageBox using the MVVM pattern?
I am implementing a UI application using the MVVM design-pattern.
The thing is, sometimes when you detect that something is wrong with data that was inputted by the user, you'd like to notify him ...
2
votes
1answer
573 views
How do you do to create the ViewModel part of your MVVM designs?
Sometimes, when I plan to create a program using this architectural pattern, I've got a lot of difficulties when I'm in the View Model phase.
I'm using WAF Framework to develop this architectural ...
12
votes
3answers
4k views
Who should control navigation in an MVVM application?
Example #1: I have a view displayed in my MVVM application (let's use Silverlight for the purposes of the discussion) and I click on a button that should take me to a new page.
Example #2: That same ...
4
votes
1answer
344 views
When should the presentation model design pattern include one or more controllers?
I have been researching the usage of the Presentation Model design pattern for an application I am preparing to build. The specific technology I will be using is Flex though I doubt that it matters ...
3
votes
2answers
481 views
Examples of MVVM adoption outside the Microsoft community?
IS MVVM getting any kind of traction outside the Microsoft community? Within Silverlight this is a non-issue, but for other technologies, like JavaScript it surely is: For instance Knockout.js is a ...
1
vote
2answers
2k views
Silverlight 5 and MVVM. Do I really need other frameworks? What is the best way for rapid development?
I've been reading and watching videos on MVVM and Silverlight.. I'm pretty new to Silverlight but not new to .NET. Interesting that I used MVVM in my WPF apps without knowing that it's MVVM. I was ...
7
votes
2answers
435 views
How can I “get in the know”?
My company posted a job listing to get me a helper. A recruiter called me today and all he kept saying was "MVC this Entity Framework that..." - He sounded shocked when I said the project uses ...
3
votes
1answer
660 views
Is it common/correct using MVVM to expect multiple views and corresponding view-models for a particular model?
Consider a somewhat contrived model that goes something like:
class Player
{
public int Health;
public int Ammo;
public Weapon CurrentWeapon;
public PhysicalState State
{
...