Nuxeo / DAM / PAM / ECM specialistsContact

Nuxeo

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

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:

Talk to a Maretha Consultant

Tell us what you're struggling with, and we'll tell you how we can help you.

Talk to us
In this article

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

Read full article on Medium

Work with Maretha

Working through a content platform challenge?

Bring your platform, constraints and questions. Let us help you work through the approach.

Discuss your project ↗

← All insights