Re-doing Morphic ( Was: Re: Traits prototype image )

Bob Arning arning at
Tue Feb 11 03:50:13 UTC 2003

On Mon, 10 Feb 2003 19:32:49 -0800 Ned Konz <ned at> wrote:
>One direction I was recently thinking about is this: it wouldn't take 
>too much to make a "separate but equal" Morphic hierarchy, with some 
>minimal behavior to make it play with the existing Morphic API. Start 
>at NewMorph or something, and build the widgets you really want. Then 
>move, copy, or port over the bits of the existing Morphic that you 
>want to keep.
>This way you can keep Morphic itself running (the World loop, the 
>event handling, etc.) while making new, lean & mean, stuff.

You don't even need the "equal" part of "separate but equal". Imagine a NewMorph as different as you like. Install trial versions of the NewMorphs in a NewWorldMorph. NewWorldMorph would be a bit special, appearing to its owner as a simple childless morph, but to its newSubmorphs it's a whole new world. NewWorldMorph>>drawOn: could dispatch whatever drawing messages NewMorphs supported and these NewMorphs could interact with their siblings, blissfully unaware of the old morphic world where your browsers and debuggers still live.


More information about the Squeak-dev mailing list