请确认:Windows Workflow Foundation 现在是一匹好马吗? [英] Please confirm: Is Windows Workflow Foundation a good horse to be backing right now?

查看:22
本文介绍了请确认:Windows Workflow Foundation 现在是一匹好马吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在为一家端到端使用 Microsoft 产品的公司选择工作流解决方案.鉴于 WF4 的消息,它似乎本质上是对以前版本的重写,支持当前版本是明智之举还是我们应该寻找其他地方?

We are in the process of selecting a workflow solution for a company that uses Microsoft products end to end. Given the news on WF4, in that it seems to be essentially a rewrite of previous versions, is it a wise move to back the current version or should we be looking elsewhere?

即 - 当前版本是否如此糟糕以至于我们不明智地尝试使用它?

Ie - is the current version so bad that we would not be wise to try and use it?

推荐答案

Haiving 刚刚启动了一个项目,其中 .NET 3.5 和工作流我想说 WF 的当前版本足够好使用并运行.它帮助我们快速推出产品(我们通常每周都会更新功能和需求变化).但是,我有一份投诉清单:

Haiving just launched a project which .NET 3.5 and workflow I'd say that the current release of WF is good enough to use and run with. It has helped us to get a product out quickly (we have the usual feature creep and requirements changing weekly). However, I have a list of complaints with it:

  • 工作流设计器会让您发疯,因为它太慢(在某些情况下)并会按照它认为合适的方式重新安排您的状态机.
  • 没有内置的升级策略可以让您在发布错误修复版本后保持旧工作流程运行.如果您打算使用 WF,请仔细考虑如何尽早进行升级.
  • 与 WCF 集成(发送和接收活动)会向您隐藏 WorkflowRuntime,这使得您很难了解幕后发生的事情.
  • 对它们进行单元测试并不容易.有一些想法,但当我们开始这个工作流单元测试
  • 时,似乎没有一个特别容易
  • The workflow designer will drive you insane because it is so slow (in certain circumstances) and re-arranges your state machines as it sees fit.
  • There is no built in upgrade strategy for keeping your old workflows running once you do a bug fix release. If you are going to use WF think carefully how to do upgrades early.
  • Itegrating with WCF (the send and recieve activity) hide the WorkflowRuntime from you this makes it very difficult to understand what is going on on the hood.
  • Its not easy to unit test them. There are ideas out there but none seemed particulary easy when we started this WorkFlow Unit Testing

我喜欢基于工作流的开发的想法和潜力,但是我不急于重复这种体验,并且可能会在长时间运行的过程中坚持不使用它.我会再次使用它的地方是在一个简短而复杂的过程中(例如用于计算价格的规则引擎).

I like the ideas and potential of Workflow based development, however I am not in a hurry to repeat this experience and would probably stick without it for long running processes. One place I would use it again would be in a short, complicated process (like a rules engine for working out prices).

这篇关于请确认:Windows Workflow Foundation 现在是一匹好马吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆