Resolve page refresh redux data loss issue.
concept
For the current common "one-page application", the advantage is that the front-end can handle more complex data models in a more comfortable way, while transforming based on the data model for better interaction.
Behind good interaction is a model that corresponds to the state of a page component, which is arbitrarily called ...
Posted by joad on Mon, 24 Feb 2020 19:03:00 -0800
Authorization authentication (identity server 4)
Difference
OpenId: Authentication: authenticationOAuth: aurarize: authorization
Enter the account password, and QQ confirms that the correct account password can be used for login -- > authentication
The following check boxes need to be checked (get nickname, avatar, gender) -- > authorization
OpenID
When you need to visit website A, w ...
Posted by Daisatske on Sun, 23 Feb 2020 22:56:24 -0800
JavaWeb Project Programming Specification
Coding specifications in the work, which need to be written in the future.
Before encoding, first write according to Alibaba's development specifications, if using idea, use its plug-ins.
In the case of springmvc, the following styles are best used to define the path:
@RequestMapping(value = "/upda ...
Posted by Clinger on Sun, 23 Feb 2020 19:25:16 -0800
Minecraft Fabric Client tutorial 2 modifying file and directory names to add run and stop
First appeared in Enaium's personal blog
Modify package name, json file, add run stop
First, modify the package name
Change ExampleMod.java to ExcelInitializer.java
Modify the JSON files modid.mixins.json and fabric.mod.json
Change modid.mixins.json to excel.mixins.json
Contents of excel.mixins.json:
{
"required": true,
"package": "cn.e ...
Posted by stone.cold.steve.austin on Sat, 22 Feb 2020 07:53:24 -0800
Spring Boot bottom level Exploration Series 04 - Web Development
Article directory
Handling JSON data
1. Edit the Book class
2. Edit BookController controller
3. Convert set data
4. Replace the converter
1) Use Gson
2) Using fastjson
Jiang Shuai, Naixue education, is good at system architecture design, big data, operation and maintenance and other technica ...
Posted by glitch003 on Sat, 22 Feb 2020 03:57:14 -0800
Section 9: JWT introduction and security verification based on JWT with JS+WebApi as an example
I. Introduction
1. background
There are many problems in traditional Session based verification, such as Session expiration, excessive server overhead, inability to deploy in a distributed way, and unsuitable for projects with front-end and back-end separation. Traditional token based verification ...
Posted by twmcmahan on Sat, 22 Feb 2020 02:59:29 -0800
Notes for MappingJackson 2HttpMessageConverter
Handle conversion of Date type fields to timestamps in Databases
There are two ways to solve the date conversion Json problem:
1. (Not recommended) Local modification, custom annotation to convert date type to Date type.
2. (strongly recommended) Global modification, configure in XML (Spring MVC) or in Application.Java startup classes (Spring b ...
Posted by bing_crosby on Fri, 21 Feb 2020 08:30:05 -0800
[Pyecharts visual sharing] popular walking routes in Hangzhou
Preface
This paper includes the following contents:
Popular walking routes in Hangzhou
Gradient scatter
All are examples officially provided by eckarts. This article will implement them through Pyecharts.
Popular walking routes in Hangzhou
Because Baidu map needs to be called in the code, you nee ...
Posted by pandu345 on Fri, 21 Feb 2020 07:31:38 -0800
Visual dynamic analysis of national epidemic situation - [force plan]
Visual dynamic analysis of national epidemic situation - [force plan]
50 meters of gas field -- new open source project
Visual dynamic analysis of national epidemic situation - [force plan]
@[toc]
Preface
1. text
1. The first step is to obtain data
2. The second step is to obtain longitude and l ...
Posted by Refused on Fri, 21 Feb 2020 05:54:33 -0800
Using Python script to clean up es data
Demand background
The business system stores all kinds of reports and statistical data in ES. Due to historical reasons, the system makes statistics in full amount every day. As time goes on, the data storage space of ES is under great pressure. At the same time, because the use of ES index is not well planned, some indexes even exceed the max ...
Posted by beefy23 on Fri, 21 Feb 2020 03:37:14 -0800