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

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
G
Google Developers Blog
Spread Privacy
Spread Privacy
I
InfoQ
V
V2EX
S
Schneier on Security
小众软件
小众软件
C
CERT Recently Published Vulnerability Notes
博客园 - 聂微东
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Stack Overflow Blog
Stack Overflow Blog
T
Threat Research - Cisco Blogs
L
Lohrmann on Cybersecurity
Recent Announcements
Recent Announcements
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Attack and Defense Labs
Attack and Defense Labs
云风的 BLOG
云风的 BLOG
The Hacker News
The Hacker News
S
SegmentFault 最新的问题
C
Cybersecurity and Infrastructure Security Agency CISA
NISL@THU
NISL@THU
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
GbyAI
GbyAI
Latest news
Latest news
S
Secure Thoughts
Project Zero
Project Zero
MongoDB | Blog
MongoDB | Blog
I
Intezer
Security Latest
Security Latest
Apple Machine Learning Research
Apple Machine Learning Research
Vercel News
Vercel News
N
Netflix TechBlog - Medium
V2EX - 技术
V2EX - 技术
量子位
T
Threatpost
T
The Blog of Author Tim Ferriss
Y
Y Combinator Blog
T
Tor Project blog
A
Arctic Wolf
Microsoft Security Blog
Microsoft Security Blog
T
The Exploit Database - CXSecurity.com
大猫的无限游戏
大猫的无限游戏
T
Tailwind CSS Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
C
Check Point Blog
博客园 - Franky
Google DeepMind News
Google DeepMind News
The Register - Security
The Register - Security
The GitHub Blog
The GitHub Blog
L
LINUX DO - 热门话题

博客园 - 尹智玲

给网站增加内页好方法 日力高周波机械 礼品网最终还是决定走淘宝客路线 漂亮的仿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