Appendix F. Channel messaging
Channel messaging is similar to cross-document messaging (see chapter 4) except instead of one message channel per window, it allows multiple channels to be created. This is useful if you want to build the page out of a number of loosely coupled, event-driven, independent components. Rather than adapt them all to share a single cross-document messaging interface and ensure they don’t clash with each other’s internal API for message formats, each component can have its own set of private channels.
Get HTML5 in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.