According to a report by Martin Fowler, MVP has been withdrawn as a pattern in July 2006, and has been divided into two variants: Passive View and Supervising Controller.
*Passive View:* In this pattern, the view update is exclusively managed by the presenter to reflect the changes in the model. The view never interacts with the model. As we can see, this definition of the behavior is not different from what was explained in the previous paragraphs. This involves the benefits already stated, such as centering tests in the controller (presenter), given that the view is a light component with almost null logic content. *Supervising Controller:* Many frameworks allow for the possibility of making a mapping between the view and the model, called data binding (Framework Editor). This is a very efficient approach which makes it possible to relate the model’s elements with the view’s elements through some sort of declarative form. However, there are complex relations that require a more complicated logic for the view. In this pattern, the view interacts directly with the model to make a simple data binding, which is declaratively defined without intervention of the presenter. The presenter updates the model and handles the view state only if the logic is complex and it cannot be expressed declaratively. You can see this: http://martinfowler.com/eaaDev/uiArchs.html Regars!!! A.U.S Cristian Rinaldi Teléfono Móvil: (0342) 155 238 083 www.logikas.com Lisandro de la Torre 2643 Of 5 - 3000 - Santa Fe Teléfono Fijo: (0342) 483 5138 2012/1/19 Qrunk <[email protected]> > Hi , > > Just a general question, is it true that Editor Framework breaks MVP > paradigm?? If yes please explain how ? Can we use it while using MVP Design > pattern ?? > > Thanks in advance > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-web-toolkit/-/7gKJQmkbyKkJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
