I know one can use deferreds and promises when doing ajax calls, but
can these be used for custom events?  Is pubsub the best way to have
decoupled components talk to each other?

Only thing I think is missing from pubsub is having a way to know
which event a component subscribes/publishes.

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to