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.
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.