<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="4">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.<br>
</font></p>
<p><font size="4">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.<br>
</font></p>
<p><font size="4"><br>
</font></p>
<p><font size="4">[1]
<a class="moz-txt-link-freetext" href="https://github.com/Dynamic-Book/doc/tree/main/technical/DyboApp#educator-objects">https://github.com/Dynamic-Book/doc/tree/main/technical/DyboApp#educator-objects</a><br>
</font></p>
<p><font size="4">[2]
<a class="moz-txt-link-freetext" href="https://github.com/Dynamic-Book/doc/tree/main/technical/DyboApp#knowledge-objects">https://github.com/Dynamic-Book/doc/tree/main/technical/DyboApp#knowledge-objects</a><br>
</font></p>
<div class="moz-cite-prefix">Le 14/12/2024 à 15:58, H. Hirzel via
Cuis-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:2e222918-35c7-46e7-8a83-25d31b338cc2@gmail.com">Could
you please elaborate about your mixed experience with
ReferenceStream? To know that would be helpful.</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://mamot.fr/@drgeo">http://mamot.fr/@drgeo</a></pre>
</body>
</html>