[Cuis-dev] ODB options
Hilaire Fernandes
hfern at free.fr
Sat Dec 14 11:24:23 PST 2024
The educator model[1] is straightforward to persist with reference
stream but it is more complicated with the knowledge model[2] where each
document should be saved in its own refstream file and loaded at demand,
otherwise the whole model (educator+knowledge) may become too big and
slow to save/load. Imagine the activity of a teacher or a learner along
one school year, a lot of documents will be produced.
I play a bit with DiskProxy so that document referenced in the educator
model are saved as that, but I suspect it ends all the document model
are still load at once. Document are a mix of view, model and presenter
so it makes a lot, and it is not easy to control how far in the tree of
objects the persistence goes, then other problems arise at realod, like
disconnected object.
[1]
https://github.com/Dynamic-Book/doc/tree/main/technical/DyboApp#educator-objects
[2]
https://github.com/Dynamic-Book/doc/tree/main/technical/DyboApp#knowledge-objects
Le 14/12/2024 à 15:58, H. Hirzel via Cuis-dev a écrit :
> Could you please elaborate about your mixed experience with
> ReferenceStream? To know that would be helpful.
--
http://mamot.fr/@drgeo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20241214/42463fbc/attachment.htm>
More information about the Cuis-dev
mailing list