English 中文(简体)
MVP/MVC的用户确认以及网络解决方案
原标题:User confirmation in MVP/MVC along with web solution
  • 时间:2010-03-09 10:36:04
  •  标签:
  • mvp

在网络环境中使用MVP/MVC时,如何处理用户确认?

演讲人:

if (_view.AskUserForConfirmation())
{
  // do something
}

在“双赢”项目中,这只是一个问题,但在网络环境中,确认衣物会在预设器代码后出现一次退步,谁如何处理这种事情?

最佳回答

基本上,你不......

撤销确认纯属个人责任,并非由提出者负责。 陈述人的逻辑是在确认之后提出的。 我可以理解你试图在此实现的目标,但不可能在回馈期间回用户,要求确认(或其他一些数据),并利用结果,说明你离开了例行工作。

双方均认为,这不是一种逻辑,观点的逻辑要求确认,或重新设计你的申请,以使用许多人要求确认的多种观点(威奇风格)。

问题回答

暂无回答




相关问题
Dependency Injection for Presenter

I have a Presenter that takes a Service and a View Contract as parameters in its constructor: public FooPresenter : IFooPresenter { private IFooView view; private readonly IFooService service;...

Convert to list a object with anonymous type

I need convert to list a object with anonymous type because when i databind the gridview i get "The data source does not support server-side data paging" or How i can solve this? object o = ...

MVP Connecting The Triads

I have a main form with a left and right pane. The left pane displays a list of customers and I have a button the user clicks to show orders. When the user clicks this button I want to show the order ...

Where do I store MVC/MVP and Service layer unit tests?

In MVC/MVP style applications that have Controller/Presenter classes within the Client Application assembly and then a Services layer assembly containing Service classes, where do people recommend ...

MVP, design question

I working on a MVP designed application and have some design questions. When writing code in the presenter-layer how should the communication go between different presenters/views? Lets say I have a ...

Session State with MVP and Application Controller patterns

I ve created an MVP (passive view) framework for development and decided to go for an Application Controller pattern to manage the navigation between views. This is targeted at WinForms, ASP.NET and ...

ASP.NET MVP Injecting Service Dependency

I have an ASP.NET page that implements my view and creates the presenter in the page constuctor. Phil Haack s post providing was used as the starting point, and I ll just the examples from the post ...

热门标签