What are the differences between Presenter, Presentation Model, ViewModel and Controller?

前端 未结 6 1766
臣服心动
臣服心动 2020-12-22 19:16

I have a pretty good idea how each of these patterns work and know about some of the minor differences between them, but are they really all that different from each other?<

6条回答
  •  别那么骄傲
    2020-12-22 20:01

    The difference between them is essentially in how much code is in the view. The choice between them is in fact a choice of technology for application such as WFP, WinForms, ASP MVC(2). The basic idea of separating logic from presentation is the same.

    Here is very good article about all three.

    EDIT:

    One more article - comparison.

提交回复
热议问题