Decoupling. The listeners do not need to know who is the source of the event, nor they have to attach themselves to any specific element. If in the future the publisher (source of the event) changes, or there is more than one publisher, you don't need to change any code.

regards
musachy

André Faria wrote:
What is the advantage to use NotifyTopics instead of Directly Calls for JavaScript functions?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to