Archive for the 'Voodoo' CategoryPage 3 of 3

Multiple Virtual Machines

Can two or more virtual machines share groups?

The chances and\or reasons for having two or more virtual machines is very rare, but then if I’m building it possible do I need to support this?

Reasons for having two virtual machines:
sandboxing? … but then they can’t talk to each other
different scripting for different parts of the program
… don’t need group overlap

So… making the virtual machine instanceable for oop niceness only, two virtual machines running at the same time maybe possible but not supported.

Introduction to Groups

Previously I had a ‘group’ being a special xml file ending with .vgroup that details the dependancies and files that are a part of a group. The directory that has the same name of the group is automatically searched for voodoo files and those are added to the the group as well. I was thinking, this is overly complicated - the dependancy can be worked out from the files themselves and it’s not often that you want files from a group being in two different places.

So now a group is just a folder of voodoo files found in the default base folder. They can all be loaded and unloaded at the same time. Loading a single file encapsulates it in a group within the virtual machine.