Spring Boot 2.x Actual Warfare--First Spring Boot Program

Spring Boot 2.x Actual Warfare--First Spring Boot Program The Spring Boot 2.X Actual Warfare series will be divided into the following modules. This section will build a RESTful API and customize the return data and HTTP return codes, as well as the data passed to the API interface. The next section will integrate Log4j2 with Slf4j for log prin ...

Posted by sdyates2001 on Tue, 10 Mar 2020 09:42:36 -0700

3.kotlin Notes_Agent

1. Agent mode interface Base { fun printMessage() fun printMessageLine() } class BaseImpl(val x: Int) : Base { override fun printMessage() { print(x) } override fun printMessageLine() { println(x) } } class Derived(b: Base) : Base by b { override fun printMessage( ...

Posted by irving on Tue, 10 Mar 2020 09:12:31 -0700

H5 develops the mobile page. After the detail page returns to the list page, the page refresh fails to locate the original location. The problem is solved

1, Problem Description: 1. In the development of mobile terminal, the list page is generally used to add the content of the next page to the end of the current list page to realize the paging function. When sliding down to a page, click a piece of information to enter the details page, and then click the return of the details page to return to ...

Posted by Shaped on Tue, 10 Mar 2020 02:19:27 -0700

4: Front and back interaction of Vue

1: Overview 1 interface call mode Native ajax ajax based on jQuery fetch axios 2: Traditional URL Format: Schema: / / lost: port / path? Query fragment 1):schema: protocol. For example, http,https,ftp, etc 2);host: domain name or IP address 3):port: port, http default port 80, can be omitted ...

Posted by viveleroi0 on Mon, 09 Mar 2020 21:59:10 -0700

Node.js buffer

JavaScript language has only string data type and no binary data type. But binary data must be used when processing streams such as TCP or file streams. Therefore, in Node.js, a Buffer class is defined, which is used to create a special Buffer for storing binary data.   Before v6.0, the new Buffer() constructor is used to create the object inst ...

Posted by gregor171 on Mon, 09 Mar 2020 00:08:14 -0700

VUE implements Studio management background: drop-down selection list (Select) control, input series of input box

This time Github upload is wrong, and the serial number in the title is wrong. I think this way: "VUE implements Studio management background (11): drop-down selection list control, input box series" has actually been transferred to this way: "VUE implements Studio management background (9): drop-down selection list control, inpu ...

Posted by amelhedi on Sun, 08 Mar 2020 04:50:21 -0700

ELK log collection

ELk introduction E: Elasticsearch stores data java 50: Logstash collection, filtering, forwarding, matching, large, slow start, middle role java K: Kibana filtering, analysis, graphic presentation java F: Filebeat collects logs and filters go Basic architecture diagram Traditional log analysis requirements (interview) 1. Find out the top ten ...

Posted by ppgpilot on Sun, 08 Mar 2020 03:42:58 -0700

VUE implements Studio management background: OptionBox, a comprehensive attribute input interface, which can be cascaded and reset

To facilitate code reading, the test data has been separated and placed in the mock Directory: If you read the code, just pay a little attention. This time, the most important part of RXEditor interface is attribute input component, which can display whether data has been modified or reset to default value in batch. The effect is as follows: ...

Posted by Ulujain on Sun, 08 Mar 2020 01:00:01 -0800

Hand in hand to teach you to implement a JSON parser!

1. background JSON(JavaScript Object Notation) is a lightweight data exchange format. JSON has many advantages over XML, another data exchange format. For example, the readability is better and the space occupied is less. In the field of web application development, thanks to the good support of JavaScript for JSON, JSON is more popular with de ...

Posted by symantec on Sat, 07 Mar 2020 21:03:43 -0800

redis data type and its use

redis is the data structure of key value. Each data is a key value pair. The key type is string and cannot be repeated. There are five types of value: 1. String String type is the most basic data type in Redis, which is stored in binary form, so it can accept data of any format. The maximum length that ...

Posted by no3dfx on Sat, 07 Mar 2020 17:52:59 -0800