Posted by
Tom Leylan on
Oct 14, 2004; 12:38am
URL: https://forum.world.st/an-online-class-hierarchy-tp3371800p3371841.html
"Ian Bartholomew" <
[hidden email]> wrote in message
news:
[hidden email]...
> I really think you may have a lot of trouble getting much of an overall
> picture of something like MVP from any documentation.
Appreciate the thought... I downloaded your zip file (moments ago). I'm not
attempting to discover what MVP is. I want to see what properties and
methods are offered. I can see that addDependent will add an object to the
receiver's dependents and that it is available to all objects. I can see
that dependents returns (answers) a collection of dependents. That tells me
things. I can see deepCopy and shallowCopy. The concepts aren't unique to
ST, I just want to see where they are and what they are named. I don't need
to see the code to know how it works, just that it exists.
> I, and no doubt a lot of others here, could write a prototype demo of that
> in Dolphin if you're interested. It would be a bit simplified, data
> persistence in a file rather than a database for instance, but would
> probably give you a better idea of what's involved than reading through
> documents. Interested?, I've got a quarter of an hour to spare tomorrow
> :-)
> I'll even add some comments to the code - a major concession for me these
> days!
Gosh that's a very nice offer but at least for now I won't need it.
Probably a great thing to add to a site somewhere though. To do it "right"
however (meaning to sell the concept to a business person) it probably
should do something more than persist to a file. Again I'm only trying to
point out that there isn't a language on Earth (that I'm aware of) that
can't persist to a file. "Database code goes here" would actually be enough
if the only thing one did was add a few lines to access the database but
that can't be the case. There are concurrency issues, there are "failure on
write" issues. These things have to be handled and that isn't (I imagine)
just a few lines more than writing to a text file on personal hard drive.
One can't read the entire multiuser database in, modify a single object and
then persist the entire thing out again as is often done in a text file
demonstration.
I'll check the contents of your zip file shortly... thanks again,
Tom