Information


Blog Posts


Collections



Contact


Things Ian Says

angular

Here are all the items relating to angular (page 1 of 1)

Cross Framework Messaging

With the proliferation of Javascript frameworks, I found myself in the situation where I needed two different UI elements — built with two different Javascript frameworks — to communicate with each other.

Rather than choosing to migrate one onto a different framework, I looked at a way of allowing them to send messages to each other using the Mediator Design Pattern.

Using this pattern, I have an example of an Angular app, a React app, and a plain Javascript app communicating.