- If I have a global available in a certain namespace, can I use InterSystems SQL to query those globals?
- How do existing globals and creating classes work? Like I have a Person global right now. Can I turn that into a class and manipulate the data that way?
You'll need class mapping to query globals via SQL. Check article series The Art of Mapping Globals to Classes by @Brendan Bannon.
- I'm used to Java where you can write a class and then write a driver class to test your classes and methods. Or simply just test your newly created classes and methods in the main method (wherever that lies in your code). Is there something similar in Studio? I can write classes but then they are compiled and I have to go to the terminal and test them? Is this where routines come into play in Studio?
You can configure Studio or Atelier debugger to run any class method. There's no need to use routines for that.