Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Jan. 15, 2011 15:06:30

Ethan J.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django/Comet? <bump>


On Fri, Jan 14, 2011 at 6:28 AM, Shawn Milochik <sh...@milochik.com> wrote:

> I asked about this back in October but nobody replied. I think it's been
> long enough for a bump. ;o)
>
> I searched the list online and haven't seen any recent discussions about
> this, so I figured I'd check in. Last I heard, Orbited was the way to go,
> but it seems that both it and django-orbited haven't seen any development in
> quite a while. The developer of Orbited is working on something called *
> Hookbox* to supersede Comet.
>
> So, is anyone using a Comet implementation in production with Django? I'd
> rather use what the majority of the community is using (or moving toward).
>
> I'm not using Comet in production with Django, but I'm just starting to
look into this too and would also love to hear if and how people are doing
it. My impressions match yours -- I thought Orbited was the popular
solution, but when I looked into it recently the project seemed stalled, and
perhaps superceded by Hookbox.

Hookbox looks very nice -- the backend messaging server is designed to
integrate into your project with REST APIs, so it calls URLs in your
application to figure out how to respond to connections, subscriptions,
publications, etc. And its frontend Javascript library is easy to use.
I've never done Comet stuff before but I was able to install Hookbox and
get a simple prototype of persistent, multi-user, real-time draggable divs
running in a few hours. The documentation is a bit outdated, though, and
it's also worth reading this recent thread:http://groups.google.com/group/hookbox/browse_thread/thread/9ffa12884025a890So I'm cautiously optimistic about Hookbox, but I'd love to hear what other
people are using.

-Ethan

> Thanks,
> Shawn
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.
>

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 Jan. 15, 2011 15:24:10

Shawn M.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django/Comet? <bump>


Ethan,

Thanks for the reply. Since this isn't something a lot of people are doing I'm
going to make my own way and report back. I just wanted to ensure I wasn't
straying from what the community at large was doing, but since there's no
consensus I'll just do whatever.

In my research yesterday, including a friendly chat in the #orbited IRC
(freenode), here are the things I found:

Hookbox does more, but is heavier.
Orbited is once again under active development.
It's possible to use Orbited with Celery and RabbitMQ.
Hookbox replicates some functionality of Celery and RabbitMQ.

Based on this, and the fact that I'm already using django-celery and RabbitMQ,
I'm leaning towards Orbited. I'm going to put together a little test project
this weekend. If all goes well I'll probably stop there and just use Orbited.
I'll put up a blog post with relevant code snippets. If something goes horribly
wrong, or I get tremendously motivated, I'll do the same with Hookbox and have
a better understanding of the differences.

Shawn

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#3 Jan. 16, 2011 18:19:43

Ethan J.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django/Comet? <bump>


Thanks Shawn, this is very helpful. It's good to hear Orbited is being
actively developed again.

I'm not already using RabbitMQ for anything, so I'm going to take the
opposite approach: start out doing some test projects with Hookbox, and then
try porting them to Orbited. I'm completely new to Comet-style development,
so Hookbox's simplicity appeals a lot to me, and so does its approach to
integrating with the rest of one's application stack as a primary design
goal. Basically, I'm less confident about Hookbox as a robust solution, but
it seems like a lower upfront cost for where I am, and I'm more confident
that I won't get lost in the infrastructural implementation details and
write bad code. Hopefully I'll then be able to smoothly port whatever I've
done to Orbited.

Looking forward to hearing how things go for you, and seeing your blog post.
I'll definitely report back as well.

-Ethan

On Sat, Jan 15, 2011 at 10:23 AM, Shawn Milochik <sh...@milochik.com> wrote:

> Ethan,
>
> Thanks for the reply. Since this isn't something a lot of people are doing
> I'm going to make my own way and report back. I just wanted to ensure I
> wasn't straying from what the community at large was doing, but since
> there's no consensus I'll just do whatever.
>
> In my research yesterday, including a friendly chat in the #orbited IRC
> (freenode), here are the things I found:
>
> Hookbox does more, but is heavier.
> Orbited is once again under active development.
> It's possible to use Orbited with Celery and RabbitMQ.
> Hookbox replicates some functionality of Celery and RabbitMQ.
>
> Based on this, and the fact that I'm already using django-celery and
> RabbitMQ, I'm leaning towards Orbited. I'm going to put together a little
> test project this weekend. If all goes well I'll probably stop there and
> just use Orbited. I'll put up a blog post with relevant code snippets. If
> something goes horribly wrong, or I get tremendously motivated, I'll do the
> same with Hookbox and have a better understanding of the differences.
>
> Shawn
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.
>
>

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

Board footer

Moderator control

Enjoy the 24th of October
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support