Тёмный

Realtime fetching from normal MySQL DB | Realtime data in PHP MySQL 

HA Codes
Подписаться 1,3 тыс.
Просмотров 6 тыс.
50% 1

Опубликовано:

 

10 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@Isydia
@Isydia 10 месяцев назад
What a beautiful tutorial, complete with source code.
@xadappadax9890
@xadappadax9890 Год назад
Great tutorial. Thank You!
@user-zp2nj2bn9m
@user-zp2nj2bn9m 8 месяцев назад
Great & beautiful! Thanks 😊
@RustyPack-fm2gi
@RustyPack-fm2gi 6 месяцев назад
Nice and precise ❤ .
@omarusama7335
@omarusama7335 5 месяцев назад
great work! thank you
@Vigyal
@Vigyal 11 месяцев назад
Finally got it ❤
@websinifi
@websinifi 7 месяцев назад
So, as data increases, doesn't it affect performance?
@hacodes
@hacodes 7 месяцев назад
You can improve this, create a different table 'watcher' just look at the record in the watcher and if record change fetch data from real table. Always update the watcher after modify real data table like adding, updating, deleting. You can use time stamp to use in watcher.
@sisonnn
@sisonnn Месяц назад
Why does my web just load when I used the JS file?
@sisonnn
@sisonnn Месяц назад
it takes too long to load, and it gives VM271:1 Uncaught (in promise) SyntaxError: "[object Object]" is not valid JSON at JSON.parse ()
@orhansu
@orhansu 10 месяцев назад
@user-kp9vw4uh9j
@user-kp9vw4uh9j 8 месяцев назад
It was really great and beautiful, please tell me how can I display a pop-up with the song playing on the screen whenever new information is added to the database?
@hacodes
@hacodes 8 месяцев назад
That's a very basic functionality, just create a function doing all stuff and run that function inside on message event.
@alfredobernabe4250
@alfredobernabe4250 Год назад
like and suscribe...tnaks ! nice job !
@nekoslayer4274
@nekoslayer4274 Год назад
is this method heavy for the server side and the client side?
@nekoslayer4274
@nekoslayer4274 Год назад
and it will sending multiple data as time goes by
@hacodes
@hacodes Год назад
No, not a such heavy as you think, and it doesn't send data each it just check the data if available them send
@nekoslayer4274
@nekoslayer4274 Год назад
@@hacodes my codes sometimes it keep repeating it self even though it's already executed as time goes by, is it because the read time get more slower because of the infinite loop?
@hacodes
@hacodes Год назад
Loop continue running when connected with client request, as request abort server processing stops for that request. And loop is just continue to check new data, if new data no available, then show nothing but keep running. This method still better that keep requesting from client side continuously.
@nekoslayer4274
@nekoslayer4274 Год назад
@@hacodes what if there is so many table and data, is it going to be slow?
Далее
Base64 encoding and decoding pure JavaScript
8:43
Просмотров 6 тыс.
Angular for Beginners - Let's build a Tic-Tac-Toe PWA
20:46
Dropping In from the Clouds 🌁
00:17
Просмотров 1,7 млн
The Most Legendary Programmers Of All Time
11:49
Просмотров 557 тыс.
Update Data Using Jquery Ajax PHP And Mysql
13:58
Просмотров 130 тыс.
Part 2:  Upload and Download using PHP and MySQL
9:01
Don't Use Websockets (Until You Try This…)
6:46
Просмотров 300 тыс.
Ajax Live Data Search with jQuery PHP MySQL
10:20
Просмотров 96 тыс.