๐ DTM distributed transaction manager PHP collaboration client v0 1 beta release!!!
github.com/dtm-php/dtm-client
introduce
dtm/dtm-client Is a distributed transaction manager DTM The PHP client of has supported the distributed transaction mode of TCC mode, Saga mode and two-stage message mode, and has realized the communication with DTM Server by HTTP protocol or gRPC protocol respectively. The client can run safely in the e ...
Added by surreal5335 on Tue, 15 Feb 2022 06:35:55 +0200
๐ DTM distributed transaction manager PHP collaboration client v0 1 beta release!!!
https://github.com/dtm-php/dt...introducedtm/dtm-client Is a distributed transaction manager DTM The PHP client of has supported the distributed transaction mode of TCC mode, Saga mode and two-stage message mode, and has realized the communication with DTM Server by HTTP protocol or gRPC protocol respectively. The client can run safely in the e ...
Added by shawnyoung on Tue, 15 Feb 2022 06:26:10 +0200
Nginx - minimum configuration
A secure server is one that allows only the required number of servers. Ideally, we will build the server based on the smallest system by enabling other functions separately. Minimal configuration is also helpful for debugging. If the error is not available in the smallest system, add functions separately, and then continue to search for errors ...
Added by CMC on Mon, 14 Feb 2022 06:07:20 +0200
TS type gymnastics: illustrating a complex advanced type
Let's do a difficult gymnastics today. It will comprehensively use patterns matching, construction, recursion and other routines, which is very helpful to improve the level of type programming.
The advanced types we want to implement are as follows:
Its type parameter is the parameter string query string, which will return the parsed ...
Added by gwydionwaters on Mon, 14 Feb 2022 05:54:35 +0200
The most grounded set of PHP interview questions (end) (it's not easy to summarize. I stepped on the pit and hung up a lot of interviews)
Last week, I coded the following at home. I felt it necessary to say some knowledge required for the interview according to the previous text. (this may be the reason why I stay at home, this may be the reason why I don't have Nan friends, this may be..... Woo!)
What is object cloning?For objects, PHP uses reference passing, that is, the assign ...
Added by jason257 on Wed, 09 Feb 2022 19:14:42 +0200
2021-PHP core technology classic interview questions
1. Write a PHP function that can create multi-level directories
<?php
/**
* Create multi-level directory
* @param $path string Directory to create
* @param $mode int The mode of creating directory can be ignored under windows
*/
function create_dir($path,$mode = 0777)
{
if (is_dir($path)) {
...
Added by c0le on Wed, 09 Feb 2022 02:07:15 +0200
PHP class notes
preface
There have been too many things (bullshit) recently Study time was squeezed What do you have to do when you have to dance And made it to the finals Gan Win honor (disgrace) to the whole school
I've been playing games lately I did learn something All the masters tttql At the same time, I increasingly feel that the foundation is very im ...
Added by Mgccl on Tue, 08 Feb 2022 22:33:50 +0200
PHP interview collection
1. Similarities and differences between Get and Post in form submissionget request is generally used to obtain data from the server, and post is generally used to submit data to the serverThe parameters transmitted by get are in the url. There is a limit on the size of the parameters transmitted, and there is no limit on the size of post,Get is ...
Added by tuneout on Mon, 07 Feb 2022 22:53:51 +0200
Website learning experience - login registration function
//Environment:
1. No environmental requirements
text
1, Demand analysis:
1. Registration function
Realize the creation of new user information: account, password, nickname and email
Account number: cannot be repeated, cannot be less than 6 digits, pure number
Password: no less than 6 digits
Nickname: the maximum length is 6 characters a ...
Added by KC_Geek on Sat, 05 Feb 2022 09:24:03 +0200
HTTP JSON API Design Specification
Preface
More and more Web applications are interacting with JSON as a data exchange format for APIs. The goal of this document is to keep the design style of the HTTP JSON API consistent and easy to understand and maintain. A good API should be able to consistently provide stable, easy-to-use, trusted services throughout its lifecycle and smoo ...
Added by luisluis on Wed, 02 Feb 2022 05:40:38 +0200