es6 modularization, detailed use of websoket (with simple chat room source code) and webpack

1, es6 modularization 1.1 steps of using es6 Modularization: (1) Expose data using export (2) Importing modules using import (3) Introduce the js file into html, and pay attention to setting type="module" for the attribute of script 1.2 export 1.2.1 exposure Single exposure syntax 1: export let variable 1 = value 1;   exp ...

Posted on Thu, 14 Oct 2021 21:31:03 -0400 by affc

Zhiting home cloud - development guide Web: extension development [plug-in development]

New plug-in package Our plug-in packages are placed in the plugins folder. If you need to develop a new plug-in package, you can create a new project named xxx in the plugins folder. The directory structure is as follows ├──plugins ├─yeelight // yeelight plug-in package ├─assets // Resource folder ...

Posted on Fri, 08 Oct 2021 03:09:45 -0400 by abid786

Implementation of a simple server supporting http and webSocket protocol based on netty (including source code analysis of XXL job communication module)

background Last time I looked at XXL job, I found that his communication mechanism was to implement an http server based on Netty. Then I found that I didn't understand it very well, so I planned to implement a simple server supporting http protocol and webSocket protocol to help me understand it rely on <dependency> ...

Posted on Wed, 06 Oct 2021 21:04:43 -0400 by OopyBoo

Implementation of message push system with Websocket+RabbitMQ

1, There are two modes for users to get new message notifications Take the initiative to ask the system after logging in When online, the system actively pushes new messages to the receiver Imagine that the user's notification message and new notification reminder data are placed in the database, and the database reads and writes frequently ...

Posted on Fri, 17 Sep 2021 19:35:03 -0400 by gazolinia