Site Feedback Thread

4 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Email Client UI pattern & architecture question

Back to Forum: Site Feedback
  • User profile image
    Devasena

    Hii Mike,

     

     I am  a beginner in Silverlight & Prism. I saw this vedio and i learned some concepts. I ve ended up with few questions..

    You have created many projects like "EmailEntities,EmailInterfaces,EmailService,MailListUI,MailReadingUI,MailSelectionUI,NewMailUI,

    PresentationUtility,ViewInjectionImplementation,ViewInjectionInterfaces".

     

    They are all related to UI  email functionalities. As a beginner, My questions are

     

    1. What is presentation pattern you have used in this sample..

         Pls explain me what are all the Models , Views , Presenters stuff used in the solution..

    2. which class acts like a View , Model & Presenter

    3.If at all i need to include Database stuff(reading messages from DB) , I assume i need to have 2 other projects namely domain layer, infrastructure layer. In this context,  should the Model communicates Or View communicates Or Presenter communicates with the domain layer ?

     

    4. If i have domain & infrastructure layer, does it make sense to maintain the "PresentationUtility" project inside the infrastructure layer..

     

    These are my fundamental questions awaiting your esteemed reply.

     

    Thanks

    Devasena

  • User profile image
    wkempf

    What video did you watch? A lot of your questions are very difficult to answer without more information. I will say that most Silverlight and WPF applications use MVVM as the presentation pattern, and in MVVM the types are Model, View and ViewModel not Model, View and Presenter.  Here's a pretty good blog post that explains this pattern that might answer many of your questions: http://csharperimage.jeremylikness.com/2010/04/model-view-viewmodel-mvvm-explained.html.

  • User profile image
    spivonious

    Here's another good article with an example on MVVM:

     

    http://msdn.microsoft.com/en-us/magazine/dd419663.aspx#id0090102

     

    The domain/business layer typically is in between the model and the presenter.

  • User profile image
    Devasena

    spivonious said:

    Here's another good article with an example on MVVM:

     

    http://msdn.microsoft.com/en-us/magazine/dd419663.aspx#id0090102

     

    The domain/business layer typically is in between the model and the presenter.

    Hey ,

     

            Thanks for the reply. 

                                               Ok, The domain/business layer typically is in between the model and the presenter(View) . Then if the infrastructure layer is maintained seperately for logging, DAL, sending mails etc.. Am i right ?

     

    Thanks

    Devasena

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.