ProjectMoon / ringmud

RingMUD Java Mud Server and Engine
http://ringmud.thermetics.net/
GNU Lesser General Public License v3.0
21 stars 5 forks source link

Python/XML & XQuery Integration #2

Open ProjectMoon opened 14 years ago

ProjectMoon commented 14 years ago

Hooks: mud.py: mud's "main method."

Game data: In-memory objects are serialized into game collection. Model changes can be synchronized from static.

Static collection remains as is. Have compiler generate one XML document from Python files. Remove duplicate ID checks. Add canonical ID property. Referential properties now use canonical IDs.

All RingDocuments have a codebehind attribute that points to a python file. This codebehind has stuff like event handlers.

ProjectMoon commented 14 years ago

For addition of server startup logic:

  1. Add code to MUDFile and DeployableMUDFile to have a "world" directory that contains zone definitions.
  2. Update compiler to copy these files.
  3. Update deployer to deploy these files.
  4. Update WorldBuilder to work off the XQuery files instead of pulling from static.
ProjectMoon commented 14 years ago

The following is done:

The following remains:

ProjectMoon commented 14 years ago

The codebehind idea will be largely superseded by live events, but may be able to hang around for some sort of alternative purpose.