[front end] learn Promise thoroughly

Author: D827Source: Hang Seng LIGHT cloud communityNone of the functions will not be used after reading the source code. So after reading this article, I hope it can help you completely master Promise.Promise introductionPromise object is a solution to realize asynchrony provided by ES6. It enables asynchronous methods to return values like syn ...

Posted by maryp on Thu, 13 Jan 2022 03:43:23 +0100

CSS learning notes

1, What is CSS? CSS refers to cascading style sheets, also known as cascading style sheets.Advantages of css: Separation of content (HTML) and presentation (CSS); The structure of web pages is unified and can be reused; The style is very rich; html independent css files are recommended. 2, Three ways to import CSS Inline styleInternal ...

Posted by echelon2010 on Thu, 13 Jan 2022 00:08:17 +0100

Data structure and algorithm - recognize graph structure, graph representation, graph structure implementation, graph traversal

catalogue 1, Initial graph structure 1. What is a graph 2. Features of the drawing   3. Terminology of Graphs         (1). vertex         (2). edge         (3). Adjacent vertex         (4). degree         (5). route     & ...

Posted by siefkencp on Wed, 12 Jan 2022 19:40:26 +0100

Vue Framework Learning

I. Life cycle of Vue 1. Hook Function The hook function describes the entire life cycle of a Vue instance from creation to destruction, as shown in the following table: hookExplainbeforeCreateExecute before creating instance objectcreatedExecute after instance object is createdbeforeMountExecute before page mount succeedsmountedExecute ...

Posted by ierpe on Wed, 12 Jan 2022 19:05:36 +0100

Shang Silicon Valley system project (real-time update)

Front end Vue core Developing a front-end module can be summarized as the following steps: (1) Write static pages and split them into static components; (2) Send request (API); (3) vuex (triple operation of actions, changes and state); (4) Component to obtain warehouse data and display it dynamically; 1. vue file directory analysis node_modu ...

Posted by ouch! on Wed, 12 Jan 2022 12:39:34 +0100

CSS performance optimization

What are the ways to improve performance? 1. merge css File, if 10 pages are loaded css file,1 per file k,Then it's better than loading only one 100 k of css File slow. 2. reduce css Nesting, it is best not to nest more than three layers. 3. Don't be ID Nested in front of the selector, ID It is unique and has a large permission value. Nesting ...

Posted by suomynonA on Wed, 12 Jan 2022 12:23:50 +0100

Through the basic use of jQuery Validate plug-in, the design and implementation of user form registration verification are completed

Through the basic use of jQuery Validate plug-in, the design and implementation of user form registration verification are completed The jQuery Validate plug-in provides powerful validation functions for forms, making client-side form validation easier. At the same time, it provides a large number of customization options to meet various needs ...

Posted by geaser_geek on Wed, 12 Jan 2022 12:13:17 +0100

WebSocket (5 minutes to get you started)

WebSocket Background: The HTTP protocol has a flaw: communication can only be initiated by the client. This one-way request is doomed to be very troublesome for the client to know if the server has continuous state changes. We can only use "Polling" : every once in a while, send a query to see if the server has any new information. ...

Posted by LordTyphon on Wed, 12 Jan 2022 11:31:45 +0100

Write a complete front and rear end analysis project

Technical contents involved: vue, SpringBoot, leaflet, Linux, MySQL Only a few big head technologies are listed, and other technologies such as html, js, mybatis.... I won't explain them one by one Main content of this issue: an example of environment construction and running through Required tools jdk, maven, idea, vsCode, MySQL, ...

Posted by l_kris06 on Wed, 12 Jan 2022 11:26:58 +0100

CSS3 basic properties first module

Learning objectives Understand what CSS isMaster the simple use of CSSMaster the methods and key points of CSS style creation and introductionMaster the key points of CSS backgroundMaster the style and key points of CSS textMaster the style and key points of CSS connection CSS introduction What is CSS CSS refers to cascading style she ...

Posted by daverico on Wed, 12 Jan 2022 11:17:08 +0100