It depends on how you want to use it. If you just simply want external
services to push JSON to the client and then write a whole lot of
javascript to update the DOM then that's fine.
With tapestry-cometd I wanted to the option to write ZERO javascript by
leveraging tapestry component events and t
I've decided to start from scratch since there are lots of concepts to map.
It was pretty trivial to get Tapestry to delegate to the Atmosphere servlet (or
even the MeteorServlet) like tapestry-cometd does. That seems to work really
well, so thanks for that!
Next I wanted to be able to @Inject
Sounds like good advice! I checked out your example implementation so will
play around with it tomorrow. Thanks for all of the effort that you put into
this library.
> Date: Thu, 5 Sep 2013 19:18:11 +0100
> Subject: Re: Tapestry Server Push/Web Socket/Comet implementation
> From
o create a per-member-id topic? At
the very least I imagine needing a per-game topic so that I can have lots of
games running concurrently without having too much dead traffic for each client.
Cheers,
Ben.
> Date: Thu, 5 Sep 2013 13:46:08 +0100
> Subject: RE: Tapestry Server Push/
Note that if you're smart about naming your topics, you can use wildcards.
eg: if user1 subscribes to /games/game1/user1 and user2 subscribes to
/games/game1/user2
you can send a message to both users by publishing to /games/game1/*
or you can send a message to all game users via /games/**
https:
If you need to target individual users then you will definitely need a
topic per user. For game global messages you may decide to use a game
topic, or you probably know the users in a game and just send a message to
each user topic.
Hi Ben,
I'm sure tapestry-cometd can handle this. Just add a PushTarget component
to each user's page providing a "topic" and an "event". Messages are pushed
to the PushTargets via PushManager.broadcast(topic, message). Every message
will fire the component event and will either return a block or
ers,
Ben.
> Date: Wed, 4 Sep 2013 08:43:15 +0100
> Subject: Re: Tapestry Server Push/Web Socket/Comet implementation
> From: lance.j...@googlemail.com
> To: users@tapestry.apache.org
>
> Hi Ben,
>
> Yes, tapestry-cometd is my creation… have you actually given it a go?
>
I haven't done much research into Atmosphere… I found the docs to be quite
cryptic and couldn't quickly find what I wanted.
tapestry-cometd relies on a few concepts, If atmosphere has these same
concepts then the switch will be easy, if not I guess it will be more
difficult.
1. A Push Session - A
Lance,
Interesting timing. I'm now also in need of a push solution. I did try
tapestry-cometd and it is very nice.
As noted, I was wanting to use Atmosphere for the greatly simplified Javascript
support and the support of multiple protocols.
I was thinking about modifying tapestry-cometd to u
On Wed, Sep 4, 2013 at 12:43 AM, Lance Java wrote:
> provide this module myself in the fuure. As with the other tapestry
> comitters, I have a day job and a social life to juggle with contributing
> to open source. For the moment your options are to use tapestry-cometd or
>
I thought this is the
Hi Ben,
Yes, tapestry-cometd is my creation… have you actually given it a go?
Is there something you need it to do that it can't?
I'm interested to hear your use case and if there's something that
tapestry-cometd can't do, I can help you out.
I'll give you a bit of a history lesson on how it evol
Hi Guys,
Is there any plan to bring some kind of Server Push implementation to Tapestry?
I found a comet implementation (by Lance I think?) from a while back but
haven't seen much movement in this area recently.
Cheers,
Ben.
Lance talked about that this very same approach can be used to bind
atmosphere into the picture. This library would provide socket.io support
which others on this list claimed to have used successfully (check the
archive and search for atmosphere).
2013/9/3 Boris Horvat
> I am using it and I ca
I am using it and I can say that it does job pretty well (for me at least -
my requirements are very basic at the moment but it will change eventually
I guess)
On Tue, Sep 3, 2013 at 8:19 PM, Thiago H de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Tue, 03 Sep 2013 11:58:04 -0300, Ben Titm
On Tue, 03 Sep 2013 11:58:04 -0300, Ben Titmarsh
wrote:
Hi Guys,
Hi!
Is there any plan to bring some kind of Server Push implementation to
Tapestry? I found a comet implementation (by Lance I think?) from a
while back but haven't seen much movement in this area recently.
I've never
It wont make it into 5.4. Mr Ship talked about it back some time. You might
want to take a look Art athmospere. You should be able to include it into
Tapestry following the example oft cometd. This will bring you
socket.iosupport which should you bring everything for Server side
push .
Am Dienstag
17 matches
Mail list logo