Table of Contents
Concepts
Asynchronous
Blocking
Concurrency
Coroutines
Events
Multitasking
Observables
Promises
Reactive Programming
Threads
Projects
amphp
Async PHP
Icicle
React
Recoil
Repositories
Caching
CLI
Compression
Databases
DNS
Filesystems
GUIs
HTTP
IRC
Messaging
Networking
Sockets and Streams
Web Applications
Web Services
People
Home Backend Development PHP Tutorial 在PHP中的异步编程列表:Asynchronous PHP

在PHP中的异步编程列表:Asynchronous PHP

Jun 23, 2016 pm 01:22 PM

在PHP中的异步编程资源列表。

Concepts

Asynchronous

  • Asynchronous I/O - Wikipedia
  • Async PHP by Christopher Pitt / assertchris

Blocking

  • Blocking (computing) - Wikipedia

Concurrency

  • Concurrency (computer science) - Wikipedia

Coroutines

  • Cooperative multitasking with generators by Christopher Pitt / assertchris
  • Cooperative multitasking using coroutines (in PHP!) by Nikita Popov / nikic
  • Coroutine - Wikipedia

Events

  • Event (computing) - Wikipedia
  • Event-driven programming - Wikipedia
  • Event loop - Wikipedia

Multitasking

  • Computer multitasking - Wikipedia

Observables

  • ReactiveX - Observable
  • RxJS Observables vs Promises

Promises

  • Futures and promises - Wikipedia

Reactive Programming

  • Reactive programming - Wikipedia
  • The introduction to Reactive Programming you've been missing by André Staltz / staltz

Threads

  • Thread (computing) - Wikipedia
  • Thread carefully by Maxime Fabre

Projects

amphp

Asynchronous multitasking PHP

http://amphp.org

@amphp

Async PHP

@asyncphp

Icicle

Asynchronous PHP using promises and coroutines

http://icicle.io

@icicleio

React

Event-driven, non-blocking I/O with PHP

http://reactphp.org

@reactphp

Recoil

Cooperative multitasking for PHP via coroutines

http://recoil.io

@recoilphp

Repositories

Asynchronous

  • asm89/Rx.PHP - Libraries to compose asynchronous and event-based programs using observable collections and LINQ-style query operators
  • clue/php-block-react - Lightweight library that eases integrating async components built for React in a traditional blocking environment
  • icicleio/icicle - Library for writing asynchronous code using synchronous coding techniques

Caching

  • amphp/cache - A promise-aware caching API built on amp
  • amphp/redis - An async redis client built on amp
  • asyncphp/icicle-cache - A simple cache library, built for Icicle, with anti-stampede and promises
  • clue/php-redis-react - Async Redis client implementation built on React
  • clue/php-redis-server - A redis server implementation in pure PHP
  • nrk/predis-async - Asynchronous Redis client library built on React
  • reactphp/cache - React async caching

CLI

  • clue/php-bitbake-react - Programmatically control your bitbake build shell built on React
  • clue/php-readline-react - Experimental reactive binding for ext-readline, built on React
  • clue/php-shell-react - Run async commands within any interactive shell command built on React
  • clue/php-stdio-react - Async event-driven and UTF-8 aware standard console input & output for React

Compression

  • clue/php-tar-react - Async streaming parser for the TAR file format built on React
  • clue/php-zlib-react - Streaming zlib compressor and decompressor built on React

Databases

  • amphp/mysql - An async mysql client built on amp
  • amphp/pgsql - A non-blocking PostgreSQL library built on amp
  • recoilphp/database - Asynchronous PDO for Recoil

DNS

  • amphp/dns - Async DNS resolution built on amp
  • clue/php-mdns-react - Simple async multicast DNS (mDNS) resolver built on React
  • icicleio/dns - Asynchronous DNS component for Icicle
  • reactphp/dns - Asynchronous DNS resolver

Events

  • asyncphp/remit - Distributed event emitter
  • icicleio/event-emitter - Library that allows objects to emit events that invoke a set of registered callbacks
  • icicleio/react-adapter - Adapts the event loop and promises of Icicle to interfaces compatible with React
  • recoilphp/event-emitter - A coroutine-based event emitter
  • reactphp/event-loop - React's core reactor event-loop

Filesystems

  • amphp/file - An async filesystem library built on amp
  • icicleio/filesystem - Asynchronous file access for Icicle
  • reactphp/filesystem - Evented filesystem access
  • WyriHaximus/reactphp-filesystem-s3 - AWS S3 adapter for reactphp/filesystem

GUIs

  • clue/php-zenity-react - Build graphical desktop (GUI) applications in PHP

HTTP

  • amphp/artax - An async HTTP/1.1 client built on amp
  • clue/php-buzz-react - Simple async HTTP client for concurrently processing requests built on React
  • icicleio/http - HTTP component for Icicle
  • icicleio/psr7-bridge - PSR-7 Bridge for Icicle HTTP component
  • reactphp/http - React HTTP server
  • reactphp/http-client - Asynchronous HTTP client library
  • WyriHaximus/react-guzzle-psr7 - React HTTP client adapter for Guzzle 6
  • WyriHaximus/ReactGuzzleRing - React HTTP client wrapper for Guzzle 5
  • WyriHaximus/ReactGuzzle - React HTTP client wrapper for Guzzle 4

IRC

  • clue/php-quassel-react - Streaming event-driven access to your Quassel IRC core built on React
  • phergie/phergie-irc-bot-react - IRC bot built on React

Messaging

  • reactphp/stomp - STOMP bindings for React
  • reactphp/zmq - ZeroMQ bindings for React
  • recoilphp/amqp - An asynchronous AMQP client for React and Recoil

Multitasking

  • amphp/amp - A non-blocking concurrency framework for PHP applications
  • amphp/process - An async process dispatcher built on amp
  • amphp/thread - An async multi-threaded task dispatcher built on amp
  • asyncphp/assistant - A neat wrapper around multi-process abstractions and distributed event emitters
  • asyncphp/doorman - Child process management
  • icicleio/concurrent - Concurrency component for Icicle
  • reactphp/child-process - Library for executing child processes
  • recoilphp/recoil - Cooperative multitasking for PHP via coroutines
  • WyriHaximus/reactphp-child-process-messenger - Plain messages and RPC style STDIN/OUT/ERR wrapper around react/child-process
  • WyriHaximus/reactphp-child-process-pool - Pool implementation for WyriHaximus/reactphp-child-process-messenger

Networking

  • clue/php-ami-react - Simple async event-driven access to the Asterisk Manager Interface (AMI) built on React
  • clue/php-icmp-react - Simple async low-level ICMP (ping) messaging library built on React
  • clue/php-multicast-react - Simple multicast UDP messages built on React
  • clue/php-ssdp-react - Async Simple Service Discovery Protocol (SSDP) built on React
  • clue/php-solusvm-api-react - Simple async access to your VPS box through the SolusVM API built on React
  • clue/php-socks-react - Async SOCKS TCP tunnel proxy client and server built on React
  • clue/php-wake-on-lan-react - Turn on your PC with Wake-On-LAN requests via React
  • reactphp/datagram - UDP client and server sockets for React
  • reactphp/whois - Whois client based on React
  • umpirsky/wisdom - Domain availability checker
  • WyriHaximus/PhuninNode - munin-node port aiming to provide application monitoring utilizing munin

Promises

  • guzzle/promises - Promises/A+ library for PHP with synchronous support
  • icicleio/react-adapter - Adapts the event loop and promises of Icicle to interfaces compatible with React
  • reactphp/promise - A lightweight implementation of CommonJS Promises/A for PHP
  • reactphp/promise-timer - Timeout implementation for the React promises library

Sockets and Streams

  • amphp/socket - Non-blocking socket and TLS functionality built on amp
  • clue/php-socket-react - Binding for raw sockets (ext-sockets) in React
  • icicleio/socket - Asynchronous stream socket server and client for Icicle
  • icicleio/stream - Coroutine-based asynchronous stream interfaces for Icicle
  • reactphp/socket - Asynchronous socket server
  • reactphp/socket-client - Async connector to open TCP/IP and SSL/TLS based connections
  • reactphp/stream - Asynchronous OO stream wrapper
  • WyriHaximus/reactphp-psr7-stream-converter - PSR-7 to React stream converter and vice versa

Web Applications

  • amphp/aerys - A non-blocking HTTP application, WebSocket and file server
  • amphp/aerys-session - Session management for Aerys server
  • clue/php-sse-react - Streaming async HTML5 Server-Sent Events server built on React
  • ratchetphp/Pawl - Asynchronous WebSocket client
  • ratchetphp/Ratchet - Asynchronous WebSocket server
  • reactphp/espresso - Proof-of-concept microframework that integrates Silex with React
  • voryx/Thruway - client and router implementation of the Web Application Messaging Protocol built on React

Web Services

  • clue/php-packagist-api-react - Simple async access to packagist.org's API
  • clue/php-viewvc-api-react - Simple async API-like access to your ViewVC web interface built on React
  • clue/php-soap-react - A simple async SOAP webservice client built on React
  • bergie/dnode-php - DNode RPC protocol implementation

People

  • Alexander / asm89 - GitHub
  • Cees-Jan Kiewiet / wyrihaximus - GitHub, Twitter
  • Chris Boden / cboden - GitHub, Twitter
  • Christian Lück / clue - GitHub, Twitter
  • Christopher Pitt / assertchris - GitHub, Twitter, Twitch

项目主页:http://www.open-open.com/lib/view/home/1447990904181

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Apr 05, 2025 am 12:04 AM

JWT is an open standard based on JSON, used to securely transmit information between parties, mainly for identity authentication and information exchange. 1. JWT consists of three parts: Header, Payload and Signature. 2. The working principle of JWT includes three steps: generating JWT, verifying JWT and parsing Payload. 3. When using JWT for authentication in PHP, JWT can be generated and verified, and user role and permission information can be included in advanced usage. 4. Common errors include signature verification failure, token expiration, and payload oversized. Debugging skills include using debugging tools and logging. 5. Performance optimization and best practices include using appropriate signature algorithms, setting validity periods reasonably,

Describe the SOLID principles and how they apply to PHP development. Describe the SOLID principles and how they apply to PHP development. Apr 03, 2025 am 12:04 AM

The application of SOLID principle in PHP development includes: 1. Single responsibility principle (SRP): Each class is responsible for only one function. 2. Open and close principle (OCP): Changes are achieved through extension rather than modification. 3. Lisch's Substitution Principle (LSP): Subclasses can replace base classes without affecting program accuracy. 4. Interface isolation principle (ISP): Use fine-grained interfaces to avoid dependencies and unused methods. 5. Dependency inversion principle (DIP): High and low-level modules rely on abstraction and are implemented through dependency injection.

How to automatically set permissions of unixsocket after system restart? How to automatically set permissions of unixsocket after system restart? Mar 31, 2025 pm 11:54 PM

How to automatically set the permissions of unixsocket after the system restarts. Every time the system restarts, we need to execute the following command to modify the permissions of unixsocket: sudo...

How to debug CLI mode in PHPStorm? How to debug CLI mode in PHPStorm? Apr 01, 2025 pm 02:57 PM

How to debug CLI mode in PHPStorm? When developing with PHPStorm, sometimes we need to debug PHP in command line interface (CLI) mode...

Explain the concept of late static binding in PHP. Explain the concept of late static binding in PHP. Mar 21, 2025 pm 01:33 PM

Article discusses late static binding (LSB) in PHP, introduced in PHP 5.3, allowing runtime resolution of static method calls for more flexible inheritance.Main issue: LSB vs. traditional polymorphism; LSB's practical applications and potential perfo

How to send a POST request containing JSON data using PHP's cURL library? How to send a POST request containing JSON data using PHP's cURL library? Apr 01, 2025 pm 03:12 PM

Sending JSON data using PHP's cURL library In PHP development, it is often necessary to interact with external APIs. One of the common ways is to use cURL library to send POST�...

Explain late static binding in PHP (static::). Explain late static binding in PHP (static::). Apr 03, 2025 am 12:04 AM

Static binding (static::) implements late static binding (LSB) in PHP, allowing calling classes to be referenced in static contexts rather than defining classes. 1) The parsing process is performed at runtime, 2) Look up the call class in the inheritance relationship, 3) It may bring performance overhead.

See all articles