The method of detecting data type and encapsulating a general method in JS

Test data type 1: typeof   The returned results are all strings, including the corresponding data type "number"/"string"/"boolean"/"undefined"/"symbol"/"object"/"function"; Limitation: when null is detected, the returned result is "object". When other special object ...

Posted by LostOne on Tue, 03 Mar 2020 01:04:13 -0800

MyBaits - CRUD operations, alias configuration, attribute configuration, query result mapping, Mapper components, parameter processing, annotation development for MyBatis

Catalog CRUD Operation of MyBatis 2. MyBatis Expansion 1. Alias Configuration Processing 1.2, Custom Alias 1.3. Aliases that come with the system 2. Attribute Configuration Processing 3. Query Result Mapping 3.1. How to alias fields 3.2, resultMap element 4. Mapper Components 4.1, Mapper ...

Posted by MorganM on Mon, 02 Mar 2020 17:34:33 -0800

CAS project deployment and basic operation

Article directory 1, Deploy cas 1. Copy cas.war to webapps 2. Login page 2, CAS server configuration 2.1. Add user 2.2. Port modification 2.3. Remove https authentication 1, Deploy cas 1. Copy cas.war to webapps Put cas.war under the webapps of Tomcat and start Tomcat 2. Login page 2, ...

Posted by noise on Sun, 01 Mar 2020 01:43:30 -0800

Android learning note 5, introduction to some Android methods

1, layout in Android 1. Linear Layout: it is divided into vertical Linear Layout (android:orientation = "vertical") and horizontal Linear Layout (android:orientation = "horizontal" / / horizontal Linear Layout) according to the arrangement direction. When a linear layout defines an a ...

Posted by bruceleejr on Sat, 29 Feb 2020 23:52:43 -0800

MyBatis source code parsing -- MyBatis initialization process parsing

1. Preparation To see the whole initialization process of MyBatis, first create a simple Java project. The directory structure is shown in the following figure:   1.1 Product entity class   public class Product { private long id; private String productName; private String productCo ...

Posted by youngsei on Sat, 29 Feb 2020 23:25:01 -0800

C#Develop windows services

Introduction to Windows Service Application Microsoft Windows Services (formerly known as NT Services) allow users to create executable applications that can run for a long time in their own Windows sessions.These services start automatically when the computer starts, can be paused and restarted, an ...

Posted by jrbilodeau on Sat, 29 Feb 2020 19:48:13 -0800

Introduction and simple use of Spring

1. Introduction to spring spring is a lightweight open source framework created by Rod Johnson in 2003 to solve the problem of high code coupling. spring composition: spring consists of 20 modules, the core of which are IOC and AOP spring benefits: In the process of web application development, ...

Posted by drkstr on Fri, 28 Feb 2020 03:52:52 -0800

Spring AOP custom label parsing

Article directory AOP implementation based on XML -- label parsing Annotation based AOP implementation -- label parsing summary Reference resources stay Get to know Spring AOP In this paper, we have a preliminary understanding of the concept and implementation of Spring AOP. Then we will have a de ...

Posted by parkie on Fri, 28 Feb 2020 00:12:24 -0800

How to implement the complete INI file reading and writing class

Author: Magic fudge Date: February 27, 2020 Introduction ************************************* The. ini file is an abbreviation of the Initialization File, which is the configuration file. yes windows System configuration file The storage format used. It is easy to use, and has similar functions with the key value of the registry. Various appli ...

Posted by chalexan on Thu, 27 Feb 2020 21:32:58 -0800

Function extension of ECMAScript6

Function extension of ECMAScript6 1. Default value of function parameter ES6 set the default value for function parameters before, which needs to be implemented with flexible methods. function add(x, y) { x = x || 1; y = y || 2; return x+y; } // Use parameter default value to participate in ope ...

Posted by ArneR on Thu, 27 Feb 2020 20:57:27 -0800