i.Two-Step View

  1. Motivation
    1. Transform the model data into a logical presentation without any specific formatting, and then convert that logical presentation to add the actual formatting required.
  2. Summary
    1. Two Step View deals with this problem by splitting the transformation into two stages. 
    2. The first transforms the model data into a logical presentation without any specific formatting;
    3. Second step converts that logical presentation with the actual formatting needed. 
    4. This way you can make a global change by altering the second stage, or you can support multiple output looks and feels with one second stage each.
    5. It is further augmentation of Transform View Pattern.

  3. When to Use
    1. It is preferred when you need to optimize the same data for two different screen like desktop and mobile.
    2. It can also be used if the same data need to be displayed differently for different user (personalization)  .
  4. Related Patterns
    1. Model View Controller : This pattern work very well with Model View Controller
  5. Related Technologies 
    1. ASP.Net, ASP.Net MVC, XSLT.
  6. References
    1. http://martinfowler.com/eaaCatalog/twoStepView.html
    2. MSDN:Presentation Layer Guidelines