my Framework

Leandro Caniglia caniglia at dm.uba.ar
Thu Jan 3 12:39:03 UTC 2008


OK. Then just show us some of your source code so we can figure out what you
are trying to do.

 

/Leandro

 

  _____  

From: squeak-dev-bounces at lists.squeakfoundation.org
[mailto:squeak-dev-bounces at lists.squeakfoundation.org] On Behalf Of David
Zmick
Sent: Wednesday, January 02, 2008 8:00 PM
To: The general-purpose Squeak developers list
Subject: Re: my Framework

 

yes, it is my first, but i understand all of the classes, etc.  I want to
make an expandable cryptology system that will have other classes with
certain methods to control the framework, or base class,  its just fancy
words 

On 1/2/08, Ralph Johnson <johnson at cs.uiuc.edu> wrote: 

On Jan 2, 2008 1:39 PM, David Zmick <dz0004455 at gmail.com> wrote: 
> i am working on a program with a framework, and modules that will plug
into
> it, and i need to know how to send a class name around. for example: i
have
> a method in one class, that servers as a module, that will "Procces 
> Commands" sent to the framework. I have another class that is suposed to
> manage the commands and getting them to the right place.
>
> ManCommands-the command managing class
>
> Framework-the framework that manages input/output 
>
> BasicModule1-a module that will eventually be used to run other "modules"
>
> how do i get the framework to tell ManCommands to send the command sent to
> the framework to the ProccessCommand method it BasicModule1> 

I've taught Smalltalk to a lot of people.  Based on that experience, I
think you are heading in the wrong direction.  You probably shouldn't
be talking about modules, but about classes.  You shouldn't think 
about a module that runs other modules.  Further, classes are objects,
so you usually don't pass names of classes around, but the classes
themselves.

Is this your first Smalltalk system?

-Ralph Johnson 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080103/8bb406e8/attachment.htm


More information about the Squeak-dev mailing list