The Conversation Is More Important Than The Topic

In a meeting here at SitePoint HQ the other day, we were discussing blogs?what were our favourites, what makes a blog successful … Someone in the room made the comment that the conversation is more important than the topic?a statement that is c...

Making application modules communicate with each other using Decoupling Print E-mail
User Rating: / 0

I've been talking about event driven application design in JavaScript in January last year and inspired Caridy Patiño to write his Bubbling Library based on these ideas.

Caridy now upped the ante a bit by talking about decoupling using the bubbling library over on the YUI blog.

In essence, his solution allows you to have custom events on application modules and listen to them independent of execution order or availability. Simply using custom events can get you in a pickle if you make yourself dependent on their order. With the decoupling solution proposed by Caridy this becomes one less issue to worry about.

Read more at:
< Prev   Next >