Hi Steve

 

Some ways I would do it, given what you have described:

 

1.       Store in the image itself. An ordered collection can be used to store the your MOTD objects and iterate over them with the #do:, #select:, etc methods. For images I would store them on the file system and use a URI from your objects to point to it.

2.       SQLite (https://github.com/pharo-rdbms/Pharo-SQLite3).

3.       If you wish to distribute this then maybe a central server the your client can pull the MOTD objects from. Something running Teapot talking to SQLite3 or even Postgres via Sven���s excellent P3 (https://github.com/svenvc/P3).

4.       Something I was thinking of looking into more is John Aspinall���s ReStore for Pharo (https://github.com/rko281/ReStoreForPharo).

 

Vince

 

From: Pharo-users [mailto:pharo-users-bounces@lists.pharo.org] On Behalf Of Steve Quezadas
Sent: Tuesday, 28 January 2020 11:36 AM
To: Any question about pharo is welcome <pharo-users@lists.pharo.org>
Subject: Re: [Pharo-users] What is the idiomatic way to store data in pharo?

 

EXTERNAL: Do not click links or open attachments if you do not recognize the sender.

 

is voyage the most common way to do it?

 

On Mon, Jan 27, 2020 at 5:32 PM tbrunz <wild.ideas@gmail.com> wrote:

How about Voyage?

https://github.com/pharo-nosql/voyage




--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html