OK thanks for the advice :)

On Friday, March 21, 2014 2:27:21 PM UTC+2, Ramos wrote:
>
> in the end you will understand the idea. Be patient...
>
>
> 2014-03-21 12:20 GMT+00:00 martzi <mp.o...@gmail.com <javascript:>>:
>
>> Well then I will have to watch it to the end i was a bit worried for not 
>> understanding the explanations.
>>
>> Thanks again!
>>
>> On Friday, March 21, 2014 2:11:35 PM UTC+2, Ramos wrote:
>>
>>> I guess not, the video alone is very self explanatory.
>>>
>>> You have to install tornado then start tornado as a separate process 
>>> inside web2py\gluon\contrib
>>>
>>> then, in your webpage add a websocket connection and a callback to 
>>> process the incomming data from server.
>>>
>>> You can see this very clearly in the video
>>>
>>>
>>>
>>>
>>> 2014-03-21 11:32 GMT+00:00 martzi <mp.o...@gmail.com>:
>>>
>>> Ramos, is there an English version of the videos ? I don't understand 
>>>> Portuguese ...
>>>>
>>>>
>>>> On Friday, March 21, 2014 12:56:14 PM UTC+2, martzi wrote:
>>>>>
>>>>> Thanks a lot i am going though and will let you know!
>>>>>
>>>>> On Friday, March 21, 2014 12:47:18 PM UTC+2, Ramos wrote:
>>>>>>
>>>>>> see this video from Bruno Rocha
>>>>>> https://www.youtube.com/watch?v=MUWy-NSrvNQ
>>>>>>
>>>>>> Saved my life once...
>>>>>>
>>>>>>
>>>>>> 2014-03-21 10:35 GMT+00:00 martzi <mp.o...@gmail.com>:
>>>>>>
>>>>>>> I like the idea of tornado, I have seen some cool site running 
>>>>>>> tornado... but I don't really know where and how to start with it. i am 
>>>>>>> on 
>>>>>>> webfactory.
>>>>>>> Any idea on how to get it done ?
>>>>>>>
>>>>>>> Thank you!
>>>>>>>
>>>>>>>
>>>>>>> On Friday, March 21, 2014 12:15:35 PM UTC+2, Ramos wrote:
>>>>>>>
>>>>>>>> Another stupid solution
>>>>>>>> use websockets (tornado) and this way you can publish data every 30 
>>>>>>>> s to the webpage from the server to the client connectect.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 2014-03-21 10:08 GMT+00:00 martzi <mp.o...@gmail.com>:
>>>>>>>>
>>>>>>>>>  Thank all for your replies...
>>>>>>>>> PN i like you solution, I am going to try it and let you know if 
>>>>>>>>> it worked...
>>>>>>>>> Thanks to all for yo help!
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Thursday, March 20, 2014 11:25:47 PM UTC+2, PN wrote:
>>>>>>>>>>
>>>>>>>>>> You can also use web2py components (see the chapter titled 
>>>>>>>>>> 'Components and Plugins' in the web2py book). Basically first make a 
>>>>>>>>>> normal 
>>>>>>>>>> web2py page that reads the remote API every time the page is loaded, 
>>>>>>>>>> and 
>>>>>>>>>> displays the results. Then, load this page as a component into 
>>>>>>>>>> another 
>>>>>>>>>> page, and specify the 'timeout' parameter of the component so that 
>>>>>>>>>> it 
>>>>>>>>>> reloads every 30 seconds. You will not have to do any of the ajax/js 
>>>>>>>>>> yourself this way.
>>>>>>>>>>
>>>>>>>>>> On Sunday, March 16, 2014 1:48:11 PM UTC-4, Martin wrote:
>>>>>>>>>>>
>>>>>>>>>>> Hi all,
>>>>>>>>>>> Please could anyone help me out, I need to pull some data from 
>>>>>>>>>>> some API (ex: https//xxx/aaa/ etc.) every 30s and then display the 
>>>>>>>>>>> result 
>>>>>>>>>>> in a ticker
>>>>>>>>>>> How do I do this with Web2py + JavaScript ? I am new to web2py.
>>>>>>>>>>>
>>>>>>>>>>> Thank you.
>>>>>>>>>>>
>>>>>>>>>>  -- 
>>>>>>>>> Resources:
>>>>>>>>> - http://web2py.com
>>>>>>>>> - http://web2py.com/book (Documentation)
>>>>>>>>> - http://github.com/web2py/web2py (Source code)
>>>>>>>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>>>>>>>> --- 
>>>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>>>> Groups "web2py-users" group.
>>>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>>>> send an email to web2py+un...@googlegroups.com.
>>>>>>>>>
>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>
>>>>>>>>
>>>>>>>>  -- 
>>>>>>> Resources:
>>>>>>> - http://web2py.com
>>>>>>> - http://web2py.com/book (Documentation)
>>>>>>> - http://github.com/web2py/web2py (Source code)
>>>>>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>>>>>> --- 
>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>> Groups "web2py-users" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>> send an email to web2py+un...@googlegroups.com.
>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>
>>>>>>
>>>>>>  -- 
>>>> Resources:
>>>> - http://web2py.com
>>>> - http://web2py.com/book (Documentation)
>>>> - http://github.com/web2py/web2py (Source code)
>>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "web2py-users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to web2py+un...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>  -- 
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to web2py+un...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to