Introduction to policy mode and its specific usage scenarios
preface
Today, I optimized the previous business code with the strategy mode and reviewed the relevant concepts of the design mode. I'll record it here
1, Introduction to policy mode
definition:
The policy pattern defines the algorithm family and encapsulates them separately so that they can replace each other. This pattern makes ...
Posted by stubarny on Fri, 12 Nov 2021 02:02:41 -0800
Adapter & finisher
js design pattern - adapter pattern, decorator pattern1. Adapter modeAdapter mode: (adapter) is to convert the interface of a class into another interface desired by the customer. The adapter mode enables those classes that cannot work together due to incompatible interfaces to work together. (big talk design mode) Usage scenario: when the dat ...
Posted by tkj on Fri, 12 Nov 2021 01:54:21 -0800
Golang reflection - Part 1
1. Definition of reflection2. Basic data type of reflection3,Type4,Value5. Three laws of reflection 5.1 first law of reflection5.2 second law of reflection5.3 the third law of reflection6. Common API s for reflection 6.1 get type6.2 obtaining Field information6.3 obtaining method information6.4 obtaining function information6.5 assignment and ...
Posted by TonyB on Fri, 12 Nov 2021 01:48:15 -0800
Importance of data security
data security
Data security has two opposite meanings: one is the security of data itself, which mainly refers to the active protection of data by using modern cryptographic algorithms, such as data confidentiality, data integrity, two-way strong identity authentication, etc.; the other is the security of data protection, which mainly uses ...
Posted by JimStrosky on Fri, 12 Nov 2021 01:31:04 -0800
In the era of saas craze, workflow seems to be a professional quality
preface
Now more and more projects begin to use workflow to meet their daily work. Today, let's take a look at the workflow of Activiti. Let's start with BPMN painting
Environment installation
BPMN documents about processes are mainly integrated through eclipse development tools. The idea is mainly painted by actiBPM, but actiBPM is no long ...
Posted by mechew on Fri, 12 Nov 2021 01:16:00 -0800
Not yet, traifik? Just read this article! (book at the end of the text)
Hello, I'm jock.Some people may not be familiar with traifik, but they should be familiar with Nginx.For the time being, we regard Traefik as a kind of software similar to Nginx. After reading the whole article, you will have a different understanding of Traefik.This article mainly takes you to have a comprehensive understanding of Traefik. I w ...
Posted by ryanyoungsma on Fri, 12 Nov 2021 01:12:49 -0800
Spring Boot interceptor configuration
catalogue
preface Spring Boot version What is an interceptor? How to customize an interceptor? How to make it work in Spring Boot? Take a chestnut
thinking According to what judgment, this interface has been requested? Where is this specific information stored? How? summary
preface
The last article talked about the basic conten ...
Posted by blear on Fri, 12 Nov 2021 01:08:24 -0800
AVFoundation – AVMetadataItem get media attribute metadata
catalogue
1, Foreword
1.AVAsset2.AVAssetTrack3.AVComposition / AVMutableComposition4.AVMutableVideoComposition5.AVMutableCompositionTrack6.AVMutableVideoCompositionLayerInstruction7.AVMutableVideoCompositionInstruction8.AVAssetExportSession 2, Introduction to AVMetadataItem3, Get metadata using availableMetadataFormats4, Get metadata using ...
Posted by allydm on Fri, 12 Nov 2021 01:00:59 -0800
Read the Chinese character dot matrix data and display it through pictures
1, Principle of Chinese character lattice font
1, Chinese character coding
1. Location code
The national standard code is a four digit hexadecimal number, and the location code is a four digit decimal number. Each national standard code or location code corresponds to a unique Chinese character or symbol. However, because we rarely use hexad ...
Posted by fahad on Fri, 12 Nov 2021 00:35:43 -0800
Sharding JDBC realizes read-write separation + sub database and sub table. It's written very well!
|Overview
Shardingsphere Jdbc is positioned as a lightweight Java framework and provides additional services in the Jdbc layer of Java. It uses the client to connect directly to the database and provides services in the form of jar package. It can be understood as an enhanced version of Jdbc driver, which is fully compatible with Jdbc and vario ...
Posted by ja_blackburn on Thu, 11 Nov 2021 23:46:25 -0800