Advanced chapter of Lesson 8_ Indexes

Advanced chapter of Lesson 8_ Indexes I MySQL Linux Installation 1. Prepare Linux server CentOS 7.0 Final shell connection server 2. Download MySQL installation package for Linux www.mysql.com Download Community Edition (free) 3. Upload MySQL installation package 4. Create a directory and unzip it mkdir mysql tar -xvf mysql-8.0.rpm-bu ...

Added by jake2891 on Mon, 07 Mar 2022 21:54:31 +0200

Lesson 4 Basic _ constraint

Lesson 4 Basic _ constraint 1. Summary 1. Concepts Rules that act on fields in a table to restrict data stored in the table. 2. Purpose Ensure that the data is correct, valid and complete. 3. Classification constraintdescribeKeywordNon-empty constraintRestrict the field to data that cannot be nullNOT NULLUnique ConstraintEnsure that all ...

Added by Gen-ik on Mon, 07 Mar 2022 20:13:22 +0200

Binding principle of Vue

MVVM Model M: Model: Data in the corresponding data V: View: Template VM: ViewModel: Vue Instance Object Decomposition Tasks <div id="app"> <input type="text" v-model="text"> {{text}} </div> To be implemented: 1. Input boxes and data binding of text nodes to data 2. When the content of the input box changes, ...

Added by lessthanthree on Mon, 07 Mar 2022 19:55:00 +0200

Vue3 uses nested routes and Property 'xxx' does not exist on type encountered

1, In Vue3, the difference between the use of rouyou and Vue2 First, if you habitually use this$ Router, you will definitely get an error report, because Vue3 does not have this and uses a new API, so we need to introduce the function useRouter in router at this time import { defineComponent, reactive} from "vue" import { useRouter } from "vu ...

Added by quad on Mon, 07 Mar 2022 19:32:17 +0200

Deep foundation of JS (prototype, call, wrapper class, closure)

In depth JS Foundation prototype prototype Definition: the prototype is an attribute of the function object, which defines the common ancestor of the object created by the constructor. The object generated by the constructor can inherit the properties and methods of the prototype. Prototypes are also objects. Is the father of the function. Y ...

Added by jeffkee on Mon, 07 Mar 2022 16:19:52 +0200

30_ Use of vuex's alternative tool Pinia

Simple use of Vuex's alternative tool Pinia Introduction and advantages of Pinia Pinia is the replacement of Vuex in Vue ecology, a new Vue state management library. After Vue3 became the official version, Pinia was the project strongly recommended by you Yuxi. Let's take a look at the five advantages of Pinia over Vuex. Vue2 and Vue3 can be ...

Added by olaf on Mon, 07 Mar 2022 08:11:16 +0200

Revolutionary innovation, animation killer @ scroll timeline

In CSS specification Scroll-linked Animations In, an epoch-making CSS function is introduced. That is -- The @scroll-timeline At rule, literally translated as rolling timeline.This article will take you to find out, from getting started to learning to use CSS @ scroll timeline.What is @ scroll timeline?What is @ scroll timeline?@Scroll timeline ...

Added by konrad on Mon, 07 Mar 2022 04:52:19 +0200

Three ways of realizing transparent grid with CSS

Students who often use photoshop are familiar with the background of such a transparent square. Some are called "chessboard" effect, as followsThis paper introduces three tips for drawing transparent squares with CSS1, Linear gradientLinear gradient can be said to be the first application to realize this effect. Of course, the impleme ...

Added by e_00_3 on Mon, 07 Mar 2022 04:27:32 +0200

Get element knowledge

+Use a variable to save one or some elements in the page +There are two types of methods to get elements 1. Get unconventional elements => html: document.documentElement => head: document.head => body: document.body 2. Get general elements 2-1. Get element by id =>Syntax: document Getelementbyid ('element id name ') =>R ...

Added by moehome on Mon, 07 Mar 2022 03:20:04 +0200

Flexible Vue components - so simple

Learning objectives of this article Be able to understand the concept and function of vue componentsBe able to master the ability of packaging componentsAbility to use communication between componentsAble to complete todo case 1. vue components 1.0_ Why use components I've made a folding panel before Requirements: now you want multiple p ...

Added by smclay on Mon, 07 Mar 2022 03:13:15 +0200