On Friday, March 25, 2016 at 8:41:49 AM UTC-4, Ramos wrote:
>
>
> http://bjorngylling.com/2011-04-13/postgres-listen-notify-with-node-js.html
>
> hi , could postgres NOTIFY be better/simpler than having to install 
> tornado to have socket message to my app?
>

No, PostgreSQL NOTIFY will send notifications to a process *on the server*. 
You still need a way to then push that notification to the browser. In the 
post linked above, node.js is playing the role that Tornado plays in 
web2py's websocket_messaging feature.

Anthony

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to