I am not good at example, but I'll try ...(In a business sector that I
know a bit)..


Let's say you are in a banking environnement, you have an application
to capture loans and process them. In order to make decision, you
would probably call external sources of data (risk estimation), some
of them are very used such as Credit Bureau (ie : Equifax, Transunion,
Experian) etc ...
Now depending of the amount of loan and/or your zip code, you are
going to call 1, 2 or the 3 of this sources .. If one  does not you
might wait for a while or called the 2 others instead etc ... You want
to let the manager of this sector being able to change this flow
without changing code. He would need an "admin" interface where he
would change the flow..
Ok in this example you could set the loan amount/zip codes in a table,
but what if he wants to "add" another criterion for calling : the age
of the borrower ? Well if you haven't code this in your application,
he is not able to add a "rule" such as do THIS if THIS etc .....

I do not know it this makes it clearer, to me the workflow is a way to
organize the different "action" you have according to rules based on
the data you have (data could also be result of action)...but letting
the user designing this flow (you can also have dead end  ...)
So in Cake, when an action is finished, based on rules, you could
"redirect" your application to other actions etc (again, maybe just
crazy thoughts) .... The user can change the rules to do something
else.
Again, this can become very complex, especially to include in a
multipurpose application framework. However, maybe some basic "rules"
directing a flow might be done..

Cheers



On Jul 21, 1:13 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On 7/20/07, francky06l <[EMAIL PROTECTED]> wrote:
>
>
>
> > I like the idea of workflow engine or "rules" engine. Actually, Cake
> > is a framework to design application, but having the user (or
> > parameters) designing is own "flow" once the application is done is a
> > step further.
>
> I still don't get it.  Got a good example?
>
> --
> Chris Hartjes
> Senior Developer
> Cake Development Corporation
>
> My motto for 2007:  "Just build it, damnit!"
>
> @TheBallpark -http://www.littlehart.net/attheballpark
> @TheKeyboard -http://www.littlehart.net/atthekeyboard


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to