Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Include Page
TOOLS:Header, Design
TOOLS:Header, Design
scrollbar

Introduction (NHibernate)

Current version of DelftShell uses XML file format as a project store. It works ok for a simple applications where number of objects contained in the project is not so big or where size of those objects is not so big. When size of the objects becomes bigger - use of XML files as a data store format does not sound as a scalable and robust solution. Those objects can be for example: models, maps, grids, time series, model results, etc. Current intention is to switch to an embedded database file format to be used as a project store. It can be one of SQLite, Access or any other embedded database file format.
Another reason is that using XML serialization it seems to be very complicated to serialize objects implementing interfaces such as IModel, IDataItem. For that reason they were implemented as abstract classes.

...

Note: drawing is taken from a Java version of Hibernate and contains method names in Java notation.

Project States in DelftShell

Image Added