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-boun...@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.id...@gmail.com<mailto:wild.id...@gmail.com>> wrote:
How about Voyage?

https://github.com/pharo-nosql/voyage<https://urldefense.com/v3/__https:/github.com/pharo-nosql/voyage__;!!I_DbfM1H!Q1SDxNVH7jjxTC7F5EYTgwwveftJ-BRrgWd9bgTGBz7lyJYnv-jlevM8HRCcaWPLGVkM9_V-DQ$>




--
Sent from: 
http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html<https://urldefense.com/v3/__http:/forum.world.st/Pharo-Smalltalk-Users-f1310670.html__;!!I_DbfM1H!Q1SDxNVH7jjxTC7F5EYTgwwveftJ-BRrgWd9bgTGBz7lyJYnv-jlevM8HRCcaWPLGVnQjtiBuA$>

Reply via email to