Ratchet: Websockets For PHP

Ratchet is a component library for PHP that provides developers with the tools to create real time, bi-directional applications between clients and servers.

Official Words:

WebSockets are a bi-directional, full-duplex, persistent connection from a web browser to a server. Once a WebSocket connection is established the connection stays open until the client or server decides to close this connection. With this open connection, the client or server can send a message at any given time to the other. This makes web programming entirely event driven, not (just) user initiated. It is stateful. As well, at this time, a single running server application is aware of all connections, allowing you to communicate with any number of open connections at any given time.

websockets-for-php

Social Links

It consists of multiple components including:

  • IoServer (the core to handle the events)
  • WsServer (for communicating with W3C WebSocket API)
  • SessionProvider (for handling the sessions)
  • WampServer (provides the RPC and PubSub patterns)
  • FlashPolicy (Flash fallback for unsupported browsers)
  • IpBlackList (prevent any IPs from opening connections)

Required: PHP
Website: http://socketo.me/
Demo: http://socketo.me/demo
Download: https://github.com/cboden/Ratchet

Advertisements
 
Author:
We hope, We will become the best, creative and inspiring community for web and graphics. Join Us! Can be part of the growing Team. Just write something Creative and Interesting. Click here to become a member.

Comments

No comments yet. Be the first to leave a comment !
Leave a Reply

Copyright © 2017 Design Blog. All Rights Reserved.
Powered by Wordpress.
About Us | Advertise | Write For Us | Contact Us