Re:Voten.co, a Real-Time Reddit Alternative Launches Public ...
by codegeek on Tuesday May 16, 2017 @11:38AM
(#14350383)
I have played around a bit with socket.io and the reason you use Node for it is that socket.io itself comes with a in built node server for backend. So it is much easier and faster to fire up a server to run socket.io using node.
[ Parent
| on HN ]
Re:Voten.co, a Real-Time Reddit Alternative Launches Public ...
by tyingq on Tuesday May 16, 2017 @12:02PM
(#14350628)
Sure. Why would you though, not use node.js for the rest of the site? I'm not complaining about either php or node.js. I'm complaining about using both of them for a brand new site.
I assume that both would need to understand the concepts around: users, admins, moderators, topic areas, topics, threads, banning, moderating, vote counts, sessions, and so forth. And interacting with all of that both server<->browser and server<->database. Feels like a lot of duplicated classes, marshalling, etc.