I think you are talking about workflows (the problem) and domain  
specific languages (a solution).

http://en.wikipedia.org/wiki/Domain-specific_programming_language

All really interesting stuff but way out of scope for a lean and mean  
framework you might just want to build a blog with.

Tijs

On 21-jul-2007, at 2:26, francky06l wrote:

>
> Hi Felix,
>
> It can be done for sure, but in there I was meaning something "built-
> in" where you could play/rules the different parts of the framework
> itself .... We all fail in the same trap in such "workflow" concept,
> that is "it has no end to what can be added" :-)
>
> On Jul 21, 2: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 cake-php@googlegroups.com
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