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

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
T
Threatpost
Latest news
Latest news
N
News | PayPal Newsroom
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Help Net Security
Help Net Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
AI
AI
Simon Willison's Weblog
Simon Willison's Weblog
TaoSecurity Blog
TaoSecurity Blog
The Last Watchdog
The Last Watchdog
L
LINUX DO - 热门话题
Google DeepMind News
Google DeepMind News
T
Threat Research - Cisco Blogs
O
OpenAI News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
The Exploit Database - CXSecurity.com
NISL@THU
NISL@THU
Application and Cybersecurity Blog
Application and Cybersecurity Blog
S
Securelist
小众软件
小众软件
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Martin Fowler
Martin Fowler
S
SegmentFault 最新的问题
Cisco Talos Blog
Cisco Talos Blog
云风的 BLOG
云风的 BLOG
AWS News Blog
AWS News Blog
GbyAI
GbyAI
N
News and Events Feed by Topic
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
美团技术团队
Engineering at Meta
Engineering at Meta
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
S
Schneier on Security
博客园 - 聂微东
V2EX - 技术
V2EX - 技术
T
Troy Hunt's Blog
SecWiki News
SecWiki News
S
Secure Thoughts
B
Blog RSS Feed
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
腾讯CDC
H
Heimdal Security Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
www.infosecurity-magazine.com
www.infosecurity-magazine.com
P
Privacy International News Feed

博客园 - 尹智玲

给网站增加内页好方法 日力高周波机械 礼品网最终还是决定走淘宝客路线 漂亮的仿qq菜单 单点登陆 国外C#开源系统一览表 test c#学习资源 智能客户端网站资料 一篇关于在sharepoint2007上配置Email和将Access2007数据发布到sharepoint2007上的好文章 一篇关于从B2TR升级到RTM的好文章 一个基于sharepoint2007开发的网站 一些有关sharepoint WebServices相关资料 今天微软系列产品发布日,去MSDN上逛了逛,无意中发现了些绝好资源, sharepoint2007视频教材 拼接图片软件 sharepoint相关网址 WSS v3 也可以作为外部网站使用 ---开启anonymous 单点登陆中根据用户名和密码实现自动登陆技巧
了解Windows Workflow Foundation Engine (转)
尹智玲 · 2007-01-31 · 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