Welcome toChina Workflow Management Network
About us | Add to Favorites | 中文版
Position:home>Workflow>
From the job mode of condition of the summary in shedding condition machine to c
From;    Author:Stand originally

Condition mode is like is very simple mode, be like because of condition is a simple object, want to complication implementation design mode is not easy, misapplication circumstance is very much.

My individual once had designed the game condition machine of system of a large game, game conditionButIt is the main framework that game designs in order to say, but because the system is beyond the mark complex
With time brash, did not realize condition mode truly.

In implementing project of an electron government affairs at present, need undertakes flow position changes, in design of electronic government affairs, I discover, if flow completely at the beginning according to the job
The standard is developed, difficulty is very great, it and union of specific project practice cannot hold, and working shedding standard has Wfmc now, still have Bpml, the choice is harder also. Because of
This, I decide.

Because, I need to do API of machine of a condition, perhaps say condition plane frame, offer particular system to call: Kind if the archives is on the move,application or information transmit a telegraphy send application to wait.

Good condition mode must accomplish at 2 o'clock:
1.Status change must differentiate from outside other logic come out.
2.Condition mustButConvenient extend, very small to other code influence.

Should accomplish this at 2 o'clock, must make clear status change mechanism first, status change is real be by Event incident drive, ButIn order to consider as Event-condition-State,
In MVC mode it is Event-condition-Action implementation commonly. What condition mode needs to enclose is the Condition-State in Event-condition-State
Part.

The concern of clear understanding condition and flow is very main also, because condition is not isolated, ButWith flow of compose a quarrel the relation that is dot and line, condition explains from a respect
flow, flow is along with time change, condition is intercept flow a certain time piece. Accordingly, must understanding opportunity of condition of implementation of use condition mode is real is for more
Good the earth's surface is amounted to and show flow.

The concern of condition and flow and incident is as follows:


| Event
___currentState__ | ______newState___
Previous12 Next

Disclaimer:The only purpose of the site is to deliver more information. This dose not mean that the site will agree with the views and be responsible for its authenticity.