User Confirmation in MVP Pattern with Passive View
问题 How would you handle calling a user confirmation dialog before continuing with a task in a web-based MVP pattern implementation? It'll have to do a postback in between and the confirmation would go out of the scope of the presenter function that called it. I'd prefer to keep to a pure MVP implementation but is it even possible? 回答1: You can't implement this logic in one single server-side function. I believe the standard approach to tackle this is either to Have multiple steps that each