Using system.util.getGlobals with classes

If I understand correctly, you don't want to store the classes themselves in the globals dictionary because of the high risk of nasty memory leaks. You might want to store just data to the globals in the form of native objects like dictionaries and keep the logic separate.

The following links have some info on how to use the globals dictionary:

3 Likes