filmov
tv
ZIM Explore! 88. Sockets in NodeJS NPM #JavaScript #Canvas with ZIM #ZIMjs

Показать описание
Here we show how to use ZIM Socket in a node / npm environment. We do so with Vite and raw ZIM and then the same again with VUE. React, Angular and Svelte, etc. would be the same. ZIM Socket is very easy multiuser as there is no coding done on the server. ZIM Socket Server is also available or you can use ZIM's server - which we have in these examples.
00:00 start
01:34 NPM instructions
10:00 title socket app showing purple circle
11:07 NPM build app
12:24 NPM installing zim_socket
14:38 SOCKET code in frame ready event
17:21 black circle moves to mouse position on same url opened webpages
18:34 coloring EGG example ZIM EGG - Collective Coloring
21:30 ZIM on GitHub
22:50 ZIM socket folder renaming for VUE.js
24:12 follow instructions
25:25 NPM install will install all packages
29:30 importing VUE SOCKET code
31:30 showing VUE SOCKET black circle in 2 webpages moving to same mouse position
00:00 start
01:34 NPM instructions
10:00 title socket app showing purple circle
11:07 NPM build app
12:24 NPM installing zim_socket
14:38 SOCKET code in frame ready event
17:21 black circle moves to mouse position on same url opened webpages
18:34 coloring EGG example ZIM EGG - Collective Coloring
21:30 ZIM on GitHub
22:50 ZIM socket folder renaming for VUE.js
24:12 follow instructions
25:25 NPM install will install all packages
29:30 importing VUE SOCKET code
31:30 showing VUE SOCKET black circle in 2 webpages moving to same mouse position