Newbie questions...
Ned Konz
ned at bike-nomad.com
Thu Aug 22 23:51:33 UTC 2002
On Thursday 22 August 2002 01:09 pm, Konrad Hinsen wrote:
> > Projects let you save a World in binary format with all its
> > objects. You can also choose to save the current Change Set with
> > the project.
>
> But which objects exactly are part of a project? Everything in
> Smalltalk is an object, after all. If I open a System Browser in a
> project and add a method to an existing class, does that class
> become part of the project? Or just the method? Or neither?
The saving of a project uses proxies for certain objects (classes,
globals and SystemDictionaries, for example). So when something has a
reference to a class or another global, or to Smalltalk, only the
fact of that reference gets saved. So we don't store the whole system
when we save a Project. Look for references to DiskProxy for
many/most examples of this.
> > MVC hasn't changed much at all, though there have been new tools
> > added.
>
> My impression from browsing various sites is that nobody uses MVC
> any more except for compatibility. Is that correct? In other words,
> should I simply forget about MVC?
Those of us who run Squeak embedded (as a server, or controlling
hardware, for instance) and still want a local UI for debugging, etc.
still use MVC if we want a small image. "Smalltalk majorShrink"
(which no longer works, I think), for example, created (at one time?)
an MVC-only image that was < 1Mb in size (vs. the >5M for the
distribution image).
If you're making a tool that might be useful in that kind of
environment (a programming tool of some sort), consider making it
compatible with MVC if you can.
The Pluggable* components make simple UIs pretty easy to do for both
MVC and Morphic.
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|