I'm probably not the right person to answer this, honestly. Here is the basic approach that I take in trying to understand all this. Forgive me if I don't have all the answers but this is my take on it.
You can go to school on the existing code, like looking at the existing use of
data-bind within the jinja2 files: here. Without necessarily drilling into any of those, move on to the next point.
And finally, you have to get from the