I thought it might be useful for authors to have a guide discussing the differences between local scope and global scope using variables, functions, and addons. I went into a bit of detail regarding the addon private table, since that comes up now and again. The guide tries to explain best practices using examples, and there is a trick using Inspect.Addon.Detail that is also covered.

Any errors are my own (I am Myrroddin, he is me) and if there any, I apologize. Please either correct them for free or let me know and I will correct the page.

http://wiki.riftui.com/Scope:_local_vs_global