Use of the latest code generator (3.5.1 +) of mybatis plus

1. Introduce dependency: <!--mybatisPlus--> <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.4.3.4</version> </dependency> <!--mybatis-plus Code generator --> <dependency> <groupId>com.baomidou</g ...

Posted by Thunderfunk on Thu, 03 Mar 2022 09:19:01 +0100

JS advanced part

JS advanced part judgeObject reference typeResearch on undefined and nullDistinguish between variable types and data typesData, variables and memoryjs function parameters are passed as valuesHow does JS engine manage memoryJS object When to use ['attribute name'] and when to use it JS function object The difference between call and apply ...

Posted by Runnion on Thu, 03 Mar 2022 08:36:51 +0100

Vue builds mobile news pages

catalogue preface 1, API s and components used 2, Page description         1. Page display         2. Install vant UI         3. Import aggregate data 3, Code snippet          3.1 App.vue 3.2 router/index.js 3.3 axiosServer/config ...

Posted by Pnop on Thu, 03 Mar 2022 07:25:42 +0100

Station B -- [crazy God says Java] Introduction to JavaWeb to actual combat -- Notes

Most of the notes are taken when station B meets the javaWeb said by crazy God. By the way, the pictures and texts are combined and recorded for easy review Video address: https://www.bilibili.com/video/BV12J411M7Sj Remember Sanlian Article catalogue 1. Basic concepts 1.1 Preface1.2. Web application web application:1.3. Static web1.4 ...

Posted by srdva59 on Thu, 03 Mar 2022 05:31:24 +0100

Understand object Defineproperty and Proxy, vue3 Why does 0 use Proxy?

preface During the interview a few days ago, the interviewer asked this question and felt that he didn't answer it very well. I'll sort it out here~ The length of the article will be relatively long, but after reading it, you will gain a lot ~ I hope you keep reading it~ Object.defineProperty() Function: define a new property on an object, o ...

Posted by norbie on Thu, 03 Mar 2022 05:27:36 +0100

Five tips for JSON in JavaScript

Some tips about JavaScript JSON1. FormatThe default stringer also shrinks JSON, which looks uglyconst user = { name: 'John', age: 30, isAdmin: true, friends: ['Bob', 'Jane'], address: { city: 'New York', country: 'USA' } }; console.log(JSON.stringify(user)); //=> {"name":"John","age":30,"isAdmin":true,"friends":["Bob","Ja ...

Posted by troy_mccormick on Thu, 03 Mar 2022 04:22:30 +0100

The interviewer asked: what is your understanding of cookie s?

Foreword: I believe junior front-end engineers will think of local storage and sessionStorage. Then I will answer the difference between the three. Please, these are not the key information that the interviewer wants to get. Cookies belong to the basic knowledge of computer networks. Next, let's unveil the mystery of cookie s from Baidu Encyclo ...

Posted by IndianaRogers on Thu, 03 Mar 2022 04:09:28 +0100

JS: Three Algorithms day1

Backtracking, greedy, and dynamic planning ideas are developed by doing a lot of exercises, not in a few days, and the title won't tell you which algorithm to use. Keep working on the problem. Back-tracking - 46. Full arrangement (medium) 51. Queen N (difficult) Pre-order traversal code executes at the point in time before entering a node, an ...

Posted by jkmcgrath on Wed, 02 Mar 2022 18:34:27 +0100

Front end interview handwritten output questions

preface: The output of the code is a common topic in the interview. A piece of code may involve a lot of knowledge points, which examines the applicant's basic ability. In the front-end interview, the common code output problems mainly involve the following knowledge points: asynchronous programming, event loop, this pointing, scope, variable ...

Posted by MaxD on Wed, 02 Mar 2022 17:12:06 +0100

Sorting out of design mode - factory mode

Factory pattern is a design pattern used to create objects. We do not expose the logic of object creation, but encapsulate the logic in a function, so this function can become a factory. Factory patterns can be divided into: 1 Simple factory 2 Factory method 3 Abstract factory Simple factory Simple factory pattern is very easy to understand ...

Posted by savagenoob on Wed, 02 Mar 2022 16:39:41 +0100