Hi, I am new to the forums and new to PureMVC : ) I am fairly familiar with design patterns and try to implement them whenever possible, especially MVC in the vast majority of my projects, but I am trying to get a grasp on PureMVC and I think I understand some of the core concepts but there are still things I am stuck on so I hope this is the right place for me to request some knowledge...
In regards to Notifications I have one question: the getBody() method pulls the body parameter. Is that parameter pretty much just a placeholder to be able to pass any argument you want through a notification? In the examples I see, for Mediators, it is usually used to pass the stage object through. Should I designate this argument for something in particular in most cases?
My second question is about the facade... In the PureMVC world, how would one go about setting/getting a 'global' variable? Before I was using a singleton class I found that stores and instantiates global objects but I feel like with the facade, this should no longer be necessary... any tips for accomplishing this the right way?
Thanks lots for any help or feedback, direction etc you can provide