Skip next 3 paragraphs if impatient:
First, let me say that I love the new declarative data binding. I'm constantly amazed how I can do things in a couple lines of declarative code that before would have been an ugly ref query listener fest.
OK, now that the honey moon is kind of over, I'm building some more non-demo apps and I'm finding it very difficult to figure out why things don't work when it looks like they should. I'm not running into any ExtJS 5 instabilities or issues that I know of, it's just the space between my ears that makes mistakes.
Sad to admit, but one manager I worked for once told me that I should spend more time in design and less time in the debugger. Well, old dog, not likely to learn that new trick. I just like to do my design by building iterative prototypes so I can "feel" my apps rather than just imaging them.
My problem is that when a bind does not work, nothing gets displayed. No console errors, no warnings, just nothing. Could someone suggest how to debug bind problems? I'd love the new data binding so much more if I could quickly go from non-working to working code. For example, the issue I just ran into was I was building a simple template bound to the selected row. I mis spelled my speakersList variable and of course it did not work. No error, just not working. Besides debugging by inspection, what is a better way to figure out the issue?
Thanks, -Peter
Code:{ xtype: 'panel', tpl: [ '<tpl for=".">', ' {userFirstName} {userLastName}', '</tpl>', '' ], bind: { data: '{selectedSession.speakersList}' }