|
From: | Hilaire Fernandes |
Subject: | Re: [Dr. Geo] A question about DrGeo and MVC |
Date: | Sun, 28 Apr 2024 18:11:45 +0200 |
User-agent: | Mozilla Thunderbird |
At once DrGeo was developed like that. One model, several views, down to the item views. It proved to be unneeded and it added complexity ans slownessss. I still have some dependencies between the model and view that are hard to garbage collect in some situation and it slows down the image when I deal with thousands of models. I need to clean up. But any way, I am more in the tendency to not use anymore dependencies in that situation. beDevelopment beWorkstation are not related to the view, more access to the ressources on the disk. I think you can still do as you wish: several view
per model as you will set the dependencies between the view to
the model from an initialize method in the viewl. The model
should not know about the, it just triggers the event to who is
listening. See DrGMathItem>change
-- GNU Dr. Geo http://gnu.org/s/dr-geo/ http://gnu-drgeo.blogspot.com/ |
[Prev in Thread] | Current Thread | [Next in Thread] |