[aida] About observee
s at xss.de
Wed May 30 21:21:46 CEST 2007
On Wed, 30 May 2007 20:57:59 +0200
Janko Mivšek <janko.mivsek at eranova.si> wrote:
> Stefan Schmiedl wrote:
> > On Wed, 30 May 2007 20:17:23 +0200
> > Janko Mivšek <janko.mivsek at 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 ...
ahh... yes. That part did not make it into long-term memory .-)
More information about the Aida