Максим Игнатов «Windows Worflow Foundation»
Upcoming SlideShare
Loading in...5
×
 

Максим Игнатов «Windows Worflow Foundation»

on

  • 829 views

Maxim Ignatov

Maxim Ignatov
Presentation from Application Developers Days 2011

Statistics

Views

Total Views
829
Slideshare-icon Views on SlideShare
829
Embed Views
0

Actions

Likes
0
Downloads
3
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Максим Игнатов «Windows Worflow Foundation» Максим Игнатов «Windows Worflow Foundation» Presentation Transcript

    • Разработка приложений с использованием Workflow Foundation
      Максим Игнатов
      e-Legion Ltd.
      mail: maxim.ignatov@e-legion.com
      www.e-legion.com
      1
    • Human Resource Management System
      www.e-legion.com
      2
    • Цели
      Узкие места WF
      Варианты решений
      www.e-legion.com
      3
      http://www.flickr.com/photos/lofink/4501610335/
    • Ретроспектива ADD Conf
      Хочется
      НЕ хочется
      Готовый продукт
      Well Done
      Новая технология
      How To
      www.e-legion.com
      4
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • Коротко о возможностях WF
      Бизнес-процесс – как отдельная сущность
      Long running process
      Гибкий фрэймворк
      Интеграция с другими технологиями
      www.e-legion.com
      5
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • Xaml or Assembly
      www.e-legion.com
      7
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • Транзакционность процессов
      www.e-legion.com
      8
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • Custom Activity
      www.e-legion.com
      9
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • AppFabric
      www.e-legion.com
      10
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • Примеры
      RSS Reader
      Factorial Calculator
      Approval Process
      Много, много, много других примеров
      www.e-legion.com
      11
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • RSS Reader
      Xaml WF definition
      Передача в WF объектов
      0 ветвлений бизнес-процесса
      http://www.techdays.ru/videos/2470.html
      www.e-legion.com
      12
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • www.e-legion.com
      13
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • RSS Reader
      www.e-legion.com
      14
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • http://www.flickr.com/photos/lofink/4501610335/
    • Factorial Calculator
      Xaml WF definition
      Передача в WF объектов
      0 ветвлений бизнес-процесса
      http://www.techdays.ru/videos/2470.html
      www.e-legion.com
      16
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • www.e-legion.com
      17
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • Factorial Calculator
      www.e-legion.com
      18
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • Approval process
      Code WF definition – 2 штука 
      Передача в WF объектов
      Разветвленный бизнес-процесс
      WCF взаимодействие
      www.e-legion.com
      19
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • http://www.flickr.com/photos/lofink/4501610335/
    • Approval process
      Typed Arguments
      WF
      Transferred objects
      Database objects
      Contract types
      Custom Activities
      www.e-legion.com
      21
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • Подходы к проектированию WF
      Разделить процессы на подпроцессы
      Единый процесс на все
      www.e-legion.com
      23
      23
      http://www.flickr.com/photos/lofink/4501610335/
    • http://www.flickr.com/photos/lofink/4501610335/
    • http://www.flickr.com/photos/lofink/4501610335/
    • Процессы на подпроцессы
      Удачно соотносится с моделью данных
      Логически понятней
      Менее “тяжеловесный”WF
      Нужна логика маршрутизации к нужным WF
      www.e-legion.com
      26
      26
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • Единый процесс на все
      Маршрутизация к WF не требуется
      Модель “размазана”на весь WF
      Более “тяжеловесный”WF
      www.e-legion.com
      27
      27
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • Что если?
      Когда в WF изменилась логика
      Когда в WF изменились входные или выходные параметры
      Когда в WF + WCF поменялось OperationName
      Изменили базу данных
      Typed Arguments
      WF
      Transferred objects
      Database objects
      Contract types
      Custom Activities
      www.e-legion.com
      28
      28
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • О чем пойдет речь
      Версионность процессов
      Поддержка старых процессов
      Миграция
      www.e-legion.com
      29
      29
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • ASP Pages
      DAL Services
      Get Actions
      Do Action
      WF Services
      Migrate
      XAML Service
      Save To DB
      Load From DB
      Load WF
      Persist WF
      Resume Bookmark
      WF Loader
      www.e-legion.com
      30
      30
    • ASP Pages
      DAL Services
      Get Actions
      Do Action
      WF Services
      Migrate
      XAML Service
      Save To DB
      Load From DB
      Load WF
      Persist WF
      Resume Bookmark
      WF Loader
      www.e-legion.com
      31
      31
    • ASP Pages
      DAL Services
      Get Actions
      Do Action
      WF Services
      Migrate
      XAML Service
      Save To DB
      Load From DB
      Load WF
      Persist WF
      Resume Bookmark
      WF Loader
      www.e-legion.com
      32
      32
    • ASP Pages
      DAL Services
      Get Actions
      Do Action
      WF Services
      Migrate
      XAML Service
      Save To DB
      Load From DB
      Load WF
      Persist WF
      Resume Bookmark
      WF Loader
      www.e-legion.com
      33
      33
    • ASP Pages
      DAL Services
      Get Actions
      Do Action
      WF Services
      Migrate
      XAML Service
      Save To DB
      Load From DB
      Load WF
      Persist WF
      Resume Bookmark
      WF Loader
      www.e-legion.com
      34
      34
    • ASP Pages
      DAL Services
      Get Actions
      Do Action
      WF Services
      Migrate
      XAML Service
      Save To DB
      Load From DB
      Load WF
      Persist WF
      Resume Bookmark
      WF Loader
      www.e-legion.com
      35
      35
    • http://www.flickr.com/photos/lofink/4501610335/
    • Ограничения
      WF не должен содержать внутри нестандартных типов данных
      WF должен уметь перейти в любое из возможных состояний
      Сборки лучше не подписывать
      www.e-legion.com
      39
      39
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • Biztalk with HWS
      www.e-legion.com
      40
      40
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • Sharepoint
      www.e-legion.com
      41
      41
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
    • Спасибо за внимание
      Максим Игнатов
      e-Legion Ltd.
      maxim.ignatov@e-legion.com
      www.e-legion.com
      42
      42
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/
      http://www.flickr.com/photos/lofink/4501610335/