[Seaside] Design question for Seaside applications

Damien Cassou damien.cassou at laposte.net
Tue Jul 11 04:17:09 UTC 2006


Hi Romain,

> The content could be anything. It could be something like this:
> 
> menuCallBackForEditor
> result := content call: BlogEditor new.
> "do whatever with result"


I really like it. This solution is really elegant.


> It seems easier to proceed like this rather than manually modifying the 
> structure of the page, 
> and having the editor call a method on the application.
> This way, not every content component has to know everything about the 
> application, thus increasing reusablity.


That was one of my problems and you solve it.


> That might not be a very important in that case, but it shows the 
> general mindset of having component decoupled as much as possible
> so that they can be reused afterwards. 


This is important because I'm not writing a blog application, but an 
application to teach concepts.


Thank you very much for this


More information about the Seaside mailing list