Post 3 made on Thursday July 15, 2010 at 19:24 |
pnnielsen Long Time Member |
Joined: Posts: | February 2010 37 |
|
|
At this point, I'm trying to understand how it works so that I can do things right and in the best possible way.
Are you implying that I *can* create one instance of the object and share it with System.setGlobal? I did try this, but it does not seem to work...
I do realize that I can use setGlobal to set global settings and use getGlobal in the library to retrieve settings & data, making it easy to use the library. This will probably work out fine for my needs, but *if* there is a way to just create one instance and use it, that would of course be ideal...
Save/restore object trees? Do I understand correctly: does this mean the same as saving all instance specific data and then letting you apply the data onto another instance of the same type? Correct? (I'm not familiar with JSON - yet).
Thanks, Peter
|
|
|