Autobahn 0.8.10

#1

Hi,

I've just pushed a new release of AutobahnPython : 0.8.10.

https://pypi.python.org/pypi/autobahn

Besides a couple of fixes, this contains preliminary release of 3 new WAMP features!

Cheers
/Tobias

AutobahnPython 0.8.10 - New WAMP features:

1) Application

Thanks to Sam, we now have a new, Flask-esque API to WAMP:

https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app

I really like this new, alternative API - it's nicely clean, and for anyone ever exposed to Flask: you'll feel right at home.

Note: a couple of things need to be hashed out still and it needs documentation, tests and interfaces, but I wanted it to get into trunk very early on for people to try out and improve.

2) Authentication

The following authentication methods for WAMP with examples:

- Challenge-response
- TOTP ("Google Authenticator" and the like)
- Ticket

https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/wampcra
https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/otp
https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/ticket

3) Long-poll Transport

WAMP running over HTTP long-poll based transport - for supporting old browsers lacking WebSocket.

https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll

Note 2+3): These require AutobahnJS trunk currently - we'll soon release a new AutobahnJS too.

0 Likes

#2

Oh, you released it already ?

Great, I can communicate on it then :slight_smile:

Let me know when you have added the interface, I’ll will proceed with unit tests, and asyncio/trollus implementations, then a bit more doc.

···

On Wednesday, June 25, 2014 7:54:28 AM UTC+7, Tobias Oberstein wrote:

Hi,

I’ve just pushed a new release of AutobahnPython : 0.8.10.

https://pypi.python.org/pypi/autobahn

Besides a couple of fixes, this contains preliminary release of 3 new
WAMP features!

Cheers

/Tobias

AutobahnPython 0.8.10 - New WAMP features:

  1. Application

Thanks to Sam, we now have a new, Flask-esque API to WAMP:

https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app

I really like this new, alternative API - it’s nicely clean, and for
anyone ever exposed to Flask: you’ll feel right at home.

Note: a couple of things need to be hashed out still and it needs
documentation, tests and interfaces, but I wanted it to get into trunk
very early on for people to try out and improve.

  1. Authentication

The following authentication methods for WAMP with examples:

  • Challenge-response

  • TOTP (“Google Authenticator” and the like)

  • Ticket

https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/wampcra

https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/otp

https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/ticket

  1. Long-poll Transport

WAMP running over HTTP long-poll based transport - for supporting old
browsers lacking WebSocket.

https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll

Note 2+3): These require AutobahnJS trunk currently - we’ll soon release
a new AutobahnJS too.

0 Likes

#3

I made a giant tutorial about it :

http://sametmax.com/introduction-a-wamp-en-python/

If you could host the demo, it would be great. Right now I got only screenshots, and I don’t want to setup a server just for that.

···

On Wednesday, June 25, 2014 7:54:28 AM UTC+7, Tobias Oberstein wrote:

Hi,

I’ve just pushed a new release of AutobahnPython : 0.8.10.

https://pypi.python.org/pypi/autobahn

Besides a couple of fixes, this contains preliminary release of 3 new
WAMP features!

Cheers

/Tobias

AutobahnPython 0.8.10 - New WAMP features:

  1. Application

Thanks to Sam, we now have a new, Flask-esque API to WAMP:

https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app

I really like this new, alternative API - it’s nicely clean, and for
anyone ever exposed to Flask: you’ll feel right at home.

Note: a couple of things need to be hashed out still and it needs
documentation, tests and interfaces, but I wanted it to get into trunk
very early on for people to try out and improve.

  1. Authentication

The following authentication methods for WAMP with examples:

  • Challenge-response

  • TOTP (“Google Authenticator” and the like)

  • Ticket

https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/wampcra

https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/otp

https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/ticket

  1. Long-poll Transport

WAMP running over HTTP long-poll based transport - for supporting old
browsers lacking WebSocket.

https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll

Note 2+3): These require AutobahnJS trunk currently - we’ll soon release
a new AutobahnJS too.

0 Likes

#4

Hi Michel,

I made a giant tutorial about it :

http://sametmax.com/introduction-a-wamp-en-python/

Awesome! That is nice and approachable for the beginner.

Rgd

"""
No, the real limit is still the youth project: no autoreload for the server (super annoying having to do it manually every time you change the code) and server-side errors in the read JS console, not in the terminal from which you started the server.
"""
https://github.com/crossbario/crossbar/issues/85

I agree. The bits for this stuff are basically there .. needs to be polished up.

If you could host the demo, it would be great. Right now I got only
screenshots, and I don't want to setup a server just for that.

Of course. We can host it together with the other demos on demo.crossbar.io

There are some smallish things for this to work:

https://github.com/sametmax/codes-des-articles/pull/3

This also add a Crossbar config to run this thing locally.

Cheers,
/Tobias

···

Am 26.06.2014 09:36, schrieb Michel Desmoulin:

On Wednesday, June 25, 2014 7:54:28 AM UTC+7, Tobias Oberstein wrote:

    Hi,

    I've just pushed a new release of AutobahnPython : 0.8.10.

    https://pypi.python.org/pypi/autobahn
    <https://pypi.python.org/pypi/autobahn>

    Besides a couple of fixes, this contains preliminary release of 3 new
    WAMP features!

    Cheers
    /Tobias

    AutobahnPython 0.8.10 - New WAMP features:

    1) Application

    Thanks to Sam, we now have a new, Flask-esque API to WAMP:

    https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app
    <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app>

    I really like this new, alternative API - it's nicely clean, and for
    anyone ever exposed to Flask: you'll feel right at home.

    Note: a couple of things need to be hashed out still and it needs
    documentation, tests and interfaces, but I wanted it to get into trunk
    very early on for people to try out and improve.

    2) Authentication

    The following authentication methods for WAMP with examples:

    - Challenge-response
    - TOTP ("Google Authenticator" and the like)
    - Ticket

    https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/wampcra
    <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/wampcra>

    https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/otp
    <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/otp>

    https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/ticket
    <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/ticket>

    3) Long-poll Transport

    WAMP running over HTTP long-poll based transport - for supporting old
    browsers lacking WebSocket.

    https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll
    <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll>

    Note 2+3): These require AutobahnJS trunk currently - we'll soon
    release
    a new AutobahnJS too.

--
You received this message because you are subscribed to the Google
Groups "Autobahn" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to autobahnws+...@googlegroups.com
<mailto:autobahnws+...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

0 Likes

#5

Do you want me to translate the article so you can publish it on tavendo’s blog ?

···

On Thursday, June 26, 2014 5:45:53 PM UTC+7, Tobias Oberstein wrote:

Hi Michel,

Am 26.06.2014 09:36, schrieb Michel Desmoulin:

I made a giant tutorial about it :

http://sametmax.com/introduction-a-wamp-en-python/

Awesome! That is nice and approachable for the beginner.

Rgd

“”"

No, the real limit is still the youth project: no autoreload for the
server (super annoying having to do it manually every time you change
the code) and server-side errors in the read JS console, not in the
terminal from which you started the server.

“”"

https://github.com/crossbario/crossbar/issues/85

I agree. The bits for this stuff are basically there … needs to be
polished up.

If you could host the demo, it would be great. Right now I got only

screenshots, and I don’t want to setup a server just for that.

Of course. We can host it together with the other demos on demo.crossbar.io

There are some smallish things for this to work:

https://github.com/sametmax/codes-des-articles/pull/3

This also add a Crossbar config to run this thing locally.

Cheers,

/Tobias

On Wednesday, June 25, 2014 7:54:28 AM UTC+7, Tobias Oberstein wrote:

Hi,
I've just pushed a new release of AutobahnPython : 0.8.10.
[https://pypi.python.org/pypi/autobahn](https://pypi.python.org/pypi/autobahn)
<[https://pypi.python.org/pypi/autobahn](https://pypi.python.org/pypi/autobahn)>
Besides a couple of fixes, this contains preliminary release of 3 new
WAMP features!
Cheers
/Tobias
AutobahnPython 0.8.10 - New WAMP features:
1) Application
Thanks to Sam, we now have a new, Flask-esque API to WAMP:
[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app)
<[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app)>
I really like this new, alternative API - it's nicely clean, and for
anyone ever exposed to Flask: you'll feel right at home.
Note: a couple of things need to be hashed out still and it needs
documentation, tests and interfaces, but I wanted it to get into trunk
very early on for people to try out and improve.
2) Authentication
The following authentication methods for WAMP with examples:
- Challenge-response
- TOTP ("Google Authenticator" and the like)
- Ticket
[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/wampcra](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/wampcra)
<[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/wampcra](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/wampcra)>
[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/otp](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/otp)
<[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/otp](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/otp)>
[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/ticket](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/ticket)
<[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/ticket](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/ticket)>
3) Long-poll Transport
WAMP running over HTTP long-poll based transport - for supporting old
browsers lacking WebSocket.
[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll)
<[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll)>
Note 2+3): These require AutobahnJS trunk currently - we'll soon
release
a new AutobahnJS too.

You received this message because you are subscribed to the Google

Groups “Autobahn” group.

To unsubscribe from this group and stop receiving emails from it, send

an email to autobahnws+...@googlegroups.com

mailto:autobahnws+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

0 Likes

#6

Hi Michel, that would of course be even more awesome! And cross linking over the sites…

A “rough” translation would be fine as Alex can do some language fine tuning after …

Cheers,

Tobias

Ps: I’ ll probably be around again only tomorrow … football! Hope I am able to operate the brain organ after today’s drinking game;)

···

Sent from Mobile (Google Nexus 5)

Am 26.06.2014 17:00 schrieb “Michel Desmoulin” desmoul...@gmail.com:

Do you want me to translate the article so you can publish it on tavendo’s blog ?

On Thursday, June 26, 2014 5:45:53 PM UTC+7, Tobias Oberstein wrote:

Hi Michel,

Am 26.06.2014 09:36, schrieb Michel Desmoulin:

I made a giant tutorial about it :

http://sametmax.com/introduction-a-wamp-en-python/

Awesome! That is nice and approachable for the beginner.

Rgd

“”"

No, the real limit is still the youth project: no autoreload for the
server (super annoying having to do it manually every time you change
the code) and server-side errors in the read JS console, not in the
terminal from which you started the server.

“”"

https://github.com/crossbario/crossbar/issues/85

I agree. The bits for this stuff are basically there … needs to be
polished up.

If you could host the demo, it would be great. Right now I got only

screenshots, and I don’t want to setup a server just for that.

Of course. We can host it together with the other demos on demo.crossbar.io

There are some smallish things for this to work:

https://github.com/sametmax/codes-des-articles/pull/3

This also add a Crossbar config to run this thing locally.

Cheers,

/Tobias

On Wednesday, June 25, 2014 7:54:28 AM UTC+7, Tobias Oberstein wrote:

Hi,
I've just pushed a new release of AutobahnPython : 0.8.10.
[https://pypi.python.org/pypi/autobahn](https://pypi.python.org/pypi/autobahn)
<[https://pypi.python.org/pypi/autobahn](https://pypi.python.org/pypi/autobahn)>
Besides a couple of fixes, this contains preliminary release of 3 new
WAMP features!
Cheers
/Tobias
AutobahnPython 0.8.10 - New WAMP features:
1) Application
Thanks to Sam, we now have a new, Flask-esque API to WAMP:
[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app)
<[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app)>
I really like this new, alternative API - it's nicely clean, and for
anyone ever exposed to Flask: you'll feel right at home.
Note: a couple of things need to be hashed out still and it needs
documentation, tests and interfaces, but I wanted it to get into trunk
very early on for people to try out and improve.
2) Authentication
The following authentication methods for WAMP with examples:
- Challenge-response
- TOTP ("Google Authenticator" and the like)
- Ticket
[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/wampcra](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/wampcra)
<[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/wampcra](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/wampcra)>
[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/otp](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/otp)
<[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/otp](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/otp)>
[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/ticket](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/ticket)
<[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/ticket](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/ticket)>
3) Long-poll Transport
WAMP running over HTTP long-poll based transport - for supporting old
browsers lacking WebSocket.
[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll)
<[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll)>
Note 2+3): These require AutobahnJS trunk currently - we'll soon
release
a new AutobahnJS too.

You received this message because you are subscribed to the Google

Groups “Autobahn” group.

To unsubscribe from this group and stop receiving emails from it, send

an email to autobahnws+...@googlegroups.com

mailto:autobahnws+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Autobahn” group.

To unsubscribe from this group and stop receiving emails from it, send an email to autobahnws+...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

0 Likes

#7

:slight_smile:

···

On Thursday, June 26, 2014 10:06:41 PM UTC+7, Tobias Oberstein wrote:

Hi Michel, that would of course be even more awesome! And cross linking over the sites…

A “rough” translation would be fine as Alex can do some language fine tuning after …

Cheers,

Tobias

Ps: I’ ll probably be around again only tomorrow … football! Hope I am able to operate the brain organ after today’s drinking game;)

Sent from Mobile (Google Nexus 5)

Am 26.06.2014 17:00 schrieb “Michel Desmoulin” desmo...@gmail.com:

Do you want me to translate the article so you can publish it on tavendo’s blog ?

On Thursday, June 26, 2014 5:45:53 PM UTC+7, Tobias Oberstein wrote:

Hi Michel,

Am 26.06.2014 09:36, schrieb Michel Desmoulin:

I made a giant tutorial about it :

http://sametmax.com/introduction-a-wamp-en-python/

Awesome! That is nice and approachable for the beginner.

Rgd

“”"

No, the real limit is still the youth project: no autoreload for the
server (super annoying having to do it manually every time you change
the code) and server-side errors in the read JS console, not in the
terminal from which you started the server.

“”"

https://github.com/crossbario/crossbar/issues/85

I agree. The bits for this stuff are basically there … needs to be
polished up.

If you could host the demo, it would be great. Right now I got only

screenshots, and I don’t want to setup a server just for that.

Of course. We can host it together with the other demos on demo.crossbar.io

There are some smallish things for this to work:

https://github.com/sametmax/codes-des-articles/pull/3

This also add a Crossbar config to run this thing locally.

Cheers,

/Tobias

On Wednesday, June 25, 2014 7:54:28 AM UTC+7, Tobias Oberstein wrote:

Hi,
I've just pushed a new release of AutobahnPython : 0.8.10.
[https://pypi.python.org/pypi/autobahn](https://pypi.python.org/pypi/autobahn)
<[https://pypi.python.org/pypi/autobahn](https://pypi.python.org/pypi/autobahn)>
Besides a couple of fixes, this contains preliminary release of 3 new
WAMP features!
Cheers
/Tobias
AutobahnPython 0.8.10 - New WAMP features:
1) Application
Thanks to Sam, we now have a new, Flask-esque API to WAMP:
[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app)
<[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app)>
I really like this new, alternative API - it's nicely clean, and for
anyone ever exposed to Flask: you'll feel right at home.
Note: a couple of things need to be hashed out still and it needs
documentation, tests and interfaces, but I wanted it to get into trunk
very early on for people to try out and improve.
2) Authentication
The following authentication methods for WAMP with examples:
- Challenge-response
- TOTP ("Google Authenticator" and the like)
- Ticket
[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/wampcra](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/wampcra)
<[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/wampcra](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/wampcra)>
[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/otp](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/otp)
<[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/otp](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/otp)>
[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/ticket](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/ticket)
<[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/ticket](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/ticket)>
3) Long-poll Transport
WAMP running over HTTP long-poll based transport - for supporting old
browsers lacking WebSocket.
[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll)
<[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll)>
Note 2+3): These require AutobahnJS trunk currently - we'll soon
release
a new AutobahnJS too.

You received this message because you are subscribed to the Google

Groups “Autobahn” group.

To unsubscribe from this group and stop receiving emails from it, send

an email to autobahnws+...@googlegroups.com

mailto:autobahnws+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Autobahn” group.

To unsubscribe from this group and stop receiving emails from it, send an email to autobahnws+...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

0 Likes

#8

I improved the demo code a little bit by giving the remote a better UI :

  • buttons size is better adjusted
  • clicking gives an immediat feedback instead of waiting for the server response

It gives a much better user experience, you may want to update the live version.

···

On Thursday, June 26, 2014 10:06:41 PM UTC+7, Tobias Oberstein wrote:

Hi Michel, that would of course be even more awesome! And cross linking over the sites…

A “rough” translation would be fine as Alex can do some language fine tuning after …

Cheers,

Tobias

Ps: I’ ll probably be around again only tomorrow … football! Hope I am able to operate the brain organ after today’s drinking game;)

Sent from Mobile (Google Nexus 5)

Am 26.06.2014 17:00 schrieb “Michel Desmoulin” desmo...@gmail.com:

Do you want me to translate the article so you can publish it on tavendo’s blog ?

On Thursday, June 26, 2014 5:45:53 PM UTC+7, Tobias Oberstein wrote:

Hi Michel,

Am 26.06.2014 09:36, schrieb Michel Desmoulin:

I made a giant tutorial about it :

http://sametmax.com/introduction-a-wamp-en-python/

Awesome! That is nice and approachable for the beginner.

Rgd

“”"

No, the real limit is still the youth project: no autoreload for the
server (super annoying having to do it manually every time you change
the code) and server-side errors in the read JS console, not in the
terminal from which you started the server.

“”"

https://github.com/crossbario/crossbar/issues/85

I agree. The bits for this stuff are basically there … needs to be
polished up.

If you could host the demo, it would be great. Right now I got only

screenshots, and I don’t want to setup a server just for that.

Of course. We can host it together with the other demos on demo.crossbar.io

There are some smallish things for this to work:

https://github.com/sametmax/codes-des-articles/pull/3

This also add a Crossbar config to run this thing locally.

Cheers,

/Tobias

On Wednesday, June 25, 2014 7:54:28 AM UTC+7, Tobias Oberstein wrote:

Hi,
I've just pushed a new release of AutobahnPython : 0.8.10.
[https://pypi.python.org/pypi/autobahn](https://pypi.python.org/pypi/autobahn)
<[https://pypi.python.org/pypi/autobahn](https://pypi.python.org/pypi/autobahn)>
Besides a couple of fixes, this contains preliminary release of 3 new
WAMP features!
Cheers
/Tobias
AutobahnPython 0.8.10 - New WAMP features:
1) Application
Thanks to Sam, we now have a new, Flask-esque API to WAMP:
[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app)
<[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/app)>
I really like this new, alternative API - it's nicely clean, and for
anyone ever exposed to Flask: you'll feel right at home.
Note: a couple of things need to be hashed out still and it needs
documentation, tests and interfaces, but I wanted it to get into trunk
very early on for people to try out and improve.
2) Authentication
The following authentication methods for WAMP with examples:
- Challenge-response
- TOTP ("Google Authenticator" and the like)
- Ticket
[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/wampcra](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/wampcra)
<[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/wampcra](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/wampcra)>
[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/otp](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/otp)
<[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/otp](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/otp)>
[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/ticket](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/ticket)
<[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/ticket](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/auth/ticket)>
3) Long-poll Transport
WAMP running over HTTP long-poll based transport - for supporting old
browsers lacking WebSocket.
[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll)
<[https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll](https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/longpoll)>
Note 2+3): These require AutobahnJS trunk currently - we'll soon
release
a new AutobahnJS too.

You received this message because you are subscribed to the Google

Groups “Autobahn” group.

To unsubscribe from this group and stop receiving emails from it, send

an email to autobahnws+...@googlegroups.com

mailto:autobahnws+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Autobahn” group.

To unsubscribe from this group and stop receiving emails from it, send an email to autobahnws+...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

0 Likes

#9

Done.

···

Am 27.06.2014 04:54, schrieb Michel Desmoulin:

I improved the demo code a little bit by giving the remote a better UI :

- buttons size is better adjusted
- clicking gives an immediat feedback instead of waiting for the server
response

It gives a much better user experience, you may want to update the live
version.

0 Likes

#10

Doh! This tutorial release was a total failure. With django 1.7rc release next to it, nobody cared a bit.

Anyway, the crossbar article still have some traffic, so maybe you’ll wamp to edit its conclusion and add a link to the tutorial article.

···

On Friday, June 27, 2014 6:49:21 PM UTC+7, Tobias Oberstein wrote:

Am 27.06.2014 04:54, schrieb Michel Desmoulin:

I improved the demo code a little bit by giving the remote a better UI :

  • buttons size is better adjusted
  • clicking gives an immediat feedback instead of waiting for the server

response

It gives a much better user experience, you may want to update the live

version.

Done.

0 Likes

#11

Doh! This tutorial release was a total failure. With django 1.7rc
release next to it, nobody cared a bit.

It's indeed puzzling that the new tutorial post only drew a fraction of the attention compared to your other one of Crossbar in general. What is the magic ingredient of the latter? Mmh.

Anyway, the crossbar article still have some traffic, so maybe you'll
wamp to edit its conclusion and add a link to the tutorial article.

Good idea. I cross linked the articles.

···

Am 29.06.2014 05:34, schrieb Michel Desmoulin:

On Friday, June 27, 2014 6:49:21 PM UTC+7, Tobias Oberstein wrote:

    Am 27.06.2014 04:54, schrieb Michel Desmoulin:
     > I improved the demo code a little bit by giving the remote a
    better UI :
     >
     > - buttons size is better adjusted
     > - clicking gives an immediat feedback instead of waiting for the
    server
     > response
     >
     > It gives a much better user experience, you may want to update
    the live
     > version.

    Done.

--
You received this message because you are subscribed to the Google
Groups "Autobahn" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to autobahnws+...@googlegroups.com
<mailto:autobahnws+...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

0 Likes