Giter Club home page Giter Club logo

wamp-playground's Introduction

Exploring Web Application Messaging Protocol

Repository to explore the power of WAMP using autobahn.

While struggling to understand the need for WAMP's I stumbled upon this resource which provides a good inuition for the need for the protocol. This was quite informative too.

We needed to implement a real time communication channel in one of our projects, Websockets was the obvious choice. But websockets operate at a low level, and WAMP offers traditional RPC style communication and Publish Subcribe model of communication with a unified interface which is quite impressive. So all the components in a system can be treated as symmetric. In our case this meant that the RPC abstraction provided by WAMP could enable our Server(in traditional sense) code invoke a client procedure which was not possible in the traditonal RPC.

Installation

pip install -r requirements.txt

WAMP is built on top of websockets, so it helps to have a reasonable understanding of websockets. Have included a few example programs of the same. The examples are not my own, I have taken them from the official repository.

Since it involves a fair bit of event driven programming paradigm, I have included a couple of examples of using Twisted also taken from here which demonstrates the usage of Deferred and inlineCallbacks.

wamp would contain examples of using wamp.

wamp-playground's People

Contributors

varun93 avatar

Stargazers

 avatar

Watchers

 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.