|
Some sample code to help understand Morphic applications: msg#00098lang.smalltalk.squeak.beginners
On 10/17/06, Matthew Fulmer <
tapplek@xxxxxxxxx> wrote:
Yes, that took a while to get working as I wanted! > The code is attached, and can also be found at Just "SampleImageViewerMorph new" is enough. I found that I was using a couple of newish features (String>>startsWith: and Collection>>select:thenDo:), so I've replaced them. I've tested Version 2 (attached) on a 3.7/3.8 image. > If anyone from the Documentation team is building a repository of sample Please feel free to do so. I'd be happy to contribute some more commentary if it would help. Maybe I should have written a test-case to go with it as well! I think it would be a useful to have a set of such simple applications available to point new users at once they'd worked their way through tutorial materials and were wanting to get their teeth into something more meaty. For instance, I'm now working on a simple rss reader which might sit nicely alongside this (grabbing content from the BBC news rss, parsing xml, and displaying the articles on a map background). I'd be interested in seeing if other people have some simple applications that could demonstrate other aspects which I know can be difficult to 'get' eg, communicating with the OS, use of DBs, persistency solutions. If there was a reasonable cross-section of code, it would be striaghtforward to have a set of "SampleCode-..." packages on SqueakMap to provide easy access. Cheers, Michael
Beginners mailing list Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx http://lists.squeakfoundation.org/mailman/listinfo/beginners
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Some sample code to help understand Morphic applications, Michael Davies |
|---|---|
| Next by Date: | thanks for help with super and inheritance, dennis petrocelli |
| Previous by Thread: | Re: Some sample code to help understand Morphic applications, Matthew Fulmer |
| Next by Thread: | Re: Some sample code to help understand Morphic applications, Matthew Fulmer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |