ASP.NET基于工作流引擎 [英] ASP.NET based Workflow Engine

查看:177
本文介绍了ASP.NET基于工作流引擎的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的一个设计规范为新的应用程序,这将是大量的工作流驱动的。

I am working on a design spec for a new application that will be heavily workflow driven.

在重新发明轮子,有没有插入到ASP.NET一个像样的轻量级工作流引擎已经在吗?

Before I re-invent the wheel, is there a decent lightweight workflow engine that plugs into ASP.NET already around?

基本上,我寻找的东西处理通过一组定义的工作流页面的移动而自动的处理状态管理。

Basically, I'm looking for something that handles moving through a defined set of workflow pages while handling state management automatically.

如果这不是已经左右,我一定会从我的应用程序试图抽象的发动机,把它放在codePLEX,因为这将是非常方便的。

If this isn't around already, I'll definitely try to abstract the engine from my app and put it on codeplex, as it would be really handy.

有什么建议?

注:.NET 2.0,所以没有世界自然基金会,但我认为世界自然基金会是矫枉过正满足我的需求。

Note: .NET 2.0, so no WWF, though I think WWF is overkill for my needs.

编辑:好像有这种合法的需求,并没有一个产品在那里。所以我可以建立这种

Seems like there is a legitimate need for this, and there isn't a product out there...So I might build this.

下面就是我想象:


  • 自定义页面类调用WebFlowPage

  • 所有WebFlowPage的注册在工作流映射。

  • 每个WebFlowPage都有某种形式的状态对象。

  • 一个HttpHandler的处理采摘基于工作流程的相应WebFlowPage,并从状态对象填充它。

推荐答案

我觉得工作流程一词是间pretation非常开放。我已经与类型的工作流程是从你似乎在描述什么很大的不同工作最近。煤矿是一个基于状态机的工作流程,特定记录的状态决定了操作的用户可以采取记录移动到业务流程中的下一个步骤。因此,工作流程,在这种情况下是指记录从一个状态如何流动到另一个,直到它终于完成了。

I think the term "workflow" is very open to interpretation. I have been working lately with a type of workflow that is very different from what you seem to be describing. Mine is a state machine based workflow where the state of a particular record determines what actions a user can take to move the record to the next step in the business process. So "workflow" in this instance means how the record flows from one state to another until it is finally completed.

您的工作流程的使用似乎有更多与线性多步骤的过程,这是一个完全不同的使用情况下(纠正我,如果我错了)从一个页面,用户移动到另一个做。于是想出一个通用的工作流程引擎,任何人都可以使用之前,我会建议定义一个更好一点的正是这种制度将处理什么类型的情况。

Your usage of workflow seems to have more to do with moving a user from one page to another in a linear multi-step process, which is a completely different use case (correct me if I'm wrong). So before coming up with a general purpose "workflow" engine that anyone could use, I would recommend defining a little bit better exactly what types of situations this system would handle.

这篇关于ASP.NET基于工作流引擎的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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