help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Persistency


From: Tim Felgentreff
Subject: Re: [Help-smalltalk] Persistency
Date: Fri, 4 Jun 2010 09:44:41 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On May 28, 2010, at 8:29 PM, Giuseppe Luigi Punzi Ruiz wrote:

> 
> El 28/05/2010, a las 17:31, Paolo Bonzini escribió:
> 
>> 
>>> DBI (MySql, Postgres)? some tutorial or something to learn how to use it?,
>>> other type of persistence?
>> 
>> MySQL or Postgres are a good choice.  Alternatively SandstoneDb, or
>> ObjectDumper, or just image-based persistance.  If you don't use a
>> "real" database, however, I'd develop also a secondary persistance
>> scheme (based on XML or something like that) to use in case something
>> goes wrong in the image.
> 
> 
> Yes, I though about this.My initial idea is working in memory with some 
> persistence to this.
> 
> I don't know how exactly SandstoneDB works, I only readed a little about it, 
> but one of my ideas, is take it, study it a little, and modify to persist to 
> plain text in a legible format (I don't know if SandstoneDB do 
> this....something like YAML), for a second parallel project I have in mind 
> with a friend (a txt db).  A little concept, in spanish, from begining of 
> 2009 ( http://www.lordzealon.com/dokuwiki/doku.php?id=gnustep:idea_principal )
> 
> The problem with my project TXTDB, is, thath was born as a one-user database. 
> And for this project, I'm worried because, I don't know nothing about 
> developing DBs, and Object DBs less :P and this, could be an ambitious 
> project. What happen with multiuser? This needs an engine controlling 
> transactions, locks, and so on, and I think I don't have time and knowledge 
> to afford something like this. Probably, in the future? I don't know now.


If you don't care for a relational DB, why not use CouchDB? You get JSON 
storage, merging support and things like that for free. The Squeak CouchDB 
driver is pretty good, too, not sure about GST, but shouldn't be that hard to 
port.

Regards,
Tim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)

iEYEARECAAYFAkwIrukACgkQLbWJItnd6Cw8RACgySrIfr/kc9XzMpINfrDs8tQb
BqAAoMR7BxYBxgPwkFGB+x+ocLGkpj3i
=vb1Q
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]