Hey guys, So, I was working on django project, but a part of which is need to be build using tornado, so I was wondering how to integrate that? Any ideas? I did a through search for resources, but after two days of head scratching I am stuck at nowhere. Mrinmoy Das http://www.goromlagche.in/
Where are you stuck? Explain the use case. Mrinmoy Das <mrinmoy.das91@gmail.com> wrote:
Hey guys, So, I was working on django project, but a part of which is need to be build using tornado, so I was wondering how to integrate that? Any ideas?
I did a through search for resources, but after two days of head scratching I am stuck at nowhere.
Mrinmoy Das http://www.goromlagche.in/
------------------------------------------------------------------------
_______________________________________________ KolPy mailing list KolPy@python.org https://mail.python.org/mailman/listinfo/kolpy
-- Thanks Bibhas http://bibhas.in Sent from my Android device with K-9 Mail. Please excuse my brevity.
Bibhas, The whole site runs on django. To build a chat I need to use tornado. But I literally have no idea on how to do it. Here<http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-server>the comment by Moayyad Yaghi explains how to run the whole project on tornado, I just want One app to use this. Mrinmoy Das http://www.goromlagche.in/ On Wed, Sep 18, 2013 at 9:19 PM, Bibhas <me@bibhas.in> wrote:
Where are you stuck? Explain the use case.
Mrinmoy Das <mrinmoy.das91@gmail.com> wrote:
Hey guys, So, I was working on django project, but a part of which is need to be build using tornado, so I was wondering how to integrate that? Any ideas?
I did a through search for resources, but after two days of head scratching I am stuck at nowhere.
Mrinmoy Das http://www.goromlagche.in/
------------------------------
KolPy mailing list KolPy@python.org https://mail.python.org/mailman/listinfo/kolpy
-- Thanks Bibhas http://bibhas.in
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________ KolPy mailing list KolPy@python.org https://mail.python.org/mailman/listinfo/kolpy
Still not clear what you want to do. Do you want to serve the Django app using tornado? Or do you want to use tornado as, say, a websocket server? On Wednesday 18 September 2013 09:37 PM, Mrinmoy Das wrote:
Bibhas,
The whole site runs on django. To build a chat I need to use tornado. But I literally have no idea on how to do it. Here<http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-server>the comment by Moayyad Yaghi explains how to run the whole project on tornado, I just want One app to use this.
Mrinmoy Das http://www.goromlagche.in/
On Wed, Sep 18, 2013 at 9:19 PM, Bibhas <me@bibhas.in> wrote:
Where are you stuck? Explain the use case.
Mrinmoy Das <mrinmoy.das91@gmail.com> wrote:
Hey guys, So, I was working on django project, but a part of which is need to be build using tornado, so I was wondering how to integrate that? Any ideas?
I did a through search for resources, but after two days of head scratching I am stuck at nowhere.
Mrinmoy Das http://www.goromlagche.in/
------------------------------
KolPy mailing list KolPy@python.org https://mail.python.org/mailman/listinfo/kolpy
-- Thanks Bibhas http://bibhas.in
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________ KolPy mailing list KolPy@python.org https://mail.python.org/mailman/listinfo/kolpy
_______________________________________________ KolPy mailing list KolPy@python.org https://mail.python.org/mailman/listinfo/kolpy
Bibhash, I am trying to build a chat application asynchronously which will be part of a django project and I think the solution is to run a django application over tornado server. Mrinmoy Das http://www.goromlagche.in/ On Wed, Sep 18, 2013 at 10:21 PM, BibhasD <me@bibhas.in> wrote:
Still not clear what you want to do. Do you want to serve the Django app using tornado? Or do you want to use tornado as, say, a websocket server?
On Wednesday 18 September 2013 09:37 PM, Mrinmoy Das wrote:
Bibhas,
The whole site runs on django. To build a chat I need to use tornado. But I literally have no idea on how to do it. Here<http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-s...> <http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-server>the comment by Moayyad Yaghi explains how to run the whole project on tornado, I just want One app to use this.
Mrinmoy Das http://www.goromlagche.in/
On Wed, Sep 18, 2013 at 9:19 PM, Bibhas <me@bibhas.in> <me@bibhas.in> wrote:
Where are you stuck? Explain the use case.
Mrinmoy Das <mrinmoy.das91@gmail.com> <mrinmoy.das91@gmail.com> wrote:
Hey guys, So, I was working on django project, but a part of which is need to be build using tornado, so I was wondering how to integrate that? Any ideas?
I did a through search for resources, but after two days of head scratching I am stuck at nowhere.
Mrinmoy Dashttp://www.goromlagche.in/
------------------------------
KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
-- Thanks Bibhashttp://bibhas.in
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________ KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
_______________________________________________ KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
_______________________________________________ KolPy mailing list KolPy@python.org https://mail.python.org/mailman/listinfo/kolpy
You can use this method( http://ultimatenerdiness.com/2012/10/14/django-and-tornado/) that serves django using tornado. Benefit of it is that there is only one server. Handle what you want with tornado, rest is handled by Django via WSGI. Or you can build two apps, one using Django, another using tornado. Then use them together. I'm still not sure how you want to use it, but if you want to build the chat app totally separately, you can build it on tornado and serve from a different supdomain or use tornado as websocket server and talk to it from django. On Wednesday 18 September 2013 10:30 PM, Mrinmoy Das wrote:
Bibhash,
I am trying to build a chat application asynchronously which will be part of a django project and I think the solution is to run a django application over tornado server.
Mrinmoy Das http://www.goromlagche.in/
On Wed, Sep 18, 2013 at 10:21 PM, BibhasD <me@bibhas.in> wrote:
Still not clear what you want to do. Do you want to serve the Django app using tornado? Or do you want to use tornado as, say, a websocket server?
On Wednesday 18 September 2013 09:37 PM, Mrinmoy Das wrote:
Bibhas,
The whole site runs on django. To build a chat I need to use tornado. But I literally have no idea on how to do it. Here<http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-s...> <http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-server>the comment by Moayyad Yaghi explains how to run the whole project on tornado, I just want One app to use this.
Mrinmoy Das http://www.goromlagche.in/
On Wed, Sep 18, 2013 at 9:19 PM, Bibhas <me@bibhas.in> <me@bibhas.in> wrote:
Where are you stuck? Explain the use case.
Mrinmoy Das <mrinmoy.das91@gmail.com> <mrinmoy.das91@gmail.com> wrote:
Hey guys, So, I was working on django project, but a part of which is need to be build using tornado, so I was wondering how to integrate that? Any ideas?
I did a through search for resources, but after two days of head scratching I am stuck at nowhere.
Mrinmoy Dashttp://www.goromlagche.in/
------------------------------
KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
-- Thanks Bibhashttp://bibhas.in
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________ KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
_______________________________________________ KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
_______________________________________________ KolPy mailing list KolPy@python.org https://mail.python.org/mailman/listinfo/kolpy
_______________________________________________ KolPy mailing list KolPy@python.org https://mail.python.org/mailman/listinfo/kolpy
Thanks for the tip. :) Anyway "use tornado as websocket server and talk to it from django." can I get more explanation on this please? :) Mrinmoy Das http://www.goromlagche.in/ On Wed, Sep 18, 2013 at 10:39 PM, BibhasD <me@bibhas.in> wrote:
You can use this method( http://ultimatenerdiness.com/2012/10/14/django-and-tornado/) that serves django using tornado. Benefit of it is that there is only one server. Handle what you want with tornado, rest is handled by Django via WSGI.
Or you can build two apps, one using Django, another using tornado. Then use them together. I'm still not sure how you want to use it, but if you want to build the chat app totally separately, you can build it on tornado and serve from a different supdomain or use tornado as websocket server and talk to it from django.
On Wednesday 18 September 2013 10:30 PM, Mrinmoy Das wrote:
Bibhash,
I am trying to build a chat application asynchronously which will be part of a django project and I think the solution is to run a django application over tornado server.
Mrinmoy Dashttp://www.goromlagche.in/
On Wed, Sep 18, 2013 at 10:21 PM, BibhasD <me@bibhas.in> <me@bibhas.in> wrote:
Still not clear what you want to do. Do you want to serve the Django app using tornado? Or do you want to use tornado as, say, a websocket server?
On Wednesday 18 September 2013 09:37 PM, Mrinmoy Das wrote:
Bibhas,
The whole site runs on django. To build a chat I need to use tornado. But I literally have no idea on how to do it. Here<http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-s...> <http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-s...> <http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-s...> <http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-server>the comment by Moayyad Yaghi explains how to run the whole project on tornado, I just want One app to use this.
Mrinmoy Dashttp://www.goromlagche.in/
On Wed, Sep 18, 2013 at 9:19 PM, Bibhas <me@bibhas.in> <me@bibhas.in> <me@bibhas.in> <me@bibhas.in> wrote:
Where are you stuck? Explain the use case.
Mrinmoy Das <mrinmoy.das91@gmail.com> <mrinmoy.das91@gmail.com> <mrinmoy.das91@gmail.com> <mrinmoy.das91@gmail.com> wrote:
Hey guys, So, I was working on django project, but a part of which is need to be build using tornado, so I was wondering how to integrate that? Any ideas?
I did a through search for resources, but after two days of head scratching I am stuck at nowhere.
Mrinmoy Dashttp://www.goromlagche.in/
------------------------------
KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
-- Thanks Bibhashttp://bibhas.in
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________ KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
______________________________ _________________ KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
_______________________________________________ KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
_______________________________________________ KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
_______________________________________________ KolPy mailing list KolPy@python.org https://mail.python.org/mailman/listinfo/kolpy
"Talk to it from Django" is kind of misleading actually. Tornado comes with a WebSocketHandler. So you can use that and run Tornado as a websocket server. And then connect to it from any Javascript code(in this case maybe the JS you're using on your DJango app), and then talk to it. On Wednesday 18 September 2013 11:09 PM, Mrinmoy Das wrote:
Thanks for the tip. :) Anyway "use tornado as websocket server and talk to it from django." can I get more explanation on this please? :)
Mrinmoy Das http://www.goromlagche.in/
On Wed, Sep 18, 2013 at 10:39 PM, BibhasD <me@bibhas.in> wrote:
You can use this method( http://ultimatenerdiness.com/2012/10/14/django-and-tornado/) that serves django using tornado. Benefit of it is that there is only one server. Handle what you want with tornado, rest is handled by Django via WSGI.
Or you can build two apps, one using Django, another using tornado. Then use them together. I'm still not sure how you want to use it, but if you want to build the chat app totally separately, you can build it on tornado and serve from a different supdomain or use tornado as websocket server and talk to it from django.
On Wednesday 18 September 2013 10:30 PM, Mrinmoy Das wrote:
Bibhash,
I am trying to build a chat application asynchronously which will be part of a django project and I think the solution is to run a django application over tornado server.
Mrinmoy Dashttp://www.goromlagche.in/
On Wed, Sep 18, 2013 at 10:21 PM, BibhasD <me@bibhas.in> <me@bibhas.in> wrote:
Still not clear what you want to do. Do you want to serve the Django app using tornado? Or do you want to use tornado as, say, a websocket server?
On Wednesday 18 September 2013 09:37 PM, Mrinmoy Das wrote:
Bibhas,
The whole site runs on django. To build a chat I need to use tornado. But I literally have no idea on how to do it. Here<http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-s...> <http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-s...> <http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-s...> <http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-server>the comment by Moayyad Yaghi explains how to run the whole project on tornado, I just want One app to use this.
Mrinmoy Dashttp://www.goromlagche.in/
On Wed, Sep 18, 2013 at 9:19 PM, Bibhas <me@bibhas.in> <me@bibhas.in> <me@bibhas.in> <me@bibhas.in> wrote:
Where are you stuck? Explain the use case.
Mrinmoy Das <mrinmoy.das91@gmail.com> <mrinmoy.das91@gmail.com> <mrinmoy.das91@gmail.com> <mrinmoy.das91@gmail.com> wrote:
Hey guys, So, I was working on django project, but a part of which is need to be build using tornado, so I was wondering how to integrate that? Any ideas?
I did a through search for resources, but after two days of head scratching I am stuck at nowhere.
Mrinmoy Dashttp://www.goromlagche.in/
------------------------------
KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
-- Thanks Bibhashttp://bibhas.in
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________ KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
______________________________ _________________ KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
_______________________________________________ KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
_______________________________________________ KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
_______________________________________________ KolPy mailing list KolPy@python.org https://mail.python.org/mailman/listinfo/kolpy
_______________________________________________ KolPy mailing list KolPy@python.org https://mail.python.org/mailman/listinfo/kolpy
cool thanks :) Mrinmoy Das http://www.goromlagche.in/ On Wed, Sep 18, 2013 at 11:14 PM, BibhasD <me@bibhas.in> wrote:
"Talk to it from Django" is kind of misleading actually.
Tornado comes with a WebSocketHandler. So you can use that and run Tornado as a websocket server. And then connect to it from any Javascript code(in this case maybe the JS you're using on your DJango app), and then talk to it.
On Wednesday 18 September 2013 11:09 PM, Mrinmoy Das wrote:
Thanks for the tip. :) Anyway "use tornado as websocket server and talk to it from django." can I get more explanation on this please? :)
Mrinmoy Dashttp://www.goromlagche.in/
On Wed, Sep 18, 2013 at 10:39 PM, BibhasD <me@bibhas.in> <me@bibhas.in> wrote:
You can use this method(http://ultimatenerdiness.com/2012/10/14/django-and-tornado/ ) that serves django using tornado. Benefit of it is that there is only one server. Handle what you want with tornado, rest is handled by Django via WSGI.
Or you can build two apps, one using Django, another using tornado. Then use them together. I'm still not sure how you want to use it, but if you want to build the chat app totally separately, you can build it on tornado and serve from a different supdomain or use tornado as websocket server and talk to it from django.
On Wednesday 18 September 2013 10:30 PM, Mrinmoy Das wrote:
Bibhash,
I am trying to build a chat application asynchronously which will be part of a django project and I think the solution is to run a django application over tornado server.
Mrinmoy Dashttp://www.goromlagche.in/
On Wed, Sep 18, 2013 at 10:21 PM, BibhasD <me@bibhas.in> <me@bibhas.in> <me@bibhas.in> <me@bibhas.in> wrote:
Still not clear what you want to do. Do you want to serve the Django app using tornado? Or do you want to use tornado as, say, a websocket server?
On Wednesday 18 September 2013 09:37 PM, Mrinmoy Das wrote:
Bibhas,
The whole site runs on django. To build a chat I need to use tornado. But I literally have no idea on how to do it. Here<http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-s...> <http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-s...> <http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-s...> <http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-s...> <http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-s...> <http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-s...> <http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-s...> <http://stackoverflow.com/questions/2534603/how-use-django-with-tornado-web-server>the comment by Moayyad Yaghi explains how to run the whole project on tornado, I just want One app to use this.
Mrinmoy Dashttp://www.goromlagche.in/
On Wed, Sep 18, 2013 at 9:19 PM, Bibhas <me@bibhas.in> <me@bibhas.in> <me@bibhas.in> <me@bibhas.in> <me@bibhas.in> <me@bibhas.in> <me@bibhas.in> <me@bibhas.in> wrote:
Where are you stuck? Explain the use case.
Mrinmoy Das <mrinmoy.das91@gmail.com> <mrinmoy.das91@gmail.com> <mrinmoy.das91@gmail.com> <mrinmoy.das91@gmail.com> <mrinmoy.das91@gmail.com> <mrinmoy.das91@gmail.com> <mrinmoy.das91@gmail.com> <mrinmoy.das91@gmail.com> wrote:
Hey guys, So, I was working on django project, but a part of which is need to be build using tornado, so I was wondering how to integrate that? Any ideas?
I did a through search for resources, but after two days of head scratching I am stuck at nowhere.
Mrinmoy Dashttp://www.goromlagche.in/
------------------------------
KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
-- Thanks Bibhashttp://bibhas.in
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________ KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
______________________________ _________________ KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
_______________________________________________ KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
_______________________________________________ KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
_______________________________________________ KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
_______________________________________________ KolPy mailing listKolPy@python.orghttps://mail.python.org/mailman/listinfo/kolpy
_______________________________________________ KolPy mailing list KolPy@python.org https://mail.python.org/mailman/listinfo/kolpy
participants (3)
-
Bibhas -
BibhasD -
Mrinmoy Das