Code Monkey home page Code Monkey logo

ratchet-examples's Introduction

Installation

If you'll be running the website IRC chat demo make sure to run composer with dev mode:

composer.phar install --dev

bin/

Run scripts in here to launch you socket server.

src/

PSR classes. These are the logic of applications. The Tutorial folder contains example applications found on http://socketo.me and the Cookbook has useful middleware classes (such as a logger).

webpages/

HTML/Javascript pages to interact with a running Ratchet server using the WebSocketComponent. (coming soon)


Vendor Support

Ratchet Examples comes with a lot of composer dependencies. Here is a list of what each one's purpose is:

AutobahnJS

AutobahnJS is the JavaScript library to be used in conjunction with the WAMPServerComponent. It provides an Pub/Sub and RPC sub-protocol on top of WebSockets.

When

When is a JavaScript library required by AutobahnJS for deferred calls.

web-socket-js

A Flash polyfill for WebSockets. Drop this in and if WebSockets aren't supported by the user's browser this library uses Flash to make the browser talk with your Ratchet app. Make sure, if using this library, to run a second Ratchet application using the FlashPolicyComponent. Flash Sockets, before communicating in WebSockets, need pre-authorization.

Monolog

Monolog is an feature rich, abstract logging library for PHP. It is used in one of the Cookbook source code examples.

Guzzle

Guzzle is a PHP library meant for abstracting cURL calls and working with RESTful APIs...Ratchet requires Guzzle to act as its HTTP server!

Ratchet

Build your PHP WebSocket library!

ratchet-examples's People

Contributors

cboden avatar cballou avatar edorian avatar

Watchers

James Cloos avatar Cel Ticó Petit avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.