Servlet learning diary 5 -- servlet core interfaces and classes
catalogue
1, Servlet core interfaces and classes
1.1 Servlet interface
1.2 GenericServlet abstract class
1.3. HttpServlet class (recommended)
1.4 notes
2, Two configurations of servlet s
2.1 configuring web XML (used before servlet 2.5)
2.2 # using annotations (supported after servlet 3.0, recommended)
1, Servlet core interfaces and c ...
Added by genericnumber1 on Fri, 11 Feb 2022 12:32:16 +0200
Getting started with Vue element admin framework: install and run the Vue element admin framework
preface:
(1) Environment configuration: https://mp.csdn.net/editor/html/116790478
Part II: initial contact with Vue element admin framework
This part introduces the process of installing and running the Vue element admin framework, as well as a brief introduction to the Vue element admin framework.
System: MacIDE: Webstorm
(1) Prep ...
Added by ChompGator on Fri, 11 Feb 2022 12:08:54 +0200
[TypeScript 4.5] 004 - Chapter 4 type reduction
[TypeScript 4.5] 004 - Chapter 4 type reduction
1, typeof type guard
1. What is type reduction
meaning
TypeScript type reduction is the process of converting from wide type to narrow type
Type reduction is often used in scenarios that deal with union type variables
code analysis
function padLeft(padding: number | string, input: strin ...
Added by phpvolution on Fri, 11 Feb 2022 11:41:18 +0200
Section 20: object oriented design patterns
Object creation review
Object direct quantityUsing the new operatorObject.create() method
reference resources: Section 3: data type - Object object
When we create objects, we usually create a single object. If we need to create multiple objects, there may be a lot of duplicate code.
this point resolution
① In the function: this represents ...
Added by larissahn on Fri, 11 Feb 2022 11:26:16 +0200
Web Components series - create Custom Elements
prefaceAccording to the previous introduction, we know that custom elements can be divided into two categories according to whether they inherit basic HTML elements or not“Autonomouscustom elementsCustomized built-in elementsThis raises a question: what is the difference between the two in use?Let me try to explain this problem through th ...
Added by ChroniX88 on Fri, 11 Feb 2022 10:49:07 +0200
Vue -- 02. Basic syntax, binding event, two-way binding, component
1, Basic syntax: v-bind, v-if, v-else, v-else-if, v-for
1.1 v-bind binding element
<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<!--view Layer, template-->
<div id="app">
...
Added by RosieisSweet on Fri, 11 Feb 2022 10:46:55 +0200
[React] detailed tutorial
preface
1. Contrast between react and vue
1.1 what is modularity
It is analyzed from the perspective of code
Separate some reusable codes into separate modules; Facilitate the maintenance and development of the project
1.2. What is componentization
It is analyzed from the perspective of UI interface
Separate reusable UI elements
1 ...
Added by iainr on Fri, 11 Feb 2022 08:55:25 +0200
es6 common related problems
ES6 common related problems
1. The difference between ES5 and ES6
1. The difference between var, let and const
The difference between var, let and const
1,var
In ES5, the top-level object (window object) is equivalent to the global variable. The variable declared with var is not only the global variable, but also the top-level variable Top ...
Added by Bounty on Fri, 11 Feb 2022 08:47:38 +0200
Performance optimization of Web pack packaging tool
webpack Packaging Optimization
I won't explain more about what is webpack here. If you don't know, this article is not suitable for you to read now.
webpack5 basic configuration
Let's first look at a basic configuration, webpack based on webpack 5 confing. JS file.
/*
* webpack.confing.js
*/
const { resolve } = require("path");
const ...
Added by amity on Fri, 11 Feb 2022 08:47:32 +0200
I developed a software based on egg JS back-end scaffold
background
Previously based on egg JS has developed several projects. It is found that each project has functions such as configuration file, database connection operation, data model definition, wechat login authorization processing, etc. when making A new project, it will always copy the previous project to delete and modify. Sometimes A pra ...
Added by clairian on Fri, 11 Feb 2022 06:23:01 +0200