Spring Boot Principle Deep-Dependent Management

2.2 Deep Principle The traditional Spring framework implements a WEB service, which needs to import various dependent JAR packages, then write corresponding XML configuration files, etc. Compared with Spring Boot, it is more convenient, fast and efficient.So how does Spring Boot really do that? 2.2.1 Dependency Management Question: Why doesn't ...

Posted by joshi_v on Mon, 15 Jun 2020 21:30:25 +0200

Spring Boot - In-depth Principles - Customize starter

2.2.3 Custom starter Spring Boot is made up of many Starters (a series of starter plug-ins that are automatically configured), and it is also because of starter that Spring Boot is popular. starter is a very important part of Spring Boot and can be understood as a pluggable plug-in because it allows developers who use a feature to ignore the p ...

Posted by moe on Mon, 15 Jun 2020 21:25:55 +0200

Creating WebSocket service with Go language

Thank you for your reference- http://bjbsair.com/2020-04-01/tech-info/18504.html Today, I introduce how to create WebSocket service with Go language. The first two parts of this article briefly introduce the WebSocket protocol and how to create WebSocket service with Go standard library. In the third part, we use the gorilla/websocket library ...

Posted by CAPTAINCAPSLOCK on Sun, 05 Apr 2020 09:03:45 +0200

Background data request in node.js mock, axios

<! -- Axios handles the cross domain background configuration 1. Install cnpm install -- save dev Axios 2.Introduce axios To project or component(Current component use only) --> // Using axios requests Axios.get("/getuser") .then(res => { //succss console.log(res.data.result); }) .catch(error => { //error ...

Posted by petrb on Sat, 04 Apr 2020 11:58:38 +0200

javascript websocket [heartbeat + service pushing information forward]

1. [Role]To maintain the sustainability and stability of the connection, the websocket heartbeat is the solution.2. [Analysis]1. If the device network is disconnected, the native websocket will not immediately trigger any events on the websocket, and the front end will not know if the current connection has been disconnected.2. When we use the ...

Posted by mator on Tue, 31 Mar 2020 03:17:16 +0200

Example of JS using cookie to save user login information

This article describes how JS uses cookie s to save user login information. To share with you for your reference, as follows: Generally, cookies and session s are used to store information in web development. Sessions exist in the memory of the server, while cookies exist in the client. Therefore, js ca ...

Posted by epp_b on Fri, 14 Feb 2020 16:53:50 +0100

An example of using Websocket developed by Python

I learned how to implement web development in java. Today I want to try to implement it in python, so I found the code on the Internet 2.1. Effect 1 (a client connects to the service and sends a message) 2.2. Effect 2 (another client connects to the service and sends a message) 2.3. Effect 3 (the servic ...

Posted by starmikky on Fri, 17 Jan 2020 15:14:10 +0100

HTML table template

HTML table 1. < Table > label: declare a table. Its common attributes are as follows:Border property: defines the border of the table. The setting value is a valuecellpadding property: defines the distance between the cell content and the border. The setting is a numeric valuecellspacing property: defines the distance between cells. The ...

Posted by Sorrow on Mon, 23 Dec 2019 21:04:30 +0100

restframework Component Details

Introduction to restfulrestful is an interface specification in which front-end and back-end interfaces are developed to improve team development efficiency, especially for front-end and back-end separation, according to which front-end and back-end development modules are not affected by each other2. Routing from rest_framework.routers import ...

Posted by wintallo on Wed, 18 Dec 2019 03:15:03 +0100

Js dynamically adds < td > data to table node tbody

/** * Dynamic < td > fill current page */ function fillPage() { // Determine the number of rows to generate based on the number of records for (var i = 0; i != dataArray.length; ++i) { // Create a row element var row = document.createElement('tr'); // Create td cell var idCell = ...

Posted by phpmania1 on Sat, 14 Dec 2019 20:42:26 +0100