[aida] About observee
janko.mivsek at eranova.si
Wed May 30 21:01:12 CEST 2007
Janko Mivšek wrote:
> Stefan Schmiedl wrote:
>> On Wed, 30 May 2007 20:17:23 +0200
>> Janko Mivšek <janko.mivsek na eranova.si> wrote:
>>> To continue a bit: as Stefan already explained, observee is a model
>>> object which this App is "observing" to produce its web presentation.
>>> That way a classical MVC style of separation of domain from
>>> presentation is achieved.
>> That's one thing I meant to ask you, Janko. Where's the "C" in AIDA?
>> I see the Model as domain objects, the viewXXX methods in the xxxApp
>> classes act as View, but where's the Controller supposed to be?
> Stefan, C as Controller in MVC coresponds to actions in Aida. So, for V
> you have view methods (#viewMain etc) and for C you have action methods
> (#actionMain, #actionMainAdd etc). Action methods are called when you
> press buttons on a web page ...
I forgot to add that both view and action methods are in the same App
class. That's one of the reasons why those class names end with "App"
and not "View".
Smalltalk Web Application Server
More information about the Aida