StockTrader RI > Controllers, Presenters, WTF?
Posted
by SandRock
on Stack Overflow
See other posts from Stack Overflow
or by SandRock
Published on 2010-03-01T10:03:08Z
Indexed on
2010/05/19
20:30 UTC
Read the original article
Hit count: 294
I am currently learning how to make advanced usage of WPF via the Prism (Composite WPF) project.
I watch many videos and examples and the demo application StockTraderRI makes me ask this question:
What is the exact role of each of the following part?
- SomethingService: Ok, this is something to manage data
- SomethingView: Ok, this is what's displayed
- SomethingPresentationModel: Ok, this contains data and commands for the view to bind to (equivalent to a ViewModel).
- SomethingPresenter: I don't really understand it's usage
- SomethingController: Don't understand too
I saw that a Presenter and a Controller are not necessary but I would like to understand why they are here. Can someone tell me their role and when to use them?
© Stack Overflow or respective owner