« Return to Thread: Menu component - communicating with root component

Re: Menu component - communicating with root component

by Philippe Marschall :: Rate this Message:

Reply to Author | View in Thread

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

2008/4/19, Edward Stow <ed.stow@...>:

> 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@...
>  http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
_______________________________________________
seaside mailing list
seaside@...
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

 « Return to Thread: Menu component - communicating with root component