Learning docker from scratch Introduction to Docker Compose
We start with this section with a very important tool, Docker Compose, which is used frequently.
Let's start with a case study of why we use Docker Compose.
Case study: How do I deploy a WordPress via a container?
Now pull WordPress locally:
docker pull wordpress
docker image ls
REPOSITORY TAG IMAGE ID ...
Added by mlavwilson on Wed, 03 Jul 2019 19:50:25 +0300
JavaScript Function (1) - Definition and Call of Function
JavaScript Function (1) - Definition and Call of Function
Label (Space Separation): JavaScript
order
A function is a piece of JavaScript code that is defined only once, but may be executed or called any time.
JavaScript functions are parameterized: the definition of a function includes a list of identifiers called formal parameters tha ...
Added by skeppens on Wed, 03 Jul 2019 02:24:08 +0300
java Dynamic proxy, Proxy and Invocation Handler
Read a lot of articles about agency, understand and organize them.
1. Basic Composition of Agency
Abstract Roles: Declare common interfaces between real objects and proxy objects so that proxy objects can be used wherever they are used.
Proxy roles: Proxy objects contain references to real objects so that they can be manipulated at any time. Th ...
Added by Snewzzer on Wed, 03 Jul 2019 01:32:12 +0300
ACCP8.0 Extensions - Parsing xml files using JAXB (1)
We have learned the basics of xml and how to read it in C# in the second semester of C# (in-depth.NET platform and C# programming), but we haven't talked about how to manipulate and read xml in Java. Here I'll give you a brief introduction to several ways of parsing in Java for understanding.
1. Several ways to parse xml in Java
1.1 JDK Nativ ...
Added by jeff_valken on Tue, 02 Jul 2019 20:02:14 +0300
The Thinking Logic of Computer Programs (85) - Annotations
Upper segment We discussed how to get annotation information in reflective and reflective related classes. We also mentioned annotations many times in the previous chapters. What exactly are annotations?
In Java, annotation is to add some information to a program, beginning with the character @, which is used to modify other code elements immed ...
Added by tave on Tue, 02 Jul 2019 02:36:09 +0300
Data Binding - Simple Data Binding
This document addresses the following issues:
1. Simple data binding
1. Attribute binding
Syntax: <%# Property Name%>
Note: You need to call the DataBind method of the Page class to perform the binding operation
2. Expression Binding
3. Collection Binding
4. Method Binding
1. Attribute binding
(1) Create a new website w ...
Added by mzfp2 on Sun, 30 Jun 2019 19:57:03 +0300
Five reasons why you should learn to use Python decorators
Python decorators are very simple to use. Anyone who can use Python functions can learn to use decorators:
Python
@somedecorator
def some_function():
print("Check it out, I'm using decorators!")
Closures, but how to write decorators is another matter, and it's not easy. You have to understand the following:
How to use function as firs ...
Added by willfitch on Wed, 26 Jun 2019 21:20:29 +0300
[118 days] Shang Xue Gao Qi Java300 set video highlights notes (18-23)
Set 18-19: Basic Usage of switch Statement, case Penetration, String Usage of switch in JDK7
Basic usage of switch statement
The case tag of a switch statement can be an int or a type that can be converted to an int (byte, char, short) [strings can be used in JDK 7.0]
Based on the value of the expression, a section of execution is selected fr ...
Added by czambran on Tue, 25 Jun 2019 21:34:33 +0300
Three features of Java object-oriented
Three features of Java object-oriented
inherit
Keyword: extends
Concept: Inheritance mechanism is an indispensable key concept in object-oriented programming. It is the foundation of software reuse and the main way to improve the scalability and maintainability of software systems. Inheritance means that the definition of a class can be b ...
Added by kelseyirene on Tue, 25 Jun 2019 03:02:12 +0300
First day I met Python
Python Fundamentals
A programming language
What is a programming language?The above-mentioned expression that can be recognized by computer is programming language, which is the medium of communication, and programming language is the medium of communication between programmer and computer. In the world of programming, computers are more like ...
Added by webhamster on Mon, 24 Jun 2019 21:04:17 +0300