Please give us a detailed overview of your session and why attendees will be excited to hear about it.
Ensure that you let us know:
- What level of knowledge should attendees have before walking into your session
- What will your session accomplish and what will attendees walk away having learned
Please first attend either my introductory talk on MQTT, or someone else's. if they did not accept anyone’s introduction to MQTT talk, then the first 30 minutes of this tutorial will be an introduction to MQTT and why it is perfect for chat servers. Facebook's messenger uses MQTT!
The objective of this tutorial is to quickly bring you up to speed on getting browsers to talk to each other using Paho's Javascript MQTT client library. By the end of this tutorial, you will have your very own chat application.
The tutorial is broken into multiple exercises, most of which do not depend on each other. That way even if you miss one exercise, you can keep up with the class.
First we will make sure that the MQTT server is working using an MQTT Web Gui application which is part of the MQTT server. Login, send a message, watch the sent messages. Another web app lets you visualize the topic tree. Now that we have the basic idea of how MQTT works we will repeat those exercises in javascript.
The grand finale will be to create a chat server, and chat with our class mates. We reuse an existing Chat client. All we have to do is reconfigure it. And then we make some changes to it. Add a welcome message, send the user name in the json MQTT message. Display that information in the chat client. By the end of the class you will be able to talk to an MQTT server, and make additional changes to your MQTT chat client.
The last hour of this class will be spent discussing people’s specific applications. You are invited to say what it is you are building, and discuss any particular issues or concerns which you may have.
Before this talk, please install the ForestWiki.com docker container.
https://forestwiki.com/forest-wiki-installation-instructions