Difference between the Repository Pattern and the View Model Pattern

Posted by Mark Sayewich on Stack Overflow See other posts from Stack Overflow or by Mark Sayewich
Published on 2010-03-21T13:06:18Z Indexed on 2010/03/21 13:11 UTC
Read the original article Hit count: 782

Filed under:
|
|

I am trying to create a site using the ASP MVC Framework. Some of the documentation use the IRepository pattern to abstract the information being sent to the view for rendering, while others recommend using a ViewModel (as in MVVC).

What is the difference?

Aren't these the same concept?

Thanks in advance

© Stack Overflow or respective owner

Related posts about repository-pattern

Related posts about viewmodel