Asynchronous message queuing API based on swoole

Explain 1. If you need to perform time-consuming operations in the Server program, such as a chat Server sending broadcast, and a Web Server sending mail. If these functions are executed directly, the current process will be blocked, resulting in slow response of the Server. Swoole provides the function of asynchronous task processing, which ca ...

Posted by strangermaster on Mon, 27 Apr 2020 16:35:09 +0200

Ainong payment express payment + payment form customs declaration demo

During the work period, the customer specifies to use this. During the actual work time, the other party has no demo, has an md5 signature that is also 1.0, and can't find the case through online search. The official website doesn't provide any related content of the document. Everything should be written according to the document provided by t ...

Posted by Sentosa on Mon, 27 Apr 2020 16:03:46 +0200

JMeter Parameter Signature - Groovy Tool Class Form

How do I sign parameters in JMeter? Last Period JMeter Parameter Signature - Groovy Script Form Using Groovy scripting, this issue continues Groovy's use of parameter signatures in JMeter -- parameter signatures are done using Groovy tool classes. This is a common situation in interface testing where one parameter of the interface is determined ...

Posted by miasma on Fri, 24 Apr 2020 04:30:03 +0200

Laravel - hands on Implementation - add, delete, modify and query

Get a framework, in addition to understanding the framework, but also to achieve the basic CURD operation. Add to 1. Configure route, specify add page; // Add the following in routes/web.php: // Add page and storage path Laravel7/resources/views/Users/add.blade.php // The view file ends with. blade.php by default Route::get('/add', function(){ ...

Posted by jvanv8 on Thu, 23 Apr 2020 06:06:46 +0200

Order export pdf file

principle Raw data - > Load template - > temporary file - > PDF file Scheme preparation html template to pdf Difficulties: 1. Find a designer for every change; 2. html style is difficult to control (I'm not good at it); 3.html to pdf style is difficult to control word template to pdf Difficulties: 1. Selection of appropriate plug-in ...

Posted by argh2xxx on Tue, 21 Apr 2020 18:35:29 +0200

Open Swoole without three party package for Laravel

Swoole It is an excellent PHP extension, which can realize the resident service and asynchrony that native PHP is difficult to achieve. Just in time, I had a project on Laravel that I could toss about, so I studied it. Laravel project is based on composer, so I post the require declaration in my composer.json:   { "require": { "ph ...

Posted by SsirhC on Mon, 13 Apr 2020 10:47:38 +0200

linux builds php performance analysis tool

First on the renderings: Installation environment Centos,php7,MongoDB3,nginx php extension mongodb: http://pecl.php.net/package/mongodbtideways_xhprof: https://github.com/tideways/php-xhprof-extension Install MongoDB3 By default, MongoDB2 is installed in my environment yum. xhgui requires version 3 or above. Create a yum source for MongoDB3 vi ...

Posted by jalapena on Sat, 11 Apr 2020 17:27:35 +0200

PHP string operation (string replacement, deletion, truncation, copy, connection, comparison, search, including, case conversion, cutting to array, etc.)

1, String substitution str_replace("iwind", "kiki", "i love iwind, iwind said"); //Will output "i love kiki, kiki said" str_replace(find,replace,string,count) parameter description Find required. Specifies the value to find.   Replace required. Specifies the value to replace the value in find.   String required. Specifies t ...

Posted by lazy_yogi on Sat, 11 Apr 2020 11:46:08 +0200

Tron blockchain PHP docking development package [support USDT-TRC20]

The TronTool development package is suitable for rapidly increasing the support ability of Tron/USDT-TRC20 digital assets for PHP applications, that is, it supports the application scenarios using its own Tron blockchain nodes, and also supports the lightweight deployment scenarios based on the official public API services of Tron. Official dow ...

Posted by Calcartman on Thu, 09 Apr 2020 17:42:20 +0200

Linux -- install and configure Android SDK

1. Download Android SDK http://tools.android-studio.org/index.php/sdk/ I downloaded: Android sdk_r24.4.1-linux.tgz 2. Unzip Android SDK Copy the Android sdk_r24.4.1-linux.tgz file to a directory in the Linux file system. My directory is / usr/local/ Execute command decompression: tar -zvxf android-sdk_r24.4.1-linux.tg ...

Posted by Alith7 on Mon, 06 Apr 2020 03:55:11 +0200