Practice of Flux architecture in Toka App

Introduction: in order to cope with the complex interaction of video editing tools, Toka iOS draws lessons from the design idea of Flux architecture mode and the topology concept of directed acyclic graph, centralizes the event management, and realizes a comfortable, refreshing and easy to control "one-way flow" mode from the dev ...

Posted by bidnshop on Thu, 28 Oct 2021 03:54:27 +0200

How should API interfaces be designed, how to ensure security, how to sign, and how to prevent duplication

In the actual business, it is inevitable to interact and transfer data with the third-party system, so how to ensure the security of data in the transmission process (anti theft)? In addition to the https protocol, can we add a general set of algorithms and specifications to ensure the security of transmission? Let's discuss some common securi ...

Posted by robburne on Wed, 27 Oct 2021 19:29:55 +0200

k8s replicaset controller analysis - initialization and startup analysis

replicaset controller analysis Introduction to replicaset controller Replicaset controller is one of many controllers in Kube controller manager component. It is the controller of replicaset resource object. It monitors replicaset and pod resources. When these two resources change, it will trigger the replicaset controller to tune the corresp ...

Posted by Haraldur1234 on Sun, 24 Oct 2021 07:33:50 +0200

Practice of stateless state machine in code

Stateless state machine 1: Foreword In the project, there are often some work orders, applications and so on, which need to flow the status. This kind of demand is generally what conditions are met, and then the state is reversed. These processes are logically similar in structure and can be handled abstractly. Using a general structure can ...

Posted by fogofogo on Fri, 15 Oct 2021 20:07:37 +0200

The road of Architecture_ Effective C + + summary

1, Get used to C++ 1.1 clause 01: treat C + + as a language Federation C + + can be regarded as a multi paradigm programming language, which supports procedural, object-oriented, functional, generic and metaprogramming languages. These capabilities and flexibility make C + + an unparalleled tool. The simplest way to understand C + + is to ...

Posted by jlr2k8 on Fri, 01 Oct 2021 19:52:40 +0200

MVVM communication of Jetpack - principle analysis of LiveData

summary In the last article, we introduced the basic use and principle analysis of ViewModel. Because ViewModel usually needs to be used in combination with inter component communication tools, the last article also talked about the scenario of the combination of ViewModel and LiveData. This time, we will analyze some principles of LiveData co ...

Posted by splatek on Mon, 06 Sep 2021 20:55:39 +0200