newbie question about morphs

Joshua 'Schwa' Gargus schwa at cc.gatech.edu
Wed May 30 17:29:46 UTC 2001


On Wed, May 30, 2001 at 01:16:11PM -0400, Rosemary Michelle Simpson wrote:
> The world I am creating is a spatial hypermedia environment called 
> ConceptLab that provides multiple POVs and multi-dimensional 
> views over the same set of objects, on the screen at the same 
> time.  For example, a Person instance can be simultaneously part 
> of an Institution instance, a Paper instance, a Project instance, and 
> a Concept instance, as well as being itself, a Person instance, and 
> all of these can be on the screen at the same time.  This is true for 
> all ConceptLab objects.  
> 
> In addition, a given instance can contain multiple pointers to another 
> specific instance at different levels.  For example, "Catherine 
> Marshall" (a Person instance) can appear multiple times at several 
> levels as part of the "Spatial Hypertext" Concept instance.
> 
> If I understand correctly what seems to be true about composite 
> morphs - that a given morph can be embedded in one and only one 
> composite morph - then I cannot use Morphic to model my world 
> and must instead work with MVC.  Is this correct?

Fortunately, it isn't.  You can treat morphs as the Views in MVC.  If
you have a Person that is both displayed on its own and is embedded in
an Institution, treat the Person and Institution as Models.  Create
one morph to represent each view of the Person and Institution; in
this case, two morphs representing the Person, and one for the
Institution.

Joshua

> 
> Thanks,
> 
> R.





More information about the Squeak-dev mailing list