Java implements simple BaseDao with custom annotations and Reflections

In common ORM frameworks, annotations are mostly used to map entity to database. Here, we simply use custom annotations and reflections to generate executable sql statements. This is the overall directory structure, which was originally established for reviewing annotations.^ Okay, let's first determine the idea. 1. Customize the @Table@Column ...

Added by hucklebezzer on Wed, 29 May 2019 20:40:50 +0300

Introduction to Front-end Development to Practice: Five Ways to Detail CSS Three-Column Layout

Topic: Assuming the height is known, please write out three columns layout, in which the width of left column and right column are 300 px, and the middle column is adaptive. Five schemes for three-column layout This is a classic interview question. Below are five methods of css layout. <!DOCTYPE html> <html ...

Added by LiamBailey on Wed, 29 May 2019 12:32:34 +0300

Bootstrap Learning Documents for Girlfriend (4)

Bootstrap Modal Box Be careful: 1. The pop-up layer must be placed in the body 2. No more layers can be nested inside the pop-up layer 3. When the pop-up layer comes out, the scrollbar of the page will be overwritten modal pop-up parent modal-dialog pop-up layer Content area of modal-content pop-up layer Head area of modal-header pop-up laye ...

Added by flaab on Wed, 29 May 2019 12:20:15 +0300

es6 programming style

Block-level scopes (1) let replaces var ES6 proposes two new commands for declaring variables: let and const. Among them, let can completely replace var, because they have the same semantics, and let has no side effects. 'use strict'; if (true) { let x = 'hello'; } for (let i = 0; i < 10; i++) { console.log(i); } If the above cod ...

Added by JBWebWorks on Mon, 27 May 2019 20:54:42 +0300

Proficiency in JS regular expressions

by Aaron: http://www.cnblogs.com/aaronjs/archive/2012/06/30/2570970.html Proficiency in JS regular expressions Regular expressions can:Testing a pattern of a string. For example, you can test an input string to see if there is a phone number mode or a credit card number mode in the string. This is called data validation.Replace text. Y ...

Added by demon_athens on Sun, 26 May 2019 20:45:20 +0300

Object-Oriented Programming --(1) Understanding the properties and properties of objects

1. What is an object? Objects are a collection of disordered attributes, including basic data types, objects, or functions. 2. How do you create objects? 1. Create an instance, such as:              var  obj=new Object();                      obj.name="XXXX";                      obj.color="red"                      ................... ...

Added by sepodati on Sun, 26 May 2019 20:37:22 +0300

Android Layout Optimization (I)

For reprinting, please indicate the source: http://blog.csdn.net/guolin_blog/article/details/43376527 Reuse layout files The Android system already provides a lot of useful controls, which makes it easy to write layout. But sometimes we may need to reuse a written layout over and over again. If you always use copy-and-paste for layout reuse, ...

Added by Silverado_NL on Sun, 26 May 2019 01:45:38 +0300

LESS Mini Trial Knife

Why Choose less CSS code development and maintenance are more difficult, especially in CSS of various sizes and colors, see more absolute vomiting. So there are CSS preprocessing languages which are easy to develop and maintain and manage, and they can be compiled to generate CSS. As a back-end Javer, there are roughly three CSS preprocessin ...

Added by kee2ka4 on Sat, 25 May 2019 02:48:50 +0300

Brief Introduction and Configuration of Mybatis Series 5-TypeHandler (Mybatis Source)

Note: This article is reproduced from Nan Ke Meng In the last article, "Deep and Simple Mybatis Series (4) - - Configuration Detailed Type Aliases Aliases Aliases Aliases Aliases Aliases Aliases Aliases Aliases Aliases Aliases Aliases Aliases Aliases Aliases Alias (Mybatis Source Chapter)" introduced the use of aliases in mybatis and ...

Added by phpete2 on Fri, 24 May 2019 23:39:16 +0300

Understanding of JS Stack and Copy

1. The concept of stack Stack: Queue first, first in first out, automatic allocation and release by the operating system, storage function parameter values, local variable values, etc. It operates in a manner similar to a stack in a data structure. Heap: In general, the space allocated dynamically is allocated and released by the programme ...

Added by ryanthegecko on Fri, 24 May 2019 20:43:53 +0300