MyBatis learning notes - source code analysis - analysis process of configuration file

summary Continued MyBatis learning notes (IV) - source code analysis - analysis process of configuration file (I)  . In the previous article, we introduced the parsing process of properties and settings configuration. Today, we will take a look at the parsing process of other common properties, focusing on the parsing of typeAliases,envi ...

Posted by mariocesar on Wed, 18 May 2022 01:48:05 +0300

SpringBoot foundation and partial integration (to be improved)

SpringBoot What is micro service What is the difference between microservices and the past Why is SpringBoot suitable for microservice framework Lack of SpringBoot or microservice springBoot startup process How to automatically assemble and customize the configuration of springBoot First, there are a few notes @Configuration: declar ...

Posted by dkjariwala on Tue, 17 May 2022 13:38:37 +0300

How does Flutter render?

To answer this question, you first need to realize that there are three trees in Flutter: the Widget tree, the Element tree, and the RenderObject tree. When the application starts, Flutter will traverse and create all Widgets to form a Widget Tree, which corresponds to the Widget Tree, and creates each Element object by calling the createElemen ...

Posted by Toboe on Mon, 16 May 2022 01:02:09 +0300

Solve the bug of input box in React under Chinese input method

The following technical points will be involved: react # mobx composition start composition update composition end   Problem description When using input, the input content is usually verified in two ways: Allow users to input and give error prompt; The user is not allowed to enter characters matched by regular functions or functions. The exi ...

Posted by nootkan on Sun, 15 May 2022 17:09:43 +0300

Using async/await in wechat applet

A large number of interfaces in wechat applet are asynchronous calls, such as Wx login() , wx.request() , wx.getUserInfo() uses an object as a parameter, and defines , success(), fail(), and , complete() as callbacks for asynchronous calls under different conditions. However, it's really hurt to write a program in the way ...

Posted by walkonet on Sun, 15 May 2022 13:27:57 +0300

Tina.js source code analysis

tinajs# is a lightweight and progressive wechat applet framework, which can not only make full use of the capabilities of native applets, but also easy to debug.This framework mainly encapsulates the two global methods of component and Page. This paper mainly introduces the paeg of [tinajs 1.0.0] () Define what has been done internally. Compone ...

Posted by jamesxg1 on Fri, 13 May 2022 21:27:36 +0300

vue realizes network picture waterfall flow + pull-down refresh + pull-up load more

1, Thought analysis and effect drawing Use vue to achieve a waterfall flow effect, load network pictures, and have more functional effects of pull-down refresh and pull-up load. Then, for the realization of these effects, draw the following ideas: According to the order of loading data, add labels to show the effect in turn; Select which metho ...

Posted by lead2gold on Wed, 11 May 2022 19:08:46 +0300

Introduce Enzyme and test React components

Test react with the Enzyme library. This will make your program more reliable and easier to avoid regressions. We used Jest here, but Enzyme can also be used with libraries like Mocha and Chai.   Enzyme Basics Enzyme is a library for handling your react components at test time. It is developed by Airbnb. Set up Enzyme Continuing from the previo ...

Posted by EvilSupahFly on Wed, 11 May 2022 14:54:41 +0300

Express server development

Introduction to Express: Let's create an express application. Express is a node JS Web application framework, which is very powerful, can create various Web applications and HTTP tools for users, and use the express framework to build a fully functional website.   Advantages of Express framework: Middleware can be used to respond to HTTP reques ...

Posted by cesarcesar on Wed, 11 May 2022 01:48:02 +0300

Vue. No rendering behavior slot in JS

In this article, we discuss what problems can be solved by the no rendering slot mode in vue. In Vue The scope slot introduced in JS 2.3.0 significantly improves the reusability of components. The rendering free component pattern came into being, which solves the problem of providing reusable behavior and pluggable representation. Here, we will ...

Posted by purpendicular on Sat, 07 May 2022 03:19:28 +0300