Friday, 15 February 2008

Virtual File System

Over the last few days i've started working on the virtual file system for OGE. The virtual file system allows access to files independant of where they come from, such as a compressed file or remotely on a server. The users code only ever interacts with Archive's, File's and DataStream's.

In the current version of OGE (in our CVS) the file system and resource management code were together. The naming was long winded and felt hard to maintain. This has changed in the new version. The two implementations that will come with OGE (normal files and compressed files (using zlib)) will be seperated as well to help keep the code cleaner and easier to maintain.

Once OGE has plugin management, it will be possible to register new types through plugins. This should be made easier with POCO too, as it has shared library classes and other utilities, such as a ClassLoader (inspired from Java).

No comments: