Introduction to web front end to practice: css foundation positioning + web layout case

position:static Ignore top/bottom/left/right or z-index position:relative Set relative positioning elements not to break away from document flow position:fixed Does not scroll with the viewport, inherits the characteristics of absolute position:sticky With the top attribute, you can set the adsorption navigation effect, but the compatibility i ...

Posted on Sat, 04 Apr 2020 16:24:02 -0400 by rich1983

Introduction to web front end to practice: css foundation float

float to achieve the effect of text surrounding pictures: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>float</title> < style > body {font family: 'Microsoft YaHei'; } .per{ width: 400px; border: 1px solid #CCC; padding: 5px; } .red{ width: 100px; he ...

Posted on Sat, 04 Apr 2020 15:09:45 -0400 by aktell

spring boot interceptor

In the process of web development, in order to implement login authorization verification, we often need to add an interceptor to implement login verification when the user's request reaches the controller layer. How can spring boot add an interceptor? The steps are as follows: 1. Inherit the WebMvcConfigureAdapter class, override its addInte ...

Posted on Tue, 31 Mar 2020 05:49:27 -0400 by jasonc

How to handle REST API requests in React

The REST API is commonly used in Web development.They are programming interfaces that Web applications use to "talk" to each other.They are used to access functional parts and data."REST" (representative state transition) is the concept that defines API properties.This article focuses on how to retrieve data from a database ...

Posted on Tue, 24 Mar 2020 19:57:55 -0400 by Cynthia Blue

Java Concurrent Programming (02): thread core mechanism, basic concept extension

Source code: GitHub point here || GitEE point here 1, Thread basic mechanism 1. Concept description The characteristic of concurrent programming is that it can divide the program into several separate and independent tasks, and drive these independent tasks to execute through threads, so as to improve the overall efficiency. Here is a basic de ...

Posted on Sun, 15 Mar 2020 06:27:14 -0400 by talper

Who says the back-end programmers don't understand the front-end (vue)

I'm sorry to all of you. I'm having a headache in finding a job recently. It's really hard for the company to recruit people under the epidemic. My job search blog may take a long time to meet you. I'll take the time to write an article about the vue framework. I hope you can learn some knowledge in it ...

Posted on Sun, 15 Mar 2020 00:19:32 -0400 by rreynier

HttpSession Basics

HttpSession In WEB development, the server can create a session object (session object) for each user browser. Note: a browser has one session object (by default). Therefore, when the user data needs to be saved, the server program can write the user data to the exclusive session of the user's browser ...

Posted on Thu, 12 Mar 2020 01:56:25 -0400 by omelin

A simple Java Socket BIO demo

Minimalist Edition I'm going to learn a wave of netty recently, but I'm not familiar with NIO, BIO and AIO of Java, so I'll get familiar with them first. First come Kangkang document: All About Sockets This document is too verbose.. I didn't know where to start at that time. I just wanted to find a video course, which was taught by a girl. I'm ...

Posted on Wed, 11 Mar 2020 06:24:52 -0400 by DevilsAdvocate

Thread isolation in flash

1. introduction First of all, the following code does not adopt the method of thread isolation. A new thread is opened in the main thread to call the test method, and the final print result is obviously 2 import threading class TestThread: value = 1 s = TestThread() def test(): s.value = 2 ...

Posted on Tue, 03 Mar 2020 03:05:49 -0500 by Zpixel

In depth analysis of routing -- front end beginners can also develop vue e e-commerce projects

What is the route? Why use routing? What is the function of routing? Can I write the source code of route jump? After finishing the routing part, the four company strike made me think deeply. Let's learn vue router's wings~ This is an e-commerce project demo based on vue & Axios & mock & t ...

Posted on Sat, 29 Feb 2020 00:03:15 -0500 by Holoverse