在PHP中的异步编程列表:Asynchronous PHP
在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

Heiße KI -Werkzeuge

Undresser.AI Undress
KI-gestützte App zum Erstellen realistischer Aktfotos

AI Clothes Remover
Online-KI-Tool zum Entfernen von Kleidung aus Fotos.

Undress AI Tool
Ausziehbilder kostenlos

Clothoff.io
KI-Kleiderentferner

Video Face Swap
Tauschen Sie Gesichter in jedem Video mühelos mit unserem völlig kostenlosen KI-Gesichtstausch-Tool aus!

Heißer Artikel

Heiße Werkzeuge

Notepad++7.3.1
Einfach zu bedienender und kostenloser Code-Editor

SublimeText3 chinesische Version
Chinesische Version, sehr einfach zu bedienen

Senden Sie Studio 13.0.1
Leistungsstarke integrierte PHP-Entwicklungsumgebung

Dreamweaver CS6
Visuelle Webentwicklungstools

SublimeText3 Mac-Version
Codebearbeitungssoftware auf Gottesniveau (SublimeText3)

Heiße Themen





Alipay PHP ...

JWT ist ein offener Standard, der auf JSON basiert und zur sicheren Übertragung von Informationen zwischen Parteien verwendet wird, hauptsächlich für die Identitätsauthentifizierung und den Informationsaustausch. 1. JWT besteht aus drei Teilen: Header, Nutzlast und Signatur. 2. Das Arbeitsprinzip von JWT enthält drei Schritte: Generierung von JWT, Überprüfung von JWT und Parsingnayload. 3. Bei Verwendung von JWT zur Authentifizierung in PHP kann JWT generiert und überprüft werden, und die Funktionen und Berechtigungsinformationen der Benutzer können in die erweiterte Verwendung aufgenommen werden. 4. Häufige Fehler sind Signaturüberprüfungsfehler, Token -Ablauf und übergroße Nutzlast. Zu Debugging -Fähigkeiten gehört die Verwendung von Debugging -Tools und Protokollierung. 5. Leistungsoptimierung und Best Practices umfassen die Verwendung geeigneter Signaturalgorithmen, das Einstellen von Gültigkeitsperioden angemessen.

Die Hijacking der Sitzung kann in den folgenden Schritten erreicht werden: 1. Erhalten Sie die Sitzungs -ID, 2. Verwenden Sie die Sitzungs -ID, 3. Halten Sie die Sitzung aktiv. Zu den Methoden zur Verhinderung der Sitzung der Sitzung in PHP gehören: 1. Verwenden Sie die Funktion Session_regenerate_id (), um die Sitzungs -ID zu regenerieren. 2. Store -Sitzungsdaten über die Datenbank, 3. Stellen Sie sicher, dass alle Sitzungsdaten über HTTPS übertragen werden.

Die Anwendung des soliden Prinzips in der PHP -Entwicklung umfasst: 1. Prinzip der Einzelverantwortung (SRP): Jede Klasse ist nur für eine Funktion verantwortlich. 2. Open and Close Principle (OCP): Änderungen werden eher durch Erweiterung als durch Modifikation erreicht. 3.. Lischs Substitutionsprinzip (LSP): Unterklassen können Basisklassen ersetzen, ohne die Programmgenauigkeit zu beeinträchtigen. 4. Schnittstellen-Isolationsprinzip (ISP): Verwenden Sie feinkörnige Schnittstellen, um Abhängigkeiten und nicht verwendete Methoden zu vermeiden. 5. Abhängigkeitsinversionsprinzip (DIP): Hoch- und niedrige Module beruhen auf der Abstraktion und werden durch Abhängigkeitsinjektion implementiert.

So setzen Sie die Berechtigungen von Unixsocket automatisch nach dem Neustart des Systems. Jedes Mal, wenn das System neu startet, müssen wir den folgenden Befehl ausführen, um die Berechtigungen von Unixsocket: sudo ...

Wie debugge ich den CLI -Modus in PhpStorm? Bei der Entwicklung mit PHPSTORM müssen wir manchmal den PHP im CLI -Modus (COMS -Zeilenschnittstellen) debuggen ...

Statische Bindung (statisch: :) implementiert die späte statische Bindung (LSB) in PHP, sodass das Aufrufen von Klassen in statischen Kontexten anstatt Klassen zu definieren. 1) Der Analyseprozess wird zur Laufzeit durchgeführt.

Senden von JSON -Daten mithilfe der Curl -Bibliothek von PHP in der PHP -Entwicklung müssen häufig mit externen APIs interagieren. Eine der gängigen Möglichkeiten besteht darin, die Curl Library zu verwenden, um Post � ...
