Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To solve that problem we need to use anything other, then dot (".") to separate out internal event namespace, e.g. "\" (as in PHP). This way "FormManager.WindowManager.Ready" becomes "FormManager\WindowManager\Ready". And the actual ".namespace" syntax need to be used by code, that listens to that event for easy event listener distinction later on (if we need to remove all in single namespace).

For example listener for "FormManager\WindowManager\Ready.Uploader" string clearly states, that:

  • it listens for "FormManager\WindowManager\Ready" event
  • it is related to Uploader

This way locating event listener created from Uploader would be a breeze.

Related Tasks