Real Time Data Sending with SocketIO

Real Time Data Sending with SocketIO

Ben Awad

5 лет назад

118,802 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@workingTchr
@workingTchr - 12.06.2022 09:33

When I started I thought we were going to make a stream-type connection, but see now its a sequence of discrete transfers of data which is familiar to me. One thing I didn't catch is how typing in a character triggered the socket event. I work with the DOM as my basis so Im going to transfer your example to a change event on a textarea ar editable div., Thanks for basic orientation. Coming on ths heels of webrtc this makes SO much more sense.

Ответить
@vargasbj
@vargasbj - 28.12.2021 18:08

dear, hello from Costa Rica. I was looking for a real time example with react and you really rocks. Pretty clear and straightforward and clean learning. congrats

Ответить
@rajbannasa7662
@rajbannasa7662 - 29.10.2021 07:55

thank you so much sir

Ответить
@hasithananayakkara7956
@hasithananayakkara7956 - 26.05.2021 11:09

if the client side is something like an iot device (tracker) same theory right ?

Ответить
@AkshatSinghania
@AkshatSinghania - 25.03.2021 16:10

you teached everything so nicely in only 10mins, whereas all socketio in 10mins videos are clickbait, thanks for the video, you deserve a sub :) ,

Ответить
@adwaithks
@adwaithks - 25.11.2020 21:07

I'm getting errors in console.. When using socketio client..

Ответить
@adityavikrammonga8110
@adityavikrammonga8110 - 02.10.2020 23:38

I've been trying to figure this out for a few hours. Concise walkthrough, thanks!

Ответить
@hayderjabur6258
@hayderjabur6258 - 10.09.2020 22:16

anyone has issue when initialize( socket.io-client) client side? I keep getting error in consle of the browser !!!!

Ответить
@kanhaiyakushawaha738
@kanhaiyakushawaha738 - 10.07.2020 10:52

Hello sir, how to use websocket in next js ?

Ответить
@seethisful
@seethisful - 26.05.2020 19:16

Im working on a side projects like this one. Do I need operational transformation and how do I implement it with socketio?

Ответить
@julianfranco7689
@julianfranco7689 - 19.05.2020 02:03

"Aight so I've got two browsers open, two incognito tabs. And you know what that means, we're digging into web sockets" Gold.

Ответить
@DanyDelaCruzM
@DanyDelaCruzM - 28.04.2020 04:54

N ose entiende ni un pito.

Ответить
@zhujielater
@zhujielater - 08.02.2020 18:44

Hi I am trying to follow this example on Slate 0.57.. (You were using Slate 0.47).. Having issues.. It is possible if you can confirm you code can still work with Slate 0.57? Thank you

Ответить
@HugoRamirezSoto
@HugoRamirezSoto - 30.10.2019 00:16

How about a real-time graph using D3, thank you for your videos.

Ответить
@Fedjz
@Fedjz - 04.09.2019 18:36

Nice video bro!
Can GraphQL subscriptions replace SocketIO? It's SocketIO better suited for real-time?
Thanks!

Ответить
@md.akib5124
@md.akib5124 - 27.06.2019 04:41

make a video chat app

Ответить
@deltoid4666
@deltoid4666 - 31.05.2019 11:26

Does each user have to view the same thing? And would it be possible to push something from user 1 to user 2? So let's say user 1 hits a button to change an indicator (only viewable by user 2) from red to green (to indicate whether user 2 should type or not), wondering if SocketIO allows for this. Hope that was clear, and thank you for your content.

Ответить
@mrbiditY
@mrbiditY - 30.05.2019 12:01

How would you merge the diffs if two people would type at the same time at the same position in the text ? That would be really interesting!

Ответить
@deriegle
@deriegle - 30.05.2019 01:04

I would love to see a few things: Can you add styling (bold, italic) operations to the editor that works across multiple editors.

I think it would also be really cool to see either version control where you can see all the changes a person made or to add persistence to the documents so you could share a document id with me and I'd be able to view it and change it.

Ответить
@SkyLib
@SkyLib - 30.05.2019 00:59

Great!!!! can we make the socket server stateless? so it can run on a cluster? if not, what is the solution/alternative? could you please make a video about it. thanks!

Ответить
@LeKoArtsDE
@LeKoArtsDE - 29.05.2019 23:45

Saving the data would be cool :)

Ответить
@saimanish7634
@saimanish7634 - 29.05.2019 22:32

is this a series like airbnb clone and going to be as big?

Ответить
@andresmontoya7852
@andresmontoya7852 - 29.05.2019 20:56

In the next video, add the option to save the data the user types, instead of click on a button to save it, the web should wait certain time and then save it, like google drive does. Also, support offline with workbox would be interesting.

Ответить
@surajitdas94
@surajitdas94 - 29.05.2019 20:07

You can create a pool for JS vs TS. I want see videos on JS please. Thanks for your precious time, I really appreciate it.

Ответить
@surajitdas94
@surajitdas94 - 29.05.2019 19:59

Hit like if you want to see upcoming videos from Ben in javaScript instead of TS.

Ответить
@fr3fou
@fr3fou - 29.05.2019 18:58

Actually you can send full blown JSON, no need to Parse! You can send arrays, objects etc

Ответить
@matthewzecchini9951
@matthewzecchini9951 - 29.05.2019 18:36

Hey Ben, could you show what a "game room" might look like for video game scores?

Ответить
@robertshawnmitchell
@robertshawnmitchell - 29.05.2019 17:19

Very cool!

Ответить
@sandeepknair4969
@sandeepknair4969 - 29.05.2019 17:13

Would like to see a group feature implemented where the live editing is visible to the people in that group and not to people outside the group.

Ответить