JavaScript Basics (pink teacher) - day 1
JavaScript Basics (pink teacher) - day 1
1, Introduction
Master the introduction of JavaScript and preliminarily understand the role of JavaScript
1.1 introduction method
JavaScript programs cannot run independently. They need to be embedded in HTML before the browser can execute JavaScript code. There are two ways to introduce JavaScr ...
Posted by elfyn on Sat, 05 Feb 2022 04:03:51 +0100
TypeScript Learning-10 Advanced Types
Advanced Types
Intersection Types
Cross-type combines multiple types into one type. This allows us to overlay existing types into one type, which contains all the required characteristics. For example, Person & Serializable & Loggable are both Person and Serializable and Loggable. This means that objects of this type have all thre ...
Posted by imderek on Fri, 04 Feb 2022 18:40:12 +0100
Logon/Exit Function
1. Logon overview
1. Login Business Process
Enter a user name and password on the login pageCall back-end interface for validationAfter validation, jump to the project home page based on the response status in the background
2. Relevant technical points of login business
http is statelessRecord status on client side by cookieLogging status ...
Posted by Jeroen_nld on Fri, 04 Feb 2022 18:06:47 +0100
Solve the problem that ng serve starts slow ly after upgrading to Angular v13
Recently, we are upgrading the company's Angular project. The project is built with Angular cli, and the UI uses Angular metal library and lazy loading route. The Angular version is upgraded from v10 to v13. Upgrade instructions: https://update.angular.io/
Problem: after upgrading, ng serve compilation is very slow
It takes 90 seconds just ...
Posted by google_man2000 on Fri, 04 Feb 2022 13:35:20 +0100
vue life cycle
Life cycle of vue
The process from creation to destruction of vue instances is the life cycle. vue each component is independent, and each component has its own life cycle. Life cycle makes it easier for us to form better logic when controlling the whole vue. It can be divided into three stages: Mount stage, update stage and destroy stage. ...
Posted by Fahid on Fri, 04 Feb 2022 12:28:47 +0100
JS interview question - anti shake and throttling
1, Anti shake
Problem scenario: sometimes we encounter such a situation, such as searching in a search box. Without function anti shake, when we modify the value in the input box, what we want is to wait until we complete the input before performing the search for the input keyword. Here, problems begin to appear, such as the following exa ...
Posted by dotsc on Fri, 04 Feb 2022 10:44:51 +0100
The second web front-end training (HTML)
1. Video link
[excellent limit] HTML+CSS+JavaScript+jQuery front-end compulsory course, Xiaobai teaching, front-end foundation, complete version_ Beep beep beep_ bilibili
2. Tutorial link
HTML form | rookie tutorial
3. Form
3.1 form
Form elements allow users to enter content in the form, such as text fields, drop-down lists, radio buttons ...
Posted by Gestahr on Fri, 04 Feb 2022 07:53:38 +0100
The front and rear ends of vue are separated, the background management system and the front-end scaffold. The docking backend is based on the background interface provided by spring security
Management system backend (java), please refer to: https://blog.csdn.net/grd_java/article/details/121925792
Source code of the project, code cloud: https://gitee.com/yin_zhipeng/vue-backstage-scaffolding.git
Background management system is generally used by internal personnel, so the requirements for interface are not high, and template devel ...
Posted by NeoPuma on Fri, 04 Feb 2022 07:18:27 +0100
Regular expressions and enumerations
1, Regular expression
1. Purpose
Regular expression is a technology independent of java and not attached to java, but it can be used in java, python/js, etc
Handle the complex search / replacement / matching / segmentation of strings through regular expressions
2. Overview
Use a single string to describe or match a series of strings that ...
Posted by eruiz1973 on Fri, 04 Feb 2022 05:35:12 +0100
Do you know the three hash values packaged? I was stumped by this question when I was recruiting in our school!
prefaceHello, I'm Lin Sanxin. The most difficult knowledge point in the most easy to understand words is my motto. The foundation is advanced, and the premise is my original intentionSchool recruitment in those yearsI vaguely remember that when I participated in the school recruitment of a large factory, I interviewed Netease Leihuo studio. At ...
Posted by Koobazaur on Fri, 04 Feb 2022 04:45:03 +0100