So I don't have any tutorials for you, but I can tell you what I did.

I set up a stomp server (morbidq for testing) on port 61619 (or whatever),
set up orbited, set up pylons.

In app_globals, I set up a connection to the stomp server.

On the javascript side, I use the orbited libraries to open a stomp
connection to the server, so any messages sent to that topic will be picked
up by the client.

So in lib/app_globals.py I did this:

self.conn = stomp.Connection()
self.conn.start()
self.conn.connect()

and in controllers/testing.py I did this:

g.conn.send('testing testing', destination='/topic/testing')
I know this is rather vague, so let me know if you have any more questions.
I have a setup where the clients make ajax requests to the pylons
application, the application verifies it, and sends it out to all the
clients via orbited / stomp.
On Fri, Feb 26, 2010 at 7:24 PM, Weixi Yen <[email protected]> wrote:

> I've been looking into server push for an application I'm building in
> pylons.
>
> I was wondering if anyone had a real dead-simple server push tutorials out
> there that would be viable if done in production.
>
> Thanks,
>
> Weixi
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<pylons-discuss%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.
>



-- 
Brian O'Connor

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to