摘要 |
A method and system used to create a large class of computer programs. Software systems result from programming the behavior of groups of objects, each representing data and/or services. The system includes objects (comprising data and one or more rules), rules defining potential behaviors of objects, requests for triggering object behaviors or actions, and a message-handling mechanism for communicating data and requests and controlling the order of executing requests. In memory, a workspace comprises a root object and at least one additional object, different from the root object, having at least one field for containing data and at least one rule. The rule defines a behavior which is to occur when specified data conditions are satisfied. A queue receives requests for action with respect to the additional object; an interpreter evaluates a request from the queue and fires a rule when its specified data conditions are satisfied.
|