I think I need to jar my thinking vs a global object



List:

Many of the methods of our current project depend upon properties of the
current user.

Most of these are UI issues . . . buttons shown or not shown depending
on whether the current user has sufficient rights to use those
functions.

Right now, we have "currentUser" which is a global object.

Is there a better way to do this sort of thing?

I'm certain this type of thing comes up all the time with fonts,
localization . .that sort of stuff.

Pointers to relevant articles welcome.


Charles


.


Quantcast