Friday, November 16, 2012

Better way to handle events in ExtJS/Javascript

I\’m trying to build an application in ExtJs/Javascript and noticed events are good way to keep component independent to each others. However, the way events are raised and captured makes them a bit more specific to caller and receiver.


Is there any better way to do this. I\’m planning to write one center EventBus class using which any component can raise one event and another can register to listen to it.


Is there any library already available to achieve something like this. I saw backbone.js not sure it\’s doing same thing what i\’m looking.






Rating: 4 out of 5 based on 3 ratings



The post Better way to handle events in ExtJS/Javascript appeared first on Javascript ASK.






via Javascript ASK http://javascriptask.phpfogapp.com/better-way-to-handle-events-in-extjsjavascript.html

No comments:

Post a Comment