I would suggest you to use Twisted along with Django. Django could serve as MVC framework and twisted could take control of connection protocol. On Jun 19, 2014 4:17 AM, "Pedro" <[email protected]> wrote:
> Hello, > > i'm working in a mobile app that depends of a Django server (to manage > user data and stuff). > This mobile app is about a social network with users interacting. It > should have a chat system, where two or more users can send and receive > messages and photos. > > I'm thinking in the best way to implement the communication and the model > on the server. My first idea is to use a simple model with rooms and > messages (each message belong to a room). To send messages from a client to > the server, i think i could use http requests, like GETs and POSTs, where i > would implement syncronization methods and stuff. > > Is this the best approach to solve this problem on Django? > > > ---------- > Pedro Alves > > *Mestrando em Ciência da Computação* > *Universidade Estadual de Campinas* > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CACW_pa0Dfom4Eydop5qedMMP5fbuBx-yZAUgDrhDApfewDFWbQ%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CACW_pa0Dfom4Eydop5qedMMP5fbuBx-yZAUgDrhDApfewDFWbQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMPe4x1g-WKZhbbq_Eo_p--DBZq5hqHU3i1ETM0Bwx-fFeQ4sQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

