|
From: | Joachim Jaeckel |
Subject: | Re: [Help-smalltalk] iliad and blocks |
Date: | Mon, 22 Jun 2009 14:40:07 +0200 |
User-agent: | Mozilla-Thunderbird 2.0.0.19 (X11/20090103) |
Hello Paolo. First of all, thanks for your comment!
Joachim builds a PageTemplate widget, and I'm not sure I like the idea of returning blocks from the methods there (like #mainContent). I would rather use something like #renderMainContentOn:UrPics.PageTemplate subclass: UnknownHome [ renderMainContentOn: e [ e h1: 'UnknownHome Object!'. ] ]
This was indeed one of my first approach in splitting the page into parts. (... and for me, it looks a bit more like seaside, which I got used to ...) but then I decided against that, because it would break the usual Iliad kind of style (ooohhh, hope I could make me understand...!) And I (excuse me) wouldn't like to use several different ways of doing the same thing in "one" code...
But I'm a noob to smalltalk and the way of coding in it, I'm open to every suggestion! (I think, I have also to rework my kind of blocking [] code. I saw that most smalltalk-code uses another style...)
Best regards, Joachim.
[Prev in Thread] | Current Thread | [Next in Thread] |