MVC rip

Dan Ingalls Dan.Ingalls at disney.com
Sat Apr 17 18:35:13 UTC 1999


Martin, Bruce -

>>>Yes.  It all works.  Automatically removes any MVC projects, moves any
>>>orphaned Morphic projects into the current project and then hoses all the
>>>MVC-related classes.
>>>
>>>It will all be in 2.4 in SystemDictionary>>discardMVC.
>>
>>Will it be able to discard both MVC *and* Morphic? I've just started
>>looking into how small I can make a headless wiki server image.
>>-Martin
>>
>You can already discard Morphic.  Look at SystemDictionary>>majorShrink
>bruce

In 2.4 you will be able to discard MVC, just as you are now able to discard Morphic.  However, if you were to do both, you would be dead in the water, and this is what Martin wants to do.

You should look in the folder called 'tiny' on the UIUC server.  There is a file there called TinySqueak which is an archive including a readme, some filins, and an image.  These are the result of some work I did in August '97 to make a small squeak image.

The readme will tell you about the process.

The filins include one important class, called, I believe, Transcripter.  This is a transcript in which you can type and execute smalltalk expressions, but that does not use any MVC UI, except for class Paragraph.  The various other fileIns help you to throw everything out but keep control through that one scrolling window.  If you have a small application, you call it from a method, and then quit from a loop that calls that method.

Included in the archive , there is also a working squeak image that I built in this manner.  It is 246K in size, containing 110 classes and 1771 methods.  These include the core classes and methods for Numbers, Collections, Compiler and File System, so that you can still open files, execute simple fileIns and quit.

If you're interested, and willing to hack a bit, these files should give you just what you need.

When in doubt, throw it out.

	- Dan





More information about the Squeak-dev mailing list