Details of PHP Reflection API

It has a complete reflection API and adds the ability to reverse engineer classes, interfaces, functions, methods and extensions. In addition, the reflection API provides a way to extract document annotations from functions, classes, and methods. Note that some of the internal API s are missing the code needed for reflection extension work. Fo ...

Posted by sactown on Fri, 27 Sep 2019 01:52:07 -0700

Java Learning Notes: Basic Programming Concepts

9.23-9.26 Go to the website and download intellij IDEA https://www.jetbrains.com/idea/download/#section=windows 1, classpublic class hello {...} where Hello is the name, if you modify the name on this basis, the compilation will be wrong (the file name is still hello.java, so the file name and name must ...

Posted by mallard on Thu, 26 Sep 2019 06:37:53 -0700

Data Structure Experiment-Basic Operation of Tree-Binary Tree

I. The Purpose and Requirements of the Experiment 1. Understanding the basic concepts and characteristics of binary trees 2. Grasp the chain storage structure of binary tree 3. Grasp the basic operation of binary tree 2. Experimental content (or experimental principle, experimental topology) 1. Impl ...

Posted by Wolfsoap on Thu, 26 Sep 2019 05:57:25 -0700

Python Training Camp 45 days - Day07 (Advanced Object-Oriented Programming)

Catalog 1. @property decorator 2. Magic Method 3. Class and instance attributes 4. Static methods and class methods 5. Single Inheritance and Multiple Inheritance 6. polymorphism 7. del method Preface: In the last chapter, we learned the basic knowledge of object-ori ...

Posted by HughbertD on Thu, 26 Sep 2019 04:04:13 -0700

A Simple Example of Binder

Binder introduction Binder is an interprocess communication mechanism (IPC) used in Android. In Android systems, applications are composed of four types of components: Activity, Service, Broadcast Receiver and Content Provider. They may run in the same process or in different processes. In addition, various system components are also running in ...

Posted by Shaun on Wed, 25 Sep 2019 23:19:52 -0700

Spring Cloud Tutorial No. 3: feign

The last article described how to consume services through RestTemplate+Ribbon. This article focuses on how to consume services through Feign. Introduction to Feign Feign is a declarative pseudo-Http client that makes it easier to write Http clients. With Feign, you only need to create an interface and annotate it. It has pluggable annotatio ...

Posted by dancing dragon on Wed, 25 Sep 2019 20:57:22 -0700

Universal Verification Class for Interface Automation

In the process of automation, we will encounter a lot of verification points, but some verification functions are universal, so I encapsulated a general verification class to solve the problem of repeated verification. I also wrote one before. Now this adds an array of verification, and there are some hidden bug fixes. Not much to say, share th ...

Posted by RickChase on Wed, 25 Sep 2019 20:50:46 -0700

Android Common Design Patterns 10: Build Patterns

For developers, design patterns can sometimes be a barrier, but design patterns can be very useful, beyond which you can move up a notch.In the development of Android, it is necessary to know some design patterns, because design patterns are ubiquitous in Android source code.For students who want to study design mode systematically, here is a B ...

Posted by BenGilbert on Wed, 25 Sep 2019 19:56:45 -0700

Design Patterns - Seven Design Principles - Dimitt's Law and Richter's Replacement Principle

Summary Briefly introduce the seven design principles: Open-Close Principle: The core of all object-oriented design, open to extensions, close to modifications Dependency Inversion Principle: Programming for interfaces, dependent on abstraction rather than specificity Single Responsibility Princ ...

Posted by cronus on Wed, 25 Sep 2019 19:35:46 -0700

SpringCloud Tutorial Part 2: Ribbon

In the previous article, we talked about registering and discovering services.In the microservice architecture, services are split into separate services, and the communication between services is based on http restful.Spring cloud has two ways of invoking services, ribbon+restTemplate and feign.This article starts with ribbon+rest. 1. Introd ...

Posted by @sh on Wed, 25 Sep 2019 18:56:46 -0700