Use Redis to solve the problem of Session storage in NodeJS
Session synchronization problem. Suppose we have two sites, a.hello.com b.hello.com respectively. If we want to share cookies among multiple sites, we basically set the Domain property of cookies to.hello.com. We finished our login at a.hello.com and entered B.hee...
Node.js ObjectWrap weak references
ObjectWrap weak reference is the cause of node.js Addon. This article introduces the specific problem and troubleshooting process, as well as the use of ObjectWrap.
Koa for source code parsing
Based on the combination of many front-end routes, I gradually came up with my own ideas: front-end engineers should first be software engineers, and secondly, they should have their own in-depth research in the technical field.
In-depth explanation of VsCode advanced debugging and use skills in various scenarios
A large number of examples and graphic details of VsCode each scene debugging skills and use skills, to their daily development debugging work to accelerate it. Worth learning a wave ~
Node uses the Egg framework on TS tutorial
As a programmer who has worked my way up from elegant, object-oriented, professional: C, C++, C#, JAVA, WHEN I was asked to write JS, I refused. Console.log () is not written in code. ! I'm too hard not to tell me that there are missing parameters and that the parameter type is wrong. My ancestral: Object-oriented and 23 design patterns, in this JS...
Docker Series - 03 - Getting started & Node services
This Docker series of articles, by writing a Node.js + TypeScript service into Docker, to further improve their understanding and familiarity with Docker.
Paradigms and relationships, table query and subquery
Assume an employee table named Employee with nine attributes: ID (employee NUMBER), Name (employee name), Mobile (phone number), ZIP (zip), province(province), City (city), dist
Are you still using HTTP/1.1 after HTTP/2
Nine years have passed since the first HTTP/2 draft was published, and the number of Web applications using THE HTTP/2 protocol on the web is increasing. Are you using HTTP/2 for your Web applications?
How to design middleware from KOA/Redux
Editor's note: The author of this article is Lin Xiangdong, front-end engineer of 360 Qi Dance Company. Middleware is a design pattern for "separation of concerns", and there are many ways to implement it. This article will only discuss how KoA/Redux designs middleware. This pattern has two characteristics: the middleware middle is a function M
Node.js stream is a readable stream of source code interpretation
1. Basic Concepts 1.1. Historical evolution of streams Streams are not unique to Node.js. They are a couple of decades ago in the Unix operating system, the introduction of the program can through the pipeline operator (|) convection interact with each other. MacO on unix-based systems