Ethan Butler: Real-Time Publishing With WebSockets

2 responses on “Ethan Butler: Real-Time Publishing With WebSockets

  1. Nathan Simpson

    Anyway you can convert this to a plugin with all of the endpoints in place … ???

    Like

  2. Nathan Simpson

    Anyone try the theme and get it to work?

    Like

Continue the discussion

Published

June 16, 2017

*This is a 15-minute Lightning Talk*

In this talk, we’ll cover building a WordPress site that leverages the power of Express.js and WebSockets to enable things like live publishing, commenting, and alerting users when content is being edited. We’ll build a simple Express app to handle POST requests from a WordPress site and turn them into events emitted to users, and build REST API endpoints to handle data from users. We’ll also talk about integrating something like this into a production site.

Takeaways:

Writing a node.js application with Express and Socket.io to send content to users in real-time
Writing a plugin to send data to an external app through webhooks
Extending the WordPress dashboard

Presentation Slides »

Rate this:

Event

WordCamp Asheville 2017 32

Speakers

Ethan Butler 6

Tags

Real-Time Publishing 1
WebSockets 3

Language

English 10531

Download
MP4: Low, Med, High, Original
OGG: Low
Subtitles
Subtitle this video →