A CSE154 Exploration Session by Jeremy Zhang
https://staff.washington.edu/jkzhang/attendance
A bit about the attendance webapp
https://staff.washington.edu/jkzhang/attendance
Password:
rainbowdash
Eg: ChatIt
Eg: Google Docs
AJAX Long-Polling, but more modern.
Eg: Stock Tickers
Eg: The ".io games"
Discord
Thank you Mike Freeman (INFO 201) for the Chat & Pie demo.
http ---> ws
https ---> wss
let ws = new WebSocket("wss://aggie.io/ws");
Initiates a secure websockets with aggie.io/ws page
let ws = new WebSocket("wss://aggie.io/ws");
ws.addEventListener("message", function (message) { ... });
When a message is recieved from the server....
let ws = new WebSocket("wss://aggie.io/ws");
ws.addEventListener("message", function (message) { ... });
ws.addEventListener("close", function () { ... });
When the server closes the websocket connection....
let ws = new WebSocket("wss://aggie.io/ws");
ws.addEventListener("message", function (message) { ... });
ws.addEventListener("close", function () { ... });
ws.send(" message content here, as a string ");
Sending a message to the server....
(Works even if you do not have an account)
Feel free to use this token (will be disabled shortly after the exploration session to prevent abuse, sowwy)
a token should be here...
You are interning at Titan Embeds and your boss has given you three files fresh off the website designer.
Your job is to implement a message ticker (similar to a stock ticker) so that your company can display the chat messages at a public television for all to observe. (Kinda like Kane Hall's events television that gets updated throughout the day.)