Use proxy to achieve intranet penetration, configure intranet and Intranet databases to synchronize data with each other

1, Intranet penetration using proxy prepare Tutorial reference address: https://snail007.github.io/goproxy/manual/zh/#/ git address of proxy software: https://github.com/snail007/goproxy/releases Prepare two servers: One with fixed IP External network server, for example: 180.76.123.37 A server in Intranet environment, for example: 192 ...

Posted by mashnote on Sun, 30 Jan 2022 00:19:16 +0100

Is vue2's responsive principle "obsolete"? Continue to observe vue3 the principle of responsive Proxy

I wrote an article about vue2 X's responsive principle, but because vue3 also came and followed the pace of vue3, I began to learn the responsive principle of vue3 on Monday. You should have heard that vue3 uses proxy to solve the responsive principle, and it solves the object in vue2 Definepropery has some problems, but it also brings s ...

Posted by rsanc on Sat, 29 Jan 2022 03:32:44 +0100

Vue3 -- ref & reactive & toRefs & toRef responsive reference

preface We learned in the last section setup function In this section, we will solve this problem. Responsive citation principle The data is encapsulated by proxy. When the data changes, the template content update is triggered. ref Function: accept an internal value and return a responsive object;Processing: generally used to pro ...

Posted by KILOGRAM on Wed, 19 Jan 2022 09:22:45 +0100

Design pattern - agent pattern

proxy pattern Proxy Pattern refers to providing a proxy for other objects to control access to this object. It belongs to structural pattern. In some cases, an object is inappropriate or cannot directly reference another object, and the proxy object can act as an intermediary between the client and the target object. The agent mode generally ...

Posted by dave_c00 on Thu, 30 Dec 2021 02:07:16 +0100

Dynamic agent mode

Proxy pattern is a common design pattern in Java development. The design purpose is to insert other functions between service class and customer class. The inserted functions are transparent to the caller and play the role of camouflage control 1. Static proxy mode Characteristics of static agent 1. Target role fixed 2. Get the target rol ...

Posted by wildcolour on Tue, 21 Dec 2021 03:18:45 +0100

webpack advanced application: devServer

In the development environment, we often need to start a web service to facilitate us to simulate a user to access our web service from the browser and read our packaged products to observe the performance of our code on the client. Webpack 5 has such a built-in function. We only need a simple configuration to turn it on. Before that, we ne ...

Posted by konrados on Mon, 06 Dec 2021 05:51:43 +0100