mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-20 23:20:57 +00:00
1 line
6.4 KiB
JSON
1 line
6.4 KiB
JSON
[{"user_id": 36184, "stars": [{"date_created": 1308984149.4070389, "user_id": 23244}], "topic_id": 40064, "date_created": 1308707911.417321, "message": "I know convore uses django as the backend for their site with a separate eventlet wsgi app from reading this post: http://www.eflorenzano.com/blog/post/technology-behind-convore/", "group_id": 81, "id": 1454047}, {"user_id": 36184, "stars": [], "topic_id": 40064, "date_created": 1308709487.1004219, "message": "The issue I've been considering is how to use the django auth system within a separate application, for example, how could I authenticate AJAX requests coming into a eventlet WSGI app (or other)", "group_id": 81, "id": 1454235}, {"user_id": 36184, "stars": [], "topic_id": 40064, "date_created": 1308709305.4473901, "message": "I'm wondering if there is any \"standard\" set up for a django application with realtime components", "group_id": 81, "id": 1454208}, {"user_id": 281, "stars": [{"date_created": 1308968509.456255, "user_id": 209}], "topic_id": 40064, "date_created": 1308718970.8005121, "message": "@dhatch387 you probably want to look at https://docs.djangoproject.com/en/1.3/topics/http/sessions/#using-sessions-out-of-views. As long as you can grab the user's session id (e.g. from a cookie used across your whole domain), you can pull back the user's session info", "group_id": 81, "id": 1454858}, {"user_id": 14948, "stars": [{"date_created": 1308791698.946033, "user_id": 36376}], "topic_id": 40064, "date_created": 1308721100.350076, "message": "The best solution I've seen to this problem is hookbox: http://blip.tv/pycon-us-videos-2009-2010-2011/pycon-2011-hookbox-all-python-web-frameworks-now-real-time-batteries-included-4901113 web hooks + long polling", "group_id": 81, "id": 1454924}, {"user_id": 2928, "stars": [], "topic_id": 40064, "date_created": 1308732345.6641109, "message": "+1 for hookbox, I used it couple of times for low-traffic needs and it was super easy to build on", "group_id": 81, "id": 1455548}, {"user_id": 36184, "stars": [], "topic_id": 40064, "date_created": 1308741871.6735151, "message": "I saw hookbox a while ago but their site appears to be down. Where can I find it?", "group_id": 81, "id": 1456157}, {"user_id": 36184, "stars": [], "topic_id": 40064, "date_created": 1308741874.6126239, "message": "As of yesterday it was down", "group_id": 81, "id": 1456159}, {"user_id": 36184, "stars": [], "topic_id": 40064, "date_created": 1308742873.8378229, "message": "@SeanOC is there any documentation on how the auth system interacts with this session object? looks like if I can write code to do the session object decoding in the same manner that django does I could access it from another WSGI app and detect logged in status", "group_id": 81, "id": 1456200}, {"user_id": 281, "stars": [], "topic_id": 40064, "date_created": 1308751242.4866951, "message": "that get_user function is basically what get's called with the AuthenticationMiddleware", "group_id": 81, "id": 1457147}, {"user_id": 281, "stars": [], "topic_id": 40064, "date_created": 1308751207.8315849, "message": "I don't think it's explicitly documented but if you look at https://code.djangoproject.com/browser/django/trunk/django/contrib/auth/__init__.py#L95 you can figure it out pretty easily", "group_id": 81, "id": 1457140}, {"user_id": 1822, "stars": [], "topic_id": 40064, "date_created": 1308921393.963757, "message": "Bummer about hookbox.org. Doesn't make the project look good. But code can be found http://pypi.python.org/pypi/hookbox/0.3.0", "group_id": 81, "id": 1476188}, {"user_id": 34431, "stars": [], "topic_id": 40064, "date_created": 1308941895.8769469, "message": "I logged in to ask this exact question! Is simple Ajax polling a really bad idea, or just a bad idea? It looks like a biggish amount of work to get going with HTTP-push/Comet.", "group_id": 81, "id": 1478924}, {"user_id": 1398, "stars": [], "topic_id": 40064, "date_created": 1308980310.020179, "message": ":(", "group_id": 81, "id": 1482904}, {"user_id": 1398, "stars": [], "topic_id": 40064, "date_created": 1308980307.267545, "message": "I wish I had never backed up Hookbox for Pycon", "group_id": 81, "id": 1482903}, {"user_id": 11592, "stars": [], "topic_id": 40064, "date_created": 1308982632.0511551, "message": "@pastylegs not necessarily. you can bang up a long-polling stack with gunicorn/gevent/redis pretty easily in one evening workout.", "group_id": 81, "id": 1483044}, {"user_id": 281, "stars": [], "topic_id": 40064, "date_created": 1309012995.234972, "message": "if you'll never see more than a few users at any one time, and you can afford some delay in the client-server communication then no....if you're going to be dealing with many concurrent users or if timeliness is a big issue (e.g. chat) then ajax polling probably isn't a very good idea", "group_id": 81, "id": 1484287}, {"user_id": 221, "stars": [], "topic_id": 40064, "date_created": 1310661810.348485, "message": "I wrote a quickie post on using hookbox w/flask, might be useful to you http://charlesleifer.com/blog/writing-a-real-time-chat-app-using-hookbox-and-flask/", "group_id": 81, "id": 1638356}, {"user_id": 212, "stars": [], "topic_id": 40064, "date_created": 1310670934.5104051, "message": "so is anyone actually using hookbox? Yes, the site is down, but the code looks alright and Michael's presentation at pycon was great. It looks like it *could* be awesome.", "group_id": 81, "id": 1639581}, {"user_id": 18845, "stars": [], "topic_id": 40064, "date_created": 1311917950.712209, "message": "orbited was a decent framework I used ages ago http://pypi.python.org/pypi/orbited", "group_id": 81, "id": 1745198}, {"user_id": 19880, "stars": [], "topic_id": 40064, "date_created": 1312053794.28246, "message": "The guy that did Orbited started Hookbox, but I believe he's not one of the main contributors any more.", "group_id": 81, "id": 1755550}, {"user_id": 19880, "stars": [], "topic_id": 40064, "date_created": 1312053721.9679129, "message": "https://github.com/hookbox/hookbox", "group_id": 81, "id": 1755548}, {"user_id": 13507, "stars": [{"date_created": 1312258813.227694, "user_id": 2928}], "topic_id": 40064, "date_created": 1312182386.6840129, "message": "As another option you could try Strophe: http://strophe.im/", "group_id": 81, "id": 1763861}, {"user_id": 209, "stars": [], "topic_id": 40064, "date_created": 1312207154.7458279, "message": "Daniel Lindsley just posted about longpolling w/wsgi. http://toastdriven.com/blog/2011/jul/31/gevent-long-polling-you/", "group_id": 81, "id": 1765948}] |