Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
php:non-block [2017/03/22 20:43] – [Servers] mirocowphp:non-block [2017/06/12 15:00] (текущий) – [AMPHP] mirocow
Строка 1: Строка 1:
-{{tag>php nonblock react}}+{{tag>non-blocking php nonblock react}}
  
 ====== Event-driven, non-blocking I/O with PHP ====== ====== Event-driven, non-blocking I/O with PHP ======
Строка 5: Строка 5:
 The event loop is based on the reactor pattern (hence the name) and strongly inspired by libraries such as EventMachine (Ruby), Twisted (Python) and Node.js (V8). The event loop is based on the reactor pattern (hence the name) and strongly inspired by libraries such as EventMachine (Ruby), Twisted (Python) and Node.js (V8).
  
-===== Servers =====+===== Репозитории =====
  
-  * https://github.com/reactphp/react +==== ReactPHP ====
-  * https://github.com/ratchetphp/Ratchet +
-  * https://github.com/walkor/Workerman ([[http://www.workerman.net/|Примеры]], [[http://wiki.workerman.net/Workerman_documentation|Документация]]) +
-    * https://github.com/walkor/phpsocket.io+
  
-==== Примеры ====+http://reactphp.org/
  
-=== Игры ===+ReactPHP is a low-level library for event-driven programming in PHP. At its core is an event loop, on top of which it provides low-level utilities, such as: Streams abstraction, async dns resolver, network client/server, http client/server, interaction with processes. Third-party libraries can use these components to create async network clients/servers and more.
  
-  * https://github.com/walkor/BrowserQuest-PHP +  * https://github.com/reactphp 
-  * https://github.com/walkor/workerman-todpole+    * [[https://github.com/reactphp/react|Event-driven, non-blocking I/O with PHP, formerly known as "Nuclear Reactor written in PHP"]] 
 +    [[https://github.com/reactphp/stream|stream]] 
 +    * [[https://github.com/reactphp/event-loop|ReactPHP's core reactor event-loop.]] 
 +    * [[https://github.com/reactphp/socket|Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP]] 
 +    * [[https://github.com/reactphp/promise|Promises/A implementation for PHP.]] 
 +    * [[https://github.com/reactphp/datagram|UDP client and server sockets for ReactPHP.]]
  
-=== Чат ===+==== AMPHP ====
  
-  * +Amp is a non-blocking concurrency framework for PHP applications.
  
-=== Консоль ===+http://amphp.org/
  
-  *  +  * https://github.com/amphp 
-  * https://github.com/chjj/term.js +    [[https://github.com/amphp/amp|A non-blocking concurrency framework for PHP applications]] 
-  * https://github.com/walkor/workerman-vmstat +    * [[https://github.com/amphp/mysql|An async mysql client built on the amp concurrency framework]] 
-  * https://github.com/walkor/phptty+    [[https://github.com/amphp/aerys|A non-blocking HTTP application, WebSocket and file server.]] 
 +    [[https://github.com/amphp/redis|Async Redis client built on the amp concurrency framework]] 
 +    * [[https://github.com/amphp/artax|An async HTTP/1.1 client built on the amp concurrency framework]] 
 +    * [[https://github.com/amphp/parallel|Parallel Processing for Amp]] 
 +    * [[https://github.com/amphp/file|An async filesystem library built on the amp concurrency framework]] 
 +    * [[https://github.com/amphp/cache|A promise-aware caching API built on the amp concurrency framework]]
  
-==== Yii2 ==== 
- 
-  * https://github.com/myweishanli/yii2-workerman 
-===== Клиент / Client ===== 
- 
-  * https://github.com/thirtysixthspan/waterunderice 
-  * https://github.com/vincentdieltiens/WebSocketFileTransfer 
-  * https://github.com/walkor/GatewayClient