NUXEO Consultants - IMPLEMENTING BULK METADATA EDIT IN NUXEO, Maretha

A simple, dependency free Event Bus for Nuxeo Web UI / Polymer / any JavaScript project

TL;DR

If want to skip to the event bus code, you will find it at the end of this article.

Summary

Let’s start with a discussion on component coupling, communication, and when to an event bus. Polymer has a few communication options available, and the key is finding the optimal coupling for each situation:

  1. Direct communication by way of property binding
  2. Mediator pattern
  3. Events, and a clever way of propagating data downward in Polymer
  4. Event bus