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

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

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

639

Published on

Maxim Ignatov …

Maxim Ignatov
Presentation from Application Developers Days 2011

Published in: Technology, Sports
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
639
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

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

×