[squeak-dev] Mantis 5669 for trunk

Bernhard Pieber bernhard at pieber.com
Sat Dec 11 22:20:40 UTC 2010


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