Using proxy to implement a simple and complete MVVM Library

Preface This article was first published in Front-end Development Blog mvvm is a necessary mode of daily business development at the front end of the current era (such as react, vue, angular, etc.). Using mvvm, developers can concentrate more on business logic than on how to operate dom. Although it has been 9012 years now, the introduction of ...

Posted by phpnewbie81 on Tue, 10 Sep 2019 01:59:23 -0700

Several implementations of Java Proxy design pattern

Proxy is a structural design model that mainly solves the problems caused by direct object access. Proxy is divided into static proxy and dynamic proxy (JDK proxy and CGLIB proxy).Static proxy: Proxy classes created by programs, or specific tool classes, are often used in normal development. This kind of proxy mode usually generates correspondi ...

Posted by dhrosti on Mon, 09 Sep 2019 19:15:43 -0700

Domain name resolution analysis using golang's net package

Background: In the actual use of the Internet, it is well known that the domain name is used to access a service directly, but with the continuous optimization of the Internet business structure, it may be a simple step for users to access a domain name to obtain related resources, but in fact, for the entire request process of the Internet is ...

Posted by jbog91 on Mon, 09 Sep 2019 17:55:44 -0700

How does Go implement protobuf encoding and decoding: source code

Links to the original text: https://mp.weixin.qq.com/s/oY... This is a companion article to analyze how Go implements protobuf encoding and decoding: How to Realize the Coding and Decoding of protobuf by Go (1): Principle How Go implements protobuf encoding and decoding (2): source code This edition is the second one. Preface Last article Ho ...

Posted by adt2007 on Mon, 09 Sep 2019 06:27:51 -0700

Java Concurrency Series Deeply Understanding AbstractQueued Synchronizer (AQS)

Links to the original text: https://www.guan2ye.com/2019/08/31/%E6%B7%B1%E5%85%A5%E7%90%86%E8%A7%A3AbstractQueuedSynchronizer(AQS).html I get Aliyun coupon at our small welfare point Author: github: CL0610/Java-concurrency Disclaimer: 1. T ...

Posted by Kieran Huggins on Sun, 08 Sep 2019 23:41:28 -0700

springmvc/springboot global exception handling and custom exception handling

Preface Exception handling has always been a big part of project development, but few people pay attention to exception handling. Often it's a simple try/catch all the exceptions, and then a simple print StackTrace, which uses logger at most to print down the log or re-throw the exceptions, and some have custom exceptions, but it's still in the ...

Posted by DasHaas on Sun, 08 Sep 2019 07:05:07 -0700

Advanced Custom View of Android Canvas to Implement Particle Explosion Effect

Not much, first on the effect map, feel simple, please spray lightly. My wife exploded... Oh no, there are many particles moving after the image explosion, so each particle is an object. First, the particle is defined as a particle object. The ...

Posted by newburcj on Sat, 07 Sep 2019 04:50:16 -0700

Lesson 8-8 of Sprcloud: Using consul to do service discovery and invocation

DEMO code for the project: https://github.com/heyu52/-spring-cloudWhat is Consul? Official website: https://www.consul.io/ The following is from: https://www.jianshu.com/p/e0986abbfe48 Consul has several components, but in general, it is a tool for s ...

Posted by mikeglaz on Sat, 07 Sep 2019 04:32:05 -0700

Unity Zenject Advanced Programming (Writing Automated Test Test Case)

Writing Automated Unit Tests and Integration Tests When you use DI to write low-coupling code correctly, it's very easy to isolate code in a given area. The basic intention is to run tests without starting your project; these test frameworks that ca ...

Posted by proctk on Sat, 07 Sep 2019 03:48:54 -0700

Introduction to Machine Learning Series - How to Build a Complete Machine Learning Project

Links to the original text: https://mp.weixin.qq.com/s/nMG5Z3CPdwhg4XQuMbNqbw First, the main steps of a complete machine learning project process are given, as follows: Project overview. Get data. Discover and visualize da ...

Posted by mwdrago on Sat, 07 Sep 2019 01:15:21 -0700