Search code examples
apache-flexeventscommunicationmoduletightly-coupled-code

Parent App access vs Events in Flex Modules


Inspired by this Flex question, is it seen as better practice to dispatch an event back to the parent app, as opposed to calling a method on the instance of the parent app, from within a module? To me it seems that the module shouldn't know what methods are available at the parent, as such approach leads to tight coupling.

Thoughts?


Solution

  • I think I found my answer here.