[Cuis-dev] The Preference model
Hilaire Fernandes
hilaire at drgeo.eu
Thu Apr 28 02:53:42 PDT 2022
Hi Gerald,
Le 28/04/2022 à 09:18, Gerald Klix a écrit :
> 1. Move the class-side code in Preferences to the instance-side by using
> a preferences singleton. This way we can easily change a whole set of
> preferences, maybe loading from disk.
That is something needed for application use.
> 2. If you add some meta/type-information, do this in a general manner.
> There are obvious other uses for such a system.
>
> Not so important:
> 3. Make the type/meta information optional eg. a package.
> There is little use of having the meta information in the image,
> once you have a set of working personal preferences.
> If you use Cuis to implement daemons, you probably set some preferences
> with a script and don't need a type system.
In that case, with only one Preference class defined, one type attribute
as Mariano mentioned from Squeak. IT could be a symbol or am optional
PreferenceType instance.
Hilaire
--
GNU Dr. Geo
http://drgeo.eu
http://blog.drgeo.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220428/b1edbcb2/attachment.htm>
More information about the Cuis-dev
mailing list