[squeak-dev] Mantis 5669 for trunk

Ken G. Brown kbrown at mac.com
Sat Dec 11 22:35:03 UTC 2010


It sound like a decent way to go. I'll be considering this concept.
ScriptManager also does some neat stuff for Workspaces, eg. bringing in, and tearing off.
Might be nice to meld your concept with the way ScriptManager works somehow, get the script storage out into my own package rather than having the Scripts stored in the dictionary in ScriptManager itself.

Thx!
Ken

At 11:20 PM +0100 12/11/10, Bernhard Pieber apparently wrote:
>Hi Ken,
>
>The trick I use since many years is to just use a normal class as a script class, e.g. named MyProjectScripts and put all the scripts as class methods. I use a normal browser for editing. (In VA Smalltalk there is a browser variant on a single class which is slightly more convenient for this.)
>
>This approach has a lot of advantages IMO:
>- The scripts are versioned together with the code.
>- Persistence is trivial - Monticello.
>- Senders and implementers find the script code as well.
>- Refactoring works.
>- And all this without any special tools.
>
>If I need variables I sometimes use blocks, e.g.
>
>I know a lot of professional Smalltalk programmers who use script classes like that.
>
>Cheers,
>Bernhard
>
>Am 11.12.2010 um 19:30 schrieb Ken G. Brown:
>
>> I've found ScriptManager <http://www.squeaksource.com/ScriptManager.html> that does some of what I am looking for.
>> Now next step is getting it to save my data with versions into my local MC repository.
>>
>> What do you do for saving bits and pieces of misc stuff you want to have in your image when you transition to a new image release?
>> How do you migrate scripts for customizing the image. eg loading a set of external packages you always want in your dev image?
>>
>> Thx for any tips,
>> Ken




More information about the Squeak-dev mailing list