WebSocket usage and how to use it in vue
WebSocket
WebSocket is a protocol for full duplex communication on a single TCP connection provided by HTML5.
WebSocket makes the data exchange between the client and the server easier, and allows the server to actively push data to the client. In the WebSocket API, the browser and server only need to complete a handshake, and they can direct ...
Posted by JaGeK on Wed, 03 Nov 2021 18:12:36 -0700
Report export in pure JaveScript: from "PDF" to "JPG"
What do we need to do after we complete the input or content processing of various work data in the front-end report?
Data export!
The common export formats of these data include PDF, Excel, HTML and pictures.
However, there are always some practical application scenarios, which need not only to export the existing content, but also to trans ...
Posted by coreyk67 on Wed, 03 Nov 2021 17:12:09 -0700
(welfare at the end of the article) what is the ultimate standard to measure the quality of code?
๐คซ Whisper reminder ๐คซPay attention to Zilliz WeChat official account and reply to "clean code"Get the super detailed mind map of code neatnessWhy should we pursue clean code?Clean Code puts forward that the quality of code is directly proportional to its cleanliness.Just let the code run is not enough, because the demand is growing, ...
Posted by kaushikgotecha on Wed, 03 Nov 2021 00:13:13 -0700
Interviewer: can you write call, apply and bind by hand?
1. Usage and comparison of call, apply and bind
1.1 Function.prototype
All three are methods on the Function prototype, and all functions can call them
Function.prototype.call
Function.prototype.apply
Function.prototype.bind
1.2 syntax
fn stands for a function
fn.call(thisArg, arg1, arg2, ...) // Receive parameter list
fn.apply(thisArg, argsAr ...
Posted by John Cartwright on Tue, 02 Nov 2021 21:20:45 -0700
Crazy God said smbms project (complete)
catalogue
resmbms
Technical highlights
Preparation for project construction
Implementation of login function
Login function optimization
Implementation of login and logout function
Login interception optimization
Password modification
Optimize password modification using AJAX
User management implementation
1. Get the number of users ...
Posted by sayoko on Tue, 02 Nov 2021 19:20:47 -0700
[introduction to JavaScript zero basics 1] javascript table
๐
Java learning roadmap: ย Thinking map of Java learning route
๐
Java learning route summary: Brick movers counter attack Java Architects
๐
Classic Java interview questions: Summary of 208 classic Java interview questions with 100000 words (with answers)
๐
Introduction: high quality creator in Java field ๐, CSDN the author o ...
Posted by iceblossom on Tue, 02 Nov 2021 18:53:19 -0700
Hooks + TS build a task management system -- implementation of drag and drop function
๐ข Hello, I'm Xiaocheng, a sophomore front-end enthusiast
๐ข This series of articles is a learning summary of the practical jira task management system
๐ข Thank you very much for reading. You are welcome to correct the wrong places ๐
๐ข May you be loyal to yourself and love life
In the last article, we wrote the task group pa ...
Posted by lamajlooc on Tue, 02 Nov 2021 17:08:40 -0700
JavaScript summary [3] data type
JavaScript data type advanced
Number type
Common number types
Decimal: 121 Binary: 01011 Octal: 0o377 Hex: 0xff Scientific counting method: 1.23e6 NaN Convert to string:. toString(base)
Rounding
Math.floorMath.ceilMath.roundMath.trunc: remove the content after the decimal point, which is not supported by IE browser
0.1+0.2
Sim ...
Posted by edkellett on Tue, 02 Nov 2021 08:34:05 -0700
The difference between TypeScript and JavaScript (for an introduction to TypeScript 10000 words, it's enough to understand TS)
TypeScript is a superset of JavaScript and supports ECMAScript 6 standard( ES6 tutorial ). TypeScript is a free and open source programming language developed by Microsoft. TypeScript is designed to develop large-scale applications. It can be compiled into pure JavaScript, and the compiled JavaScript can run on any browser.
TypeScript is a la ...
Posted by firemankurt on Tue, 02 Nov 2021 08:30:25 -0700
Develop ECharts maps that support the country, province and city in ten minutes using SovitChart
As shown in the figure, when we develop a Web system, we often encounter the need to use maps for display. Under ordinary needs, we can use ecarts maps. If we use ecarts to develop maps, we need to find map data, call ecarts map API, configure styles, render data, etc. a map effect takes a lot of energy and time. Here we introduce that this fun ...
Posted by ramas on Tue, 02 Nov 2021 02:12:14 -0700