Hi Jimmy,
Am 12.01.2015 um 19:38 schrieb Jimmy Jia:
> Hi,
>
> I'm interested in the use case of building a publicly facing multi-user
> web application, with support for synchronization of models in real time
> between the client and the server, with per-user ownership of objects in
> the database. Essentially, this would be the real-time equivalent of an
> app built with Django + Django Rest Framework + django-guardian,
> exposing an real-time API over WAMP rather a REST API over HTTP.
>
> One example of a framework that makes it relatively easy to do such a
> thing is Meteor, see e.g. their (old) screencast for building a party
Meteor is different from WAMP as the core abstraction exposed to apps
are synchronized datasets, whereas in WAMP it is RPC + PubSub.
You can build the former on top of the latter in a natural way. The
other direction is not possible, or at least would be extremely hacky.
> planning app:
https://www.youtube.com/watch?v=cSnANePlEjg (~10 minutes).
> Semantically this is not much more than just "TodoMVC with auth", if
> you're familiar with that example.
>
> There are a couple of other Python-based packages that offer similar
> support, such as SwampDragon and webalchemy, but they're both somewhat
> questionable for various purposes, and don't give me the same
> flexibility that WAMP does. There's bits and pieces of this in the
> Crossbar roadmap with things like database integration. Other parts like
> user auth seem like they're deliberately set up as pluggable modules.
Yes, authentication and authorization: Crossbar.io provides the
frameworks, but specific stuff is done in components - just regular WAMP
components _used_ for the AA purpose.
>
> In general, does this seem like the sort of application that would make
> sense to build on top of Crossbar? Which parts of this kind of
> functionality are intended as part of Crossbar, while which should
> happen in a library built on top of it?
If you want something Meteor like (synchronized datasets), I guess this
is pretty straighforward on top of Crossbar.io - means, synchronized
dataset is not something we want to provide in Crossbar.io itself. So
yes: library/framework on top of Crossbar.io.
Cheers,
/Tobias
>
> Thanks,
> Jimmy Jia
>
> --
> 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>.
> To post to this group, send email to
autob...@googlegroups.com
> <mailto:
autob...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/autobahnws/aa6d295e-bc6e-4c86-88cd-ff1fade177db%40googlegroups.com
> <
https://groups.google.com/d/msgid/autobahnws/aa6d295e-bc6e-4c86-88cd-ff1fade177db%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit
https://groups.google.com/d/optout.