mvp
Can the Presenter have state? (MVP pattern)
I\'m reading about the Model-View-Presenter pattern, and I\'m a bit confused: can a presenter have state? Or is the task of the Presenter to only group methods together containing business l开发者_Sta[详细]
2023-04-13 02:39 分类:问答MVC - Should the View be allowed to interact directly with the Services without going through Controller
My architecture looks like this: View - Controller - Services Think of one of the views as a Person details page. The controller calls[详细]
2023-04-13 02:28 分类:问答Model-View-Presenter, where does the View's interface belong?
I\'m taking another look at Model-View-Presenter (or Supervising Controller, whatever it\'s called nowadays) since we use WebForms exclusively at work and I think the separation of concerns can help.[详细]
2023-04-12 20:24 分类:问答Opera back-button cache functionality
I have some jQuery which modifies elements on the page after the user performs 开发者_开发问答an action.These are persisted server-side so it all looks nice and fluid for the user.[详细]
2023-04-11 19:25 分类:问答MVP service client proxy model generation tools?
I was reading this article on using passive view design patterns with MVP: http://msdn.microsoft.com/en-us/magazine/ee336019.aspx[详细]
2023-04-11 03:36 分类:问答three tier and MVP pattern in shopping website
i\'m creating a shopping website using c# and asp.net and i want to use MVP pattern inside of three tier architecture, specifically in the presentation layer.[详细]
2023-04-10 23:21 分类:问答how Implement usercontrol in winforms mvp pattern?
I 开发者_开发知识库want to Implement MVP pattern. I have a user control that has some Textboxes and when I put it in form I call a method from usercontrol and fill textboxes. But in mvp pattern I don\[详细]
2023-04-10 04:56 分类:问答Validation in MVP pattern
I am creating a program which utilizes MVP architecture.Please tell me which is the best place to write the validation. Someone told me that the code in presenter should only contains logic to handle[详细]
2023-04-09 21:39 分类:问答Implementation differences between MVP Passive View and Supervising Controller for collections
I\'ve started to wrap my head around the whole MVP pattern and despite I\'m doing fine with single objects it starts getting difficult when it comes to collections.[详细]
2023-04-09 20:45 分类:问答MVP: How does presenter access view properties?
I will give a full example that compiles: using System.Windows.Forms; interface IView { string Param { set; }[详细]
2023-04-09 18:42 分类:问答