martypitt
|
 |
« on: December 03, 2007, 11:25:05 » |
|
Hi
I have a fairly simple question.... Across my application, various components need to know about who the user is.
How do I expose this type of singleton style data? Do I expose a :
public function get userProxy():UserProxy
on the ApplicationFacade?
then when I need to know who the user is, I target ApplicationFacade.getInstance.userProxy.userName()?
Or is there a more appropriate approach?
Thanks
Marty
|