Re: [web2py] web2py chat example

2013-04-24 Thread Ricardo Pedroso
Hi Arnon, On Wed, Apr 24, 2013 at 1:13 PM, Arnon Marcus wrote: > First of all, by "architecture" I was referring to the server-side, not the > client-side. the demo chat was running with: $ cd $ nohup python anyserver.pt -s gevent was running with gevent httpserver, no tornado involved in any

Re: [web2py] web2py chat example

2013-04-24 Thread Arnon Marcus
First of all, by "architecture" I was referring to the server-side, not the client-side. Secondly, when I asked "how do you combine gevent and tornado", I was referring to your statements: "web2py app based on tornado long polling chat example." The only requirement is to run it with gevent."

Re: [web2py] web2py chat example

2013-04-24 Thread Ricardo Pedroso
On Tue, Apr 23, 2013 at 11:37 PM, Arnon Marcus wrote: > How is this architected? I'm not sure I understand what you want to know but I suppose you are referring to the chat example and how it works: 1. You open the chat with your browser and it sends the last messages, this is a "normal" re

Re: [web2py] web2py chat example

2013-04-23 Thread Arnon Marcus
How is this architected? from what I understand, Tornado is a multithreaded event-loop, whith a buil-in http-server, as a replacement for, say, apache. Gevent is basically a similar idea, just with the event-loop implemented in c, wrapped with a c-extension for python, and also has an http-server

Re: [web2py] web2py chat example

2013-04-22 Thread Ricardo Pedroso
I put a demo here: http://78.46.172.53:8000/w2pchat/default/index users/pass us...@demo.com / 1234 us...@demo.com / 1234 You can create other users to. Later tonight I will put it down. Ricardo On Mon, Apr 22, 2013 at 5:47 PM, Ricardo Pedroso wrote: > Do you managed to get it working? > >

Re: [web2py] web2py chat example

2013-04-22 Thread Ricardo Pedroso
Do you managed to get it working? Ricardo On Mon, Apr 22, 2013 at 2:56 PM, Ovidio Marinho wrote: > Complementing: for instalations packages for windows 64 bit´s go to > http://www.lfd.uci.edu/~gohlke/pythonlibs/#gevent and downloads also > greenlet. > > > > > Ovidio Marinho Falcao Neto

Re: [web2py] web2py chat example

2013-04-22 Thread Ovidio Marinho
Complementing: for instalations packages for windows 64 bit´s go to http://www.lfd.uci.edu/~gohlke/pythonlibs/#gevent and downloads also greenlet. Ovidio Marinho Falcao Neto Web Developer ovidio...@gmail.com 83 8826 9088 - Oi

Re: [web2py] web2py chat example

2013-04-22 Thread Ovidio Marinho
Resolved ok! ok got hit with .msi. Ovidio Marinho Falcao Neto Web Developer ovidio...@gmail.com 83 8826 9088 - Oi 83 9336 3782 - Claro Brasil 2013/4/22 Niphlod > if you're on windows use the .

Re: [web2py] web2py chat example

2013-04-22 Thread Niphlod
if you're on windows use the .exe installers On Monday, April 22, 2013 3:08:52 PM UTC+2, Ovidio Marinho wrote: > > Error install pip gevent > > c:\Python27\Scripts>pip install gevent > Downloading/unpacking gevent > Running setup.py egg_info for package gevent > Please provide path to l

Re: [web2py] web2py chat example

2013-04-22 Thread Ovidio Marinho
Error install pip gevent c:\Python27\Scripts>pip install gevent Downloading/unpacking gevent Running setup.py egg_info for package gevent Please provide path to libevent source with --libevent DIR Complete output from command python setup.py egg_info: Please provide path to libevent

Re: [web2py] web2py chat example

2013-04-22 Thread Ovidio Marinho
Hello Ricardo, How does it work? if I want to implement an application in which how should I proceed with the service, use apache or Tornado, what it does (python-anyserver.py gevent), more details to use this chat application please. thanks. Ovidio Marinho Falcao Neto