simple persistence without databases

From: slothbear (farbot_at_gmail.com)
Date: 03/08/05

  • Next message: Lee Fesperman: "Re: db size"
    Date: 8 Mar 2005 11:52:07 -0800
    
    

    I have a simple application that has been using standard serialization
    for the save format. I have a small user community; no one has
    complained about the save format breaking with each new version
    (because I change class structure). But ... it is kind of
    unprofessional and I would like to fix it.

    A "real" database looks like overkill. Some of the smaller options
    (M.A.O.S., db4o) look interesting, but they are still kind of
    heavy/complicated for my little program (which is currently 88K).

    My current plan is to save one big Map, which will contain an
    assortment of smaller Maps with simple types. That will get rid of the
    class structure dependency. Much of the data are already in Maps (of
    simple types), so the save/load code will not have to do much juggling
    of values.

    Does that sound like a reasonable plan, or has my searching/researching
    overlooked a more simple method?

    thanks!


  • Next message: Lee Fesperman: "Re: db size"

    Relevant Pages

    • Re: Image-modeling - HELP
      ... No other format allows for UV maps. ... I think Vue tries to do a conversion of whatever format Poser ...
      (comp.graphics.apps.lightwave)
    • Re: Do any GPS units let you upload your own maps?
      ... These maps are created from 10m DEM data to ... has two computers running 24 hours a day to create the ... Are you saying that simply creating your own data in the format to ... know Intel copyrighted the assembly language commands for their ...
      (sci.geo.satellite-nav)
    • Re: simple persistence without databases
      ... > I have a simple application that has been using standard serialization ... > for the save format. ... > assortment of smaller Maps with simple types. ... old configs with new classes. ...
      (comp.lang.java.databases)
    • Re: How can I include 2 maps (in "My Documents") in a newsletter?
      ... What format are your maps in? ... What version of Publisher are you using? ... What format does your printer want the final output to be in? ... I send the finished newsletter copy to the ...
      (microsoft.public.publisher)
    • Re: Does anyone know of any atlas / mapping software for Linux?
      ... >reference and google gave me too many hits without anything of significance. ... (These are actually in the tiff format with headers ... become a moving map display using these maps. ... manually set coordinates for use in the program. ...
      (comp.os.linux.misc)