Gebruik van Workflow Foundation

Pagina: 1
Acties:

Acties:
  • 0 Henk 'm!

  • Compuhair
  • Registratie: September 2009
  • Laatst online: 17-09 09:14
Kan iemand mij vertellen voor wat voor zaken je Workflow Foundation zou gebruiken?

Ik snap wat je er mee kan: workflows bouwen.
Maar ik snap niet wat de toegevoegde waarde is. Tot nu toe bouwde ik workflows altijd met 'vlaggetjes in de database'. Ik stelde dus een status in bij een record in de database. Voorbeeld:

Piet opent een dossier, typet alle info die nodig is en savet het dossier. Nu heeft het de status 'created'. Hij kan hier later wijzigingen in maken. Als hij tevreden is dan submit hij het dossier (of beter gezegd: hij drukt op de knop Submit). Op dat moment zet ik in de statuskolom 'submitted' bij dat record. Op een later tijdstip gaat een behandelaar kijken welke dossiers er op submitted staan, hij kiest er eentje en gaat daarmee aan de slag. Als hij akkoord is dan klikt hij op de knop 'Accept' en veranderd het record naar de status 'Accepted'.

Zo kan ik natuurlijk nog 100 statussen verzinnen. Ik kan inbouwen dat iemand een e-mail krijgt na het submitten of accepteren etc.

Dus wat biedt Workflow foundation mij nou voor extra's? Ik zoek me een ongeluk met Bing, maar kan niet echt een bevredigend antwoord vinden.

Acties:
  • 0 Henk 'm!

  • RobIII
  • Registratie: December 2001
  • Niet online

RobIII

Admin Devschuur®

^ Romeinse Ⅲ ja!

(overleden)
WWF is wel voor nét iets complexere zaken dan die lineaire "workflow" die jij nu beschrijft bedoeld ;) Al gewoon eens in de Beginners Guide en WF Scenarios Guidance gekeken? Of in de A Developer's Introduction to Windows Workflow Foundation?
Much of the complexity of an application lives in the logic and processing that goes on behind the scenes. Issues such as asynchronous or parallel execution and generally coordinating the tasks to respond to user requests or service requests can quickly lead application developers back down into the low level coding of handles, callbacks, synchronization etc. As developers, we need the same power and flexibility of a declarative programming model for the internals of an application as we have for the user interface in Windows Presentation Foundation (WPF). Windows Workflow Foundation (WF) provides the declarative framework for building application and service logic and gives developers a higher level language for handling asynchronous, parallel tasks and other complex processing.

Having a runtime to manage memory and objects has freed us to focus more on the important business aspects of writing code. Likewise, having a runtime that can manage the complexities of coordinating asynchronous work provides a set of features that improves developer productivity. Windows Workflow Foundation is a set of tools for declaring your workflow (your business logic), activities to help define the logic and control flow, and a runtime for executing the resulting application definition. In short, WF is about using a higher-level language for writing applications, with the goal of making developers more productive, applications easier to manage, and change quicker to implement. The WF runtime not only executes your workflows for you, it also provides services and features important when writing application logic such persistence of state, bookmarking and resumption of business logic, all of which lead to thread and process agility enabling scale up and scale out of business processes.

[ Voor 93% gewijzigd door RobIII op 28-10-2009 22:34 ]

There are only two hard problems in distributed systems: 2. Exactly-once delivery 1. Guaranteed order of messages 2. Exactly-once delivery.

Je eigen tweaker.me redirect

Over mij