Distributed Event-based Communication for Web Components
Proceedings of Studierendensymposium Informatik 2016 der TU Chemnitz
The set of new W3C standards called Web Components brings reuse-oriented, component-based application development to the Web. By providing custom element names, encapsulation and interoperability, developers are able to create components that can be reused in any HTML5-based web application. Polymer is a framework by Google Inc. that utilizes the opportunities of Web Components and hides the comprehensive set of technologies behind a declarative definition and adds additional features. Unfortunately, inter-component communication, which is required for application development by composition, is not covered by neither the W3C specifications nor the Polymer project. Therefore, we propose an approach to enable event-based communication for Web Components. We facilitate loosely coupling and support single- as well as multi-screen usage scenarios by providing publish/subscribe mechanisms and message distribution across multiple devices. To showcase the applicability of our approach, we present an extension to the Polymer framework as an exemplary implementation.
Krug, Michael: Distributed Event-based Communication for Web Components. Proceedings of Studierendensymposium Informatik 2016 der TU Chemnitz, pp. 133-136, 2016.