This post was originally published on the New Bamboo blog, before New Bamboo joined thoughtbot in London. Websockets-based activity dashboard app. Read on to know more about the ideas behind it In this post I’ll attempt to summarise some patterns for designing event-based Javascript applications extracted from our projects and previous blog posts on the subject. I’ll end with an overview of the te
![Custom event emitters in Javascript](https://cdn-ak-scissors.b.st-hatena.com/image/square/4480fb0e30512d9400a397c56ea570145c05a60d/height=288;version=1;width=512/https%3A%2F%2Fimages.prismic.io%2Fthoughtbot-website%2FZn0Q2JbWFbowe7qY_default-article-background.png%3Fauto%3Dformat%252Ccompress%26mark-x%3D356%26mark-y%3D100%26mark64%3DaHR0cHM6Ly9hc3NldHMuaW1naXgubmV0L350ZXh0Lz90eHQtbGVhZD0wJnR4dC10cmFjaz0wJnR4dDY0PVEzVnpkRzl0SUdWMlpXNTBJR1Z0YVhSMFpYSnpJR2x1SUVwaGRtRnpZM0pwY0hRJTNEJnR4dGNscj1mNWY1ZjUmdHh0Zm9udD1JQk1QbGV4U2Fuc0pQLVNlbWlCb2xkJnR4dHBhZD0wJnR4dHNpemU9NjQmdz04MDA%253D%26txt-align%3Dcenter%252Cmiddle%26txt-color%3Df5f5f5%26txt-fit%3Dmax%26txt-font%3DIBMPlexSansJP-SemiBold%26txt-size%3D24%26txt-x%3D391%26txt-y%3D526%26txt%3DIsmael%2BCelis)