Re:“Why are you using Node.js rather than PHP?”
by bungle on Saturday May 25, 2013 @05:01PM
(#5768814)
Node is better for real-time web in my opinion. That's why, although I look forward nginx + lua in that space.
[ Parent
| on HN ]
Re:“Why are you using Node.js rather than PHP?”
by tmzt on Saturday May 25, 2013 @06:56PM
(#5769191)
Not sure where nginx and lua fit into real time, as in main loop and callbacks from network sockets, Nginx's Lua support seems to be more request-oriented, executing a block of code in response to a request.
Re:“Why are you using Node.js rather than PHP?”
by mcantelon on Saturday May 25, 2013 @07:00PM
(#5769201)
Yeah, if someone digs Lua then using Nginx in conjunction with something like Luvit (https://github.com/luvit/luvit) might be the way to go.