The dynamic model engine XMeta is written in Java. It is called XMeta because of a special model, which can be used as the first model in the system. In theory, other models can be edited directly or indirectly through it. come out.
2. Basic classes in the engine
Thing represents a model, but also an object.
World is the container of Thing, and the model is generally obtained through World.
Actions, actions can be executed, and theoretically any model can be transformed into actions.
Action context, the environment in which the action is executed. Used to manage variables and execution state, etc.
Model manager, storage of models. Such as the FileThingManger that stores the model in the file, the JdbcThingManager that stores the model in the database, and so on.
Directories, just like files, models are generally placed in directories.