当 Windows Workflow 首次出现时,有一些文章建议它也可以用于控制 UI 中的流程。 这个就是一个例子。
但我还没有找到任何关于此的新文章。
那么问题来了:有人用这种方法取得了成功吗?或者这到底是不是一个好主意?
我们的客户是带有 Prism 的 WPF。
When Windows Workflow first came out there were some articles that suggested that it could also be used to control the flow in the UI. One example is this one.
But I have not been able to find any newer articles about this.
So the question: Has anyone had any success with this approach? Or was it one of those things that turned out not to be such a good idea after all?
Our client is WPF with Prism.
发布评论
评论(2)
我认为这取决于网站的类型。 Microsoft 使用 支持网站 -Workflow-233b5e3c" rel="nofollow">向导活动结构 由于规则的复杂性,使业务用户能够直接管理控制流。我还没有找到实际使用 WF 来控制演示或业务规则的良好用例。使用众所周知的模式(MVC / MVVM)来构建应用程序要容易得多。对于简单的站点流程 - 如果不增加复杂性,您的情况可能会更好。
I think it depends on the type of site. Microsoft built their support site using a Wizard activity structure due to the complexity of the rules and to enable business users to directly manage the control flow. I have not found a good use case for actually using WF to control the presentation or business rules. It is much easier to use a well-known pattern (MVC / MVVM) to construct your application. For simple site flows - you are probably better off without the added complexity.
EmpowerID、身份管理和应用程序开发平台的所有页面流均在 Window Workflow 中处理
链接:
http://www.youtube.com/empowerID
http://www.thedotnetfactory.com/workflow_studio.php
http://wiki.thedotnetfactory.com/display/public /WFS/创建+离开+请求+工作流程
帕特里克
All of our pageflow for EmpowerID our Identity Management and app dev platform is handle in Window Workflow
Links:
http://www.youtube.com/empowerID
http://www.thedotnetfactory.com/workflow_studio.php
http://wiki.thedotnetfactory.com/display/public/WFS/Creating+the+Leave+Request+Workflow
Patrick