Message Bus for WordPress: Commit Log - Supercharged

preview_player
Показать описание
Surma is building a PWA using WordPress. In this series he explains how to write decoupled code with a message bus. If you have questions, feel free to leave them in the comments.

Рекомендации по теме
Комментарии
Автор

I reinvented this wheel when I wrote a backend with Node.js - my goal was to decouple push notifications service from business logic, so I used Redis' PubSub commands so that the backend publishes some data, and the push notifications service would send appropriate messages to clients.

dkarbaev
Автор

How is this different from event emitter?

TSwizardd
Автор

I have been doing this for years. I have always called it "Event Driven Programming"

dustinpoissant
Автор

Your hair is so perfectly combed that contradicts the Hairy Ball Theorem.

MaxArt
Автор

Aha!, so MessageBus + ServiceWorker = Communication between browser's tabs? :) Love the channel BTW

krzysztofklein
Автор


Still a fun topic though :) Love the channel!

smhmic
Автор

Favorite moment - You should click the <Subscribe> button so you will get a <Notification> when the next video comes out. :D

yekeen
Автор

Hey Surma, thanks for the video. Perfect as always. But the intro is soooo long. Can you reduce it?

ZiX
Автор

Hmm sounds similar to observable pattern.

pushpaaji
Автор

Native websockets are using events, and they are not coupled with the DOM or with any visual input/output.

omri
Автор

Why are we avoding the name "PubSub"? Isn't this the actual term for this? You also get much more hits, when searching for PubSub

sergejherbert