[Seaside] Menu component - communicating with root component

Philippe Marschall philippe.marschall at gmail.com
Sat Apr 19 08:41:05 UTC 2008


http://onsmalltalk.com/programming/smalltalk/maintaining-loose-coupling-in-seaside-components/

2008/4/19, Edward Stow <ed.stow at gmail.com>:
> Hi,
>
>  Sorry if these questions seem very simple -- but I wanted to check
>  that my overall architecture was ok.
>
>  I have an application that has a RootComponent and several sub
>  components that can be selected by actions in the MenuComponent.
>
>  RootComponent
>     MenuComponent
>     Body1Component
>     Body2Component
>     .. etc ...
>
>  The menu component in the anchor callbacks sends #triggerEvent: to
>  notify the Root of the menu selection.
>  The Root then renders the selected Body component.
>
>  Is this a reasonable Seaside-way of structuring the application.    I
>  know that Pier has the sidebar menus ... but Pier is difficult for me
>  to follow due to the highly abstracted nature of the application.
>
>
>  Thanks
>
>
>  --
>
>  Edward Stow
>  _______________________________________________
>  seaside mailing list
>  seaside at lists.squeakfoundation.org
>  http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the seaside mailing list