Hi all,

Just to add my little bit on this.  Workflow engines are a reasonably
new thing in terms of
web frameworks and it's not something that is done very well at the
moment.  I can't see
anything in CakePHP which resembles a workflow engine., it just seems
to have a simple
page/controller/function mapping.  Is there anything that resembles
interceptors?

Struts or Struts 2 do not have
a workflow engine, the closest thing to this is the struts-config.xml
file which allows you to
define mappings which point to actions, I guess we don't do this with
cake, it's a simple page
controller mapping.  With Struts you have the main front controller
and a number of delegate
actions.  You don't map to an action directly, you map to an action
mapping.

However, there are a number of workflow engines out there in the Java
world, Beehive is an
old one.  Spring workflow and Struts workflow are up and coming
workflow engines...

This isn't particularly beneficial when you only have a few components
but as your site grows
it becomes unmanageable very quickly in terms of workflow and
something like this definately
helps.

Cheers,
Jon.

On Jul 21, 1:25 pm, Kunthar <[EMAIL PROTECTED]> wrote:
> I would be really happy if you just talk about logic you've applied by
> using cake way.
> Maybe i've missed something on the way :)
>
> On Jul 21, 3:14 am, Felix Geisendörfer <[EMAIL PROTECTED]> wrote:
>
> > I'm developing such an engine right now. It allows the company to take
> > the items from their orders through different steps from order
> > processing, to production to shipment. All steps require different stuff
> > to be done to the items, certificates to be printed out, etc.. So yes
> > you can do this in cake but I've done more fun stuff in the past ... : p.
>
> > -- Felix
> > --------------------------
> > My Blog:http://www.thinkingphp.org
> > My Business:http://www.fg-webdesign.de
>
> > francky06l wrote:
> > > 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