3 ms·
Thanks! I guess i'll go with PHP for this one and Node.js in the future. But can you tell me the difference between them? I mean, being PHP a server-sided lang
by redxblood 13y ago
Thanks! I guess i'll go with PHP for this one and Node.js in the future.
But can you tell me the difference between them? I mean, being PHP a server-sided language and Node a client sided one.
- RussianCow 13y agoNode.js is basically just server-side JavaScript. Its main draw is its "asynchronous by default" culture, which means that it's very easy to write concurrent applications in Node. It's more involved that PHP, so as the OP said, PHP is probably better for simple sites with a few forms and Node better for realtime apps.