开发者

PresentationModel - Command feedback

开发者 https://www.devze.com 2023-03-16 04:44 出处:网络
i use Cairngorm 2.2 with PresentationModel-Pattern, as i understood it (PresentationModel holds the view logic and dispatches CairngormEvents to trigger Commands).

i use Cairngorm 2.2 with PresentationModel-Pattern, as i understood it (PresentationModel holds the view logic and dispatches CairngormEvents to trigger Commands).

What is a proper solution to get feedback about the Commands result (result and fault). E.g. PresentationModel next action depends 开发者_如何转开发on the server response statuscode.

Do i have to listen to the modified Model-Events (Model is modified by Commands)?

Or should i forward the Delegate-Responder to the PresentationModel?

Thanks for your help. Markus

0

精彩评论

暂无评论...
验证码 换一张
取 消