[Glass] Help defining gemstone users for a multi-user app

Richard Sargent richard.sargent at gemtalksystems.com
Mon Jan 6 10:05:34 PST 2014

Richard Sargent wrote
> One idea that might work, is to define a Symbol Dictionary for each
> version of your application. For example, MyAppV11Globals versus
> MyAppV12Globals versus MyAppV21Globals, etc.

And in case the implication wasn't clear, you can also define
CustomerXGlobals versus CustomerYGlobals to allow segregation of
quasi-globally accessible collections with the same, common names. For
example, if your app has Customers and Invoices, etc., each of these
customer-specific Symbol Dictionaries can define various collections with
these names. You will need to use dynamic binding to access them, otherwise
you get whatever was visible when the code was compiled. e.g., use
#resolveSymbol: to find the collection roots (or collections root, depending
whether you have a single root dictionary or discrete collections in the
Symbol Dictionary).

View this message in context: http://forum.world.st/Glass-Help-defining-gemstone-users-for-a-multi-user-app-tp4734633p4734680.html
Sent from the GLASS mailing list archive at Nabble.com.

More information about the Glass mailing list