惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Privacy & Cybersecurity Law Blog
人人都是产品经理
人人都是产品经理
The Cloudflare Blog
B
Blog RSS Feed
罗磊的独立博客
V
V2EX
V
Visual Studio Blog
博客园 - 叶小钗
W
WeLiveSecurity
小众软件
小众软件
K
Kaspersky official blog
美团技术团队
雷峰网
雷峰网
阮一峰的网络日志
阮一峰的网络日志
Martin Fowler
Martin Fowler
Recorded Future
Recorded Future
Project Zero
Project Zero
Hugging Face - Blog
Hugging Face - Blog
Engineering at Meta
Engineering at Meta
Security Latest
Security Latest
Microsoft Azure Blog
Microsoft Azure Blog
V
Vulnerabilities – Threatpost
月光博客
月光博客
博客园 - 三生石上(FineUI控件)
Help Net Security
Help Net Security
博客园 - Franky
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
F
Fortinet All Blogs
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Forbes - Security
Forbes - Security
M
MIT News - Artificial intelligence
H
Hacker News: Front Page
大猫的无限游戏
大猫的无限游戏
Vercel News
Vercel News
Spread Privacy
Spread Privacy
The Register - Security
The Register - Security
H
Hackread – Cybersecurity News, Data Breaches, AI and More
量子位
Google Online Security Blog
Google Online Security Blog
PCI Perspectives
PCI Perspectives
The Last Watchdog
The Last Watchdog
AI
AI
N
News | PayPal Newsroom
D
DataBreaches.Net
Cloudbric
Cloudbric
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 司徒正美
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog

博客园 - 飘零

HTML5_2(视频) HTML5_1(新特性) 给宝贝女儿雅琪写的顺口溜 安装SQL SERVER 2008失败 SQL Server 2008启动不了 视听英语 名言警句 经典广告词 如何生成资源文件 - 飘零 - 博客园 关于数字签名所用到的工具 - 飘零 - 博客园 关于数字签名的一些概念 - 飘零 - 博客园 关于SQL Server Reporting Services启动失败的问题 - 飘零 Windows Live Messenger 8.0 Beta 代码大全 - 飘零 - 博客园 了解Windows Workflow Founcation 名称空间及一些类与方法的使用--读书笔记 对WWF的初步认识 建立用户档案的五项任务是什么? 项目的远景的能达到什么目标 MSF 模型
了解Windows Workflow Foundation Engine
飘零 · 2006-05-08 · via 博客园 - 飘零

这几天工作相对比较轻松,闲于时间就了解一下Windows Workflow Foundation Engine.

首先看看架构图Windows workflow foundation engine.GIF

概述:
  从架构图上看,在最下面的是Host Process层, 从架构图上看到这一部分不是完整的,也就很显示看的出Host Process不是WFF中固有的一部分,这也是WFF的一个特点,他没一个固有的执行过程,而是用用Host Process来处理,而Host Process主要是利用在Windows 平台的应用程序来完成,如:console applications,WinForms applications,Web applications,Web servies applications,Sharepoint Server,and NT servies applications.基于这种原因,Host Process与WFF进行交互就是利用Hosting Layer层来完成,Hosting Layer为WFF提供了可拔插的接口给Host. 在Hosting Layer之上的就是Runtime层,Runtime是WFF的引擎核心,用来执行流程和管理流程的生命周期.workflow model layer 是为开发人员与WFF进行交互的层,workflow model layer包括了不同的流程模型,APIs,Activeites.

Hosting Layer
     Hosting Layer在WFF与Host之间提供了以下接口:通信,持久,跟踪,定时器,线程与处理(Communication, Persistence, Tracking, Timer, Threading, and Transaction),
     持久(Persistentce):对流程的一些状态保存一段时间,至到用户清除,
  定时器(Timer):流程经常需要等特一个事件之后再继续,这个定时器就提供了这个延时.
    跟踪(Tracking):流程的跟踪工具.
 通信(Communication):从他们的host,流程发送或接收事件与信息,这些事件引发流程,并移动到流程的下一步.

Table 1.1. Prebuilt Host Layer Service Implementations

Host Layer

Service Implementation

Persistence

SQL Server state persistence

Timer

Both an in-memory and SQL Server–based timer

Threading

.NET thread pool

 

ASP.NET thread pool

Tracking SQL

Server Tracking Persistence and Event Log recording for termination

Communications

.NET components and web services

Runtime Layer:
   Runtime Layer是WFF的核心,是不可缺少的.这个层包括以下服务:
   实行,执行(Execution):执行活动时间表,支持公共行为:event handling,   exception,tracking,and transactions.
   跟踪(Tracking):建立跟踪事件.
 状态管理(State Management):
    日程表(Scheduler):按日程表执行activites.
     规则(Rules)  :

Workflow Model Layer:
   WFF的应用开发,这一层:支持多种流程分类,活动,与APIs.
   WFF支持两种模型,顺序工作流模型(Sequential workflow model)与状态机工作流模型(State machine workflow model).
   顺充工作流模型(Sequential Workflow model):比较传统,带有明显的时序性,适用于大多数结构化的工作流应用
Sequential Workflow Model.GIF

状态机工作流模型(State machine workflow model):非常灵活,属于事件驱动,带有事务特征,适合于非结构化面向人或角色相关的工作流场景
State machine workflow model.GIF