reusable viewer/script method

Gary McGovern zeppy at australia.edu
Mon Mar 15 16:54:08 UTC 2004


I started two interesting projects last night. They are interesting for me
because I'm studying relational databases. 

I already had database design model for two databases, but the info is not
for ssharing really so I decided to do them in Squeak. 1 where a stack
represented a relation and the other with bookmorphs representing the
relations. 

The problem I'm having is that I am hardwiring the relations/ morphs. For
example on each page there are buttons. But They have the same name on each
page.

in pseudocode what I want is :

book1 page1 photoButton1
onClick
photoAlbum1 show

I need the morphs to have their own unique reference.
I checked the collections option but, couldn't see what I wanted.

Has anyone done something with relations in squeak before ?

What about some kind of stack sql, or book sql ? They would be an
interesting learning projects.

Thanks,
Gary






More information about the Squeak-dev mailing list