patterns by example - workflow design

1,484 views

Published on

investigate different implementations of simple workflows: inheritance/mixin based vs adapters

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,484
On SlideShare
0
From Embeds
0
Number of Embeds
73
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

patterns by example - workflow design

  1. 1. patterns by example - workflow design jss 2011-06-09
  2. 2. Workflows
  3. 3. Workflows ctd.• [Business] Process Modeling• State Machines [vs. sequential models]• Directed Graph • Advanced: WF patterns, branching, concurrency, etc. • (c.f. http://www.workflowpatterns.com/)
  4. 4. Wish List• Workflow on top of existing instances: WF(Instance).state_change(‘newstate’)• No dependencies• No assumptions about underlying representation - just Python objects• Hooks for transitions (one is enough, do not need registry)
  5. 5. repoze.workflow
  6. 6. legacy repoze
  7. 7. itools.workflow
  8. 8. Implementations• N Python implementations w/ slightly different ideas• Framework specific: django-workflows, {plone,hurry,repoze}.workflow• Zope stuff: Nice adaptation interface• Framework agnostic: itools.workflow - but inheritance based interface• Plus some state-machine libs
  9. 9. Usage

×