I was wondering what you thought of this post about organizing notifications:
http://labs.almerblank.com/2009/11/organizing-puremvc-notifications/I like the idea of a Notifications Class, typed to INotifications that implements:
function register():void;
function remove():void;
But the last suggestion in this post is also interesting, by aggregating notifications specific to areas of an application in an all encompassing Notifications Class, which could be accessed through the facade. However, I'm not certain about breaking from the best practice of using public static constants in the concrete Notification Class (LoginNotifications) and instead using only public constants.
Please see the above post...
Could you advise on best practice here? Thanks!