I'm very new to Sencha Architect and trying to make a tree populated with data that I get from a server (which I don't know anything about ahead of time). I've looked through many examples but they are either very basic and don't help with what I want to do, or too complicated! I get how to use the inspector and config from tutorials. But all of the tree examples I found just give code, and nothing tells me where I'm supposed to put this code or how. I am a programmer so I am fine with this, but HOW and WHERE do you put this code? It seems to me like the Sencha code is read-only.

So my questions are - (1) how do I code in Sencha, (2) I have an empty tree panel and a tree store, now what do I do to populate it with data?