I understand how to code lightning event from developer guide, but still some of part of me puzzling why the event handling needs to be such a lengthy process and declarative instead of some simple code in javascript/jquery,
right now you need to do the following
1. define event component
<aura:event type="COMPONENT"> <aura:attribute name="message" type="String"/> </aura:event>
2. register event
<aura:registerEvent name="sampleComponentEvent" type="c:compEvent"/>
3. declare event handling at component level or fire in javascript controller
<aura:handler name="sampleComponentEvent" action="{!c.handleSampleEvent}"/>
I see some cleanliness in decoupling events from code which is easy to understand, some re-usability aspects as well, other than what is logic behind this lengthy process of event definition and handling? is event itself considered as component?