Responsibility chain model of js design pattern
I Initial responsibility chain model
Definition: multiple objects have the opportunity to process the request, so as to avoid the relationship between the sender and receiver of the request. Connect the object into a chain and pass the request along a chain until an object processes it.
It may be a little obscure. Let's take a look at an exam ...
Added by radley on Tue, 18 Jan 2022 12:47:42 +0200
Node.js learning 5 (events)
1, Node JS event loop
Node.js is a single process and single thread application, but because of the asynchronous execution callback interface provided by V8 engine, a large number of concurrency can be handled through these interfaces, so the performance is very high. &nbs ...
Added by aufkes on Tue, 18 Jan 2022 12:36:18 +0200
New features of CSS3 (III) 2D conversion
catalogue
1.1 two dimensional coordinate system
1.2 movement of 2D conversion
1. Syntax:
2 . a key:
3. Center a box horizontally and vertically
1.3 rotation of 2D conversion
1. Syntax:
2. Key points:
3. Rotate the case and write the triangle with code:
1.4 transform origin of 2D conversion center point
1. Syntax:
2. Key points:
3. ...
Added by dekeb55 on Tue, 18 Jan 2022 11:44:47 +0200
JavaScript - Foundation timer, callback function, countdown
Two timers provided by window
setTimeout()setInterval()
window. SetTimeout (calling function, [number of milliseconds delayed]);
The setTimeout() method is used to set a timer. When the delay time is up, the calling function will be executed, and it will end only once.
<script>
//The delay time is in milliseconds
...
Added by mikusan on Tue, 18 Jan 2022 10:48:21 +0200
Development tool - postman
catalogue
1 simple introduction
1.1 creating collections
1.2 create request 1.3 set assertion
1.4 assembly test
1.5 export * json script
1.6 collection and sharing
1.7 authority management
2 second order use
2.1 setting environment variables
2.1.1 new environment
2.1.2 setting environment variables
2.1.3 setting environment variable ...
Added by bostonmacosx on Tue, 18 Jan 2022 10:21:28 +0200
JavaScript -- string type
String extraction method
slice() substr() substring()
Function: returns a substring of the corresponding string, and both receive one or two parameters. Difference: for slice() and substituting(), the first parameter represents the starting position of the substring, the second parameter represents the ending position of the substring extract ...
Added by newbie5050 on Tue, 18 Jan 2022 09:56:06 +0200
Authority management in front end and back end separation
In the traditional front and back-end development, permission management is mainly carried out through filters or interceptors (the permission management framework itself also realizes the function through filters). If users do not have a role or a permission, they cannot access a page.
However, in the separation of front and back ends, the pa ...
Added by jamesp on Tue, 18 Jan 2022 09:21:47 +0200
TypeScript advanced types and usage
This article introduces the usage scenarios of advanced TypeScript types in detail, which can provide some help for the daily use of TypeScript.
preface
This article has been included in Github: https://github.com/beichensky/Blog In the middle, pass by and point a Star
1, Advanced type
& cross type
Cross type is to combine multiple typ ...
Added by colmtourque on Tue, 18 Jan 2022 08:29:03 +0200
JavaScript Volume I you don't know - in-depth understanding
catalogue
Part I: scope and closure
Chapter 1. What is the scope
Chapter 2} lexical scope
Chapter 3 function scope and block scope
Chapter 4 - lifting
Chapter 5: scope closure
The second part is} this and object model
Chapter 1} about this
Chapter 2} this comprehensive analysis
Chapter 3: object
Chapter 4} mixed object "class&qu ...
Added by scratchwax2003 on Tue, 18 Jan 2022 05:50:16 +0200
Inventory some new features in ES12!
Author: KUMAR HARSHTranslator: front end XiaozhiSource: blogThere are dreams and dry goods. Wechat search [Daqian world] pays attention to this bowl washing wisdom who is still washing dishes in the early morning.This article GitHub https://github.com/qq449245884/xiaozhi It has been included. There are complete test sites, materials and my ser ...
Added by FirePhoenix on Tue, 18 Jan 2022 04:33:51 +0200