Tag:easyswoole

  • Easywoole one click installation script and pagoda installation error

    Time:2021-7-2

    common problem In the new contact with easywoole PHPer, we often encounter the following problems The installation steps are troublesome It is easy to make mistakes in the integrated environment such as pagoda I will install it myself, but do you have one key? Start creating I am a member of easywoole development team. For […]

  • Swoole hard to get started? Start with easysoole

    Time:2020-1-28

    Preface My whole life’s articles will be put here, my blog, I hope every line of code, every paragraph of text can help you. https://github.com/CrazyCodes… Hello, I’m crazy codes. I haven’t disappeared. I’m preparing for the exam recently, so the article is slow. Please forgive me Some children’s shoes feel that they don’t know how […]

  • Easyswoole redis collaboration client Publishing

    Time:2019-12-9

    Easysoole redis collaboration client Publishing Many people may ask, isn’t swoole a redis client with its own collaboration? The answer is yes, thanks to the hard work of the swoole development team for developing the redis client for us. However, in production, we found some problems. The redis client of swoole does not fully support […]

  • Easysoole framework access to hyperfcommand

    Time:2019-12-3

    Warehouse address Try easysoole custom commands create a file <?php declare(strict_types=1); namespace App\Command; use EasySwoole\EasySwoole\Command\CommandInterface; class DemoCommand implements CommandInterface { public function commandName(): string { return ‘demo:command’; } public function exec(array $args): ?string { var_dump(‘Hello World’); return ‘success’; } public function help(array $args): ?string { return ‘help’; } } Function $ php easyswoole ______ _____ […]

  • Easysoole ORM release

    Time:2019-11-30

    EASYSWOOLE-ORM As we all know, many traditional components cannot be used in swoole because swoole runs in a memory resident + CO programming environment, because the design of these components is notCo operative securityOf For example, famousthink-ormMany static variables are used. If they are used in the swoole process and resident memory, it is easy […]

  • Easysoole words match component Publishing

    Time:2019-11-28

    The words match component is based on the dictionary tree (DFA) and is realized by using the unixsock communication and custom process. The purpose of developing this component is to help the partners quickly deploy keyword detection services, which is very important for content-based products. Usage scenariosAll products related to text content can be used, […]

  • Swoole4. X explores the implementation of multiprocess TCP protocol service

    Time:2019-10-30

    Students who have studied the workman framework will find that the core of workman is to use PHP socket expansion plus pcntl expansion to realize its underlying network services and multi process scheduling. Let’s discuss how to use the coroutinesocket module of swoole to implement our own TCP services.Let’s write a small piece of test […]

  • The implementation of multiprocess TCP protocol service explored by swoole4. X

    Time:2019-10-21

    Students who have studied the workman framework will find that the core of workman is to use PHP socket expansion plus pcntl expansion to realize its underlying network services and multi process scheduling. Let’s discuss how to use the coroutinesocket module of swoole to implement our own TCP services.Let’s write a small piece of test […]

  • Actor concurrency model of PHP Internet of things development tool

    Time:2019-10-20

    Is PHP not suitable for Internet of things server? In the traditional thinking, you are often told that PHP is not suitable for Internet of things server. You need to change Java, node, go and other languages. Yes, it’s true that PHP in the traditional sense is very difficult to be Internet of things server, […]

  • Swoole 4.x Coprocess Variable Access Security and Implementation of Coprocess Connection Pool

    Time:2019-10-8

    Access security issues Why do we have access to security? Traditionally, in PHP environments, few Phper encounters so-called variable security access problems. For example, the code is roughly as follows: class db { protected static $instance; protected $dbCon; function __construct() { /* * Here we use stdClass to simulate a database connection */ $this->dbCon = […]

  • Actor concurrency model for developing sharp tools of PHP Internet of Things

    Time:2019-10-5

    Is PHP not suitable for Internet of Things service? In traditional thinking, people often tell you that PHP is not suitable for Internet of Things server, let you change java, node, go and other languages, yes, the traditional sense of php, it is really difficult to do Internet of Things server, because it is too […]

  • Why did I unconsciously open source?

    Time:2019-9-12

    After several years of php, I was bored and suddenly wanted to record how I got on the road of open source. Contact Swoole First contact with swoole, swoole at that time, or version 1.6.7. In order to achieve a more precise and controllable crawler than the curlMulti that comes with php, I focused on […]