I\'m creating a client-side dynamic blog engine. Now I need a event system to handle many actions from DOM elements and the engine. Such as the engine is loading a article,user
You could implement mediator pattern:
http://addyosmani.com/resources/essentialjsdesignpatterns/book/#mediatorpatternjavascript
In this book is everything you need to know about it.