The reason is that every tweet is sent and received in real time like a web chat ( using ajax and long polling on client side ). This is because I have chosen Erlang+Yaws+Mnesia. Is it a wrong approach ?
thanks. -------- On 12 Mar, 15:20, Dylan Evans <dy...@contentfree.info> wrote: > That's difficult to say without specifics, but you should be able to access > your django database from erlang and reference the user table, or any other > required data. Likewise django/python can read any sql database tables used > with your erlang code, but probably not mnesia. > You could also implement RPC style calls between the servers using XMLRPC or > something simpler. > Is there a reason you want to use two different systems? > > > > > > On Fri, Mar 12, 2010 at 7:41 PM, nameless <xsatelli...@gmail.com> wrote: > > you right Dylan... maybe is better put erlang code on another > > webserver. > > If I use iframe How could I share users information ( on django > > table ) with erlang ? > > ie if I send a tweet, and that tweet is stored on erlang webserver > > ( Mnesia ) then I have to connect that tweet with a certain user. > > > excuse me this is very newbie question but I never used 2 webserver > > with 2 program languages :-\. > > > ------------- > > On 12 Mar, 07:29, Dylan Evans <dy...@contentfree.info> wrote: > > > I would suggest running your erlang on another webserver and either using > > an > > > iframe or use django as a proxy (connect to erlang in your django view). > > > > On Fri, Mar 12, 2010 at 1:02 PM, nameless <xsatelli...@gmail.com> wrote: > > > > Hi at all. > > > > I need to create a blogging system with Django+Apache+Postgresql and a > > > > twitter-like app with Erlang+Yaws+Mnesia. > > > > > How can I execute erlang code through django views ? > > > > > -- > > > > You received this message because you are subscribed to the Google > > Groups > > > > "Django users" group. > > > > To post to this group, send email to django-us...@googlegroups.com. > > > > To unsubscribe from this group, send email to > > > > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@google > > > > groups.com> > > <django-users%2bunsubscr...@google groups.com> > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/django-users?hl=en. > > > > -- > > > "The UNIX system has a command, nice ... in order to be nice to the other > > > users. Nobody ever uses it." - Andrew S. Tanenbaum > > > -- > > You received this message because you are subscribed to the Google Groups > > "Django users" group. > > To post to this group, send email to django-us...@googlegroups.com. > > To unsubscribe from this group, send email to > > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@google > > groups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/django-users?hl=en. > > -- > "The UNIX system has a command, nice ... in order to be nice to the other > users. Nobody ever uses it." - Andrew S. Tanenbaum -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.