Service request mode
Service request mode
Native Ajax
The native Ajax, XMLHtpRequest (XHR), uses the XMLHtpRequest object to asynchronously request data, so that the front end can asynchronously exchange data with the server. The data on a URL can be easily obtained through Ajax. XMLHtpRequest was originally designed by Microsoft, and then supported by Mila, Appl ...
Added by raghavan20 on Tue, 11 Jan 2022 17:49:09 +0200
Library management system
1, Project introduction
Function Description: log in to the background of the library management system, change the user's password, query books, add books, and modify book information, as well as add and modify members, query members, and then the book borrowing function, which requires the application of member query and book query, and then ...
Added by nelustr on Tue, 11 Jan 2022 17:46:21 +0200
DOM operations in JavaScript
DOM operation
Is a document object model, which is a method for JavaScript to manipulate html documents
DOM operation methods:
1, Get the object of the operation, that is, the label of the operation , adopt JavaScript Defined DOM Manipulate function methods to get label objects .
2, adopt JavaScript Defined DOM Operation functi ...
Added by vboctor on Tue, 11 Jan 2022 14:50:18 +0200
vue routing guard
1. What is the routing guard?
In short, the navigation guard is some hook functions in the process before, during and after route jump. This function allows you to operate some other things. This is the navigation guard.
According to the official explanation, the navigation guard provided by Vue router is mainly used to guard navigation by ...
Added by ElkySS on Tue, 11 Jan 2022 13:15:15 +0200
JavaScript related interview questions
JavaScript
Why is javascript single threaded?
If js is multithreaded and multiple threads operate on DOM elements at the same time, which thread is the main one is a problem
The new HTML5 standard allows the use of new Worker to start a new thread to run a separate js file script, but the new thread strictly requires the functions that can b ...
Added by evilgenius on Tue, 11 Jan 2022 13:05:17 +0200
[Node Weekly #417] nodes you need to know JS memory limit
🥳 Welcome interested partners to do something meaningful together! Translator: oil-oilI launched a weekly translation program, Warehouse address,Access address There is still a shortage of like-minded partners. They are purely personal interests. Of course, they will also help to improve English and front-end skills. Requirements: English i ...
Added by Xander756 on Tue, 11 Jan 2022 11:02:36 +0200
Understand the principle of Generator function step by step
Author: Mai leSource: Hang Seng LIGHT cloud communityBasic usage of Generator functionfunction* helloWorldGenerator() {
yield 'hello';
yield 'world';
return 'ending';
}
var hw = helloWorldGenerator();After the Generator function is called, an iterator object is generated. You can control the execution of the internal code of the functio ...
Added by HGeneAnthony on Tue, 11 Jan 2022 09:11:26 +0200
Greedy snake JS implementation (super detailed, 10000 word parsing version)
preface
Hello, my friends. I've worked hard this time to bring you a project that has been absolutely fruitful. The analysis is in place. It is also the first time to write such a long article. I look forward to your feedback ✨✨
This article is right Stop B Shangsi Valley greedy snake project Complete parsing of. The original video is very ...
Added by ade234uk on Tue, 11 Jan 2022 04:11:56 +0200
Three.js to realize the 3D creative page of the Spring Festival in the year of the tiger
backgroundYear of the tiger 🐅 As the Spring Festival is approaching, this article uses react + three JS technology stack to realize interesting 3D creative pages. The knowledge points contained in this article mainly include: the use of two basic materials: ShadowMaterial and MeshPhongMaterial, the use of LoadingManager to display the model l ...
Added by aktome2001 on Tue, 11 Jan 2022 03:23:11 +0200
Quick start to web front end development - Web API programming
introduction
To sum up, we have now learned HTML, CSS and JavaScript. Although we have just learned JS, we do not know how JS is combined with HTML and CSS static pages. In fact, JS controls DOM and BOM through web API. Next, we will focus on this part.
1.1. Web API introduction
1.1.1 concept of API
API (Application Programming Interfac ...
Added by BRAINDEATH on Mon, 10 Jan 2022 16:26:50 +0200