[dokuwiki] Re: event order

cont to my previous email, what I really wanted to see is similar to what
you mentioned before

"However, in general ACTION_* will happen before TPL_* and if the parser is
required, PARSER_* events will happen between the two."

eg. in the morning, a person has got get out of the bed (trigger get out of
the bed event, run any listeners), then brush teeth (trigger brush teeth
event, run any listeners), go to work (trigger go to work event, run any
listeners)

the order I wanted to see was, get out of the bed -> brush teeth -> go to
work, not the orders of the listeners.

Regards

James


On Thu, Apr 30, 2009 at 4:57 PM, James Lin <guanfenglin@xxxxxxxxx> wrote:

> No.
>>
>> Event driven programming is not sequential programming.  Events will tend
>> to occur in the same order under the same situation.  If you understand what
>> controls the situation you will be able to predict the event order, but that
>> isn't necessarily a sensible thing to do.
>>
>> http://www.google.com/search?q=event+driven+programming
>
>
> yes I am aware of event driven is not sequential, but I think events are
> triggered by logical order, eg, you cannot trigger "brush teeth" event
> before triggering "get out of bed" event?
>
>
>
>

Other related posts: