Introduction
Introduction Statistics Contact Development Disclaimer Help
2018-09-21
__A_n_o_t_h_e_r__S_m_a_l_l_t_a_l_k__j_o_u_r_n_e_y___________________
have spent the last weeks with another visit to the land of
malltalk. As I have described earlier[0] Smalltalk is a really
nteresting OO langugage with its own eco system.
his time I have been choosing Squeak[1] as my platform in
reparation of a little talk[2] I gave at my local computer club.
hanks to krono[3] for all the help and codezeilen[4] for helping out
ith my patches.
hile the talk had the goal to give a small introduction into
malltalk I wanted to write some little program to get back into the
xplorative development mode of Smalltalk writing.
o naturally I have implemented a small gopher client[5] that will
isplay gopher sites as a BookMorph and is able to render images as
ell.
ou can finde screenshots here[6] and here[7].
s always finding the right classes has been the biggest obstacle for
e. This time Squeak has been an even bigger target in terms of
lasses as Cuis. That's ~2250 classes vs. ~550.
o after some unsuccessful attempts with just a TextMorph inside a
crollpane inside a PasteUpMorph, I finally settled with a BookMorph
hose original intent has been to do interactive books and
resentations.
o you will get a widget with history 'paging' (even with cheesy page
urning sounds!) for free. Which is excellent for implementing gopher
n it turned out.
he rendering logic has been written in an afternoon. Most of the
est of the 2-3 days of time went into diagnosing resizing /
crolling bugs which have been mitigated by moving to BookMorph.
he next step for me is to learn how to really build a UI in
malltalk. Krono pointed me to the Toolbuilder classes and their
uilding spec and I have started to create a client based on my
nitial set of classes, this time refactored as a Smalltalk model. I
ant to do it with the model/viewer paradigm as I hope to gain some
nsights about how this all really works and whether that's a good
it for another ongoing project of mine.
nother issue is to learn how to do UTF-8 properly with Smalltalk /
queak and setup a proper code repository with my own gitd. Learning
ll the tools has been a challenging but pleasant experience. Also
he community in itself is very newcommer friendly and welcoming.
tay tuned for further Smalltalk news!
__References________________________________________________________
0]: gopher://vernunftzentrum.de:70/0/ckeen/phlog/2018-03-11-On-smalltalk.md
1]: https://squeak.org/
2]: gopher://vernunftzentrum.de:70/9/ckeen/smalltalk.pdf
3]: https://toot.berlin/@krono
4]: https://freehold.earth/@codezeilen
5]: gopher://vernunftzentrum.de:70/9/ckeen/Gopher-ck.1.mcz
6]: https://vernunftzentrum.de/media/e90c868d-594c-4cb6-bd16-47c55937b6f4/First…
7]: https://vernunftzentrum.de/media/70e376da-0a5d-4405-b908-d2927c27f092/Book.…
You are viewing proxied material from vernunftzentrum.de. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.