[newbie] How to strip off Morphic, Balloon, etc...

Boris Gaertner Boris.Gaertner at gmx.net
Mon Oct 27 12:29:41 UTC 2003


<mayureshkathe at softhome.net> wrote:


> Lets say around;
> 486 @ 66Mhz with 16Mb RAM.
> OR
> Pentium 133Mhz with 32Mb RAM
> That is the kind of hardware being used by schools in developing/under
> developed nations.
> 
This were excellent machines to run Smalltalk V/286. It is really a
pitty that this small and beautiful Smalltalk became unavailable 
(reportedly for copyright reasons). I miss it a lot!

Now to your questions:

You asked about  a tutorial for MVC. I do not know about a
tutorial that is tailored to Squeak, but there is a wonderful
tutorial for Smalltalk-80:
www.ccmrc.ucsb.edu/~stp/PostScript/mvc.pdf
written by Glenn Krasner ans Stephen Pope.
This was the first really good explanation of MVC. Regrettably,
the examples are for Smalltalk-80 and some methods of Smalltalk-80
are not available in Squeak. Nevertheless, I recommend this tutorial.
(I will translate the examples into Squeak-MVC, but I need some time
to do that. Attached you find a change set with the first of the three
examples. To load the change set, you open a file list,
select the file and perform the menu option "fileIn into new change set")

Shrinking the image:
The methods to do that are implemented in the instance protocol
of class   SystemDictionary. The most promising method
there is  #majorShrink, but that does not work in Squeak 3.6
(I tried it yesterday). I will try to figure out what wents wrong,
but that may take some time.

Note that the global variable  Smalltalk references the sole instance
of  SystemDictionary. This means that you write

  Smalltalk  majorShrink 

to try the shrink. As I said, this does not currently work.

Greetings, Boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MVC-Tutorial.1.cs
Type: application/octet-stream
Size: 4200 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20031027/d3bc46ac/MVC-Tutorial.1.obj


More information about the Squeak-dev mailing list