Question

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?

Was it helpful?

Solution

I think I found my answer here.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top