Node.js basic notes
Node. Application scenario of JSFront end Engineeringbundle: webpack, vite, esbuild, parcelCode compression (uglify): uglifyjsSyntax translation: bablejs, typescriptOther languages join the competition: esbuild (golang), parcel (t rust), prismaNode. Current situation of JS: it is still difficult to replace in the field of front-end engineeringW ...
Added by zander213 on Thu, 27 Jan 2022 01:11:41 +0200
About node JS Buffer
The JavaScript language itself has only string data types and no binary data types.
However, binary data must be used when processing such as TCP stream or file stream. Therefore, in node JS, a Buffer class is defined, which is used to create a cache for storing binary data.
On Node JS, the Buffer class is a core library published with the ...
Added by Jiraiya on Wed, 26 Jan 2022 15:16:57 +0200
Chapter 3 Docker and programming language
Docker lifecycle and DockerfileDocker lifecycleDuring the operation of the container, no matter what operation is carried out, once the container exits or restarts, the data in it will be cleared, which is the life cycle of the container.Dockerfile and command linedirectory structuretke-lesson3
├── Dockerfile
├── sources.list sources.list file ...
Added by itisprasad on Wed, 26 Jan 2022 09:19:58 +0200
About node JS Buffer
The JavaScript language itself has only string data types and no binary data types.
However, binary data must be used when processing such as TCP stream or file stream. Therefore, in node JS, a Buffer class is defined, which is used to create a cache for storing binary data.
On Node JS, the Buffer class is a core library published with the Nod ...
Added by Fusioned on Wed, 26 Jan 2022 03:15:04 +0200
Yarn installation and use tutorial
Yarn installation and use tutorial
1, Official website guidelines
Quick start | Yan Chinese documents
npm Chinese document | npm Chinese website (npmshell.cn)
2, Installation
Stable version: v1.22.17
Supported Node versions: ^ 4.8.0 | ^ 5.7.0 | ^ 6.2.2 | > = 8.0.0
windows installation: Introduction to official website installation
np ...
Added by Nightslyr on Wed, 26 Jan 2022 01:46:33 +0200
Briefly introduce how to use socket in Nestjs and Vue3 io
brief introductionIn this paper, the server takes Nest official template and the client takes Vue3 + Vite official template as an example to briefly introduce how to use socket in Nest project IO instant messaging with Vue3's clients.Initialize projectServer# Install Nest scaffold
$ npm i -g @nestjs/cli
# Create a nest backend project
$ nest n ...
Added by Smifffy on Tue, 25 Jan 2022 22:08:01 +0200
Packaging and automatic update of Electron application --- case practice, very detailed
In the last article, we introduced some basic knowledge of electron, Get started with Electron and teach you to write complete practical cases Here, we will continue to introduce the packaging and automatic update of Electron based on this project.
Generate Icon
Before packaging the application, prepare an icon for the application as the inst ...
Added by robvan75 on Tue, 25 Jan 2022 02:38:20 +0200
Object oriented design of nodejs tutorial
Learning background
Object oriented programming is learning programming to find objects. en... I felt that for a long time, but I haven't found it yet. Maybe it's not pious enough.
To get back to business, learning object-oriented plays a vital role in our learning programming. In the early days of programming, we completed the programming wi ...
Added by unlishema.wolf on Mon, 24 Jan 2022 05:32:51 +0200
Implement front-end web page production based on crawler data (learn a lot!)
catalogue
preface
On the effect!
User registration and login page
Retrieve team information
Chart making:
The histogram shows the winning rate information of each team:
The pie chart shows the number of games played by each team
The line chart shows the average score of each team
Implementation of administrator operation
epilogue
...
Added by bsprogs on Mon, 24 Jan 2022 01:05:45 +0200
Initial node JS framework service construction
Let's break it down. What do all servers need at least?
*Static file access *Routing distribution *Database connection These three are the most important server basic functions:
Static files are interface resources similar to those required by front ends such as images, CSS, JS, HTML, etc
Routing distribution is that when the browser OR clie ...
Added by daverules on Sun, 23 Jan 2022 03:40:12 +0200