First off, welcome aboard.
Your interest seems to be related to event listeners. We now have official documentation on this topic, check it out here.
We’ve also discussed listening to events within our community forum; take a look at these threads here, here, and here.