3 ms·
I have worked as a PHP developer for almost 10 years now, and I have built some pretty big websites using it (e.g. rushlimbaugh.com, ultimatecoupons.com) but ov
by byoung2 13y ago
I have worked as a PHP developer for almost 10 years now, and I have built some pretty big websites using it (e.g. rushlimbaugh.com, ultimatecoupons.com) but over the past 2 years I have been developing in node.js. I love node because it offers great performance if you have a lot of concurrent connections and I/O, but not a lot of hardware (e.g. an ajax app, websockets). If you are just building a website with some forms, you could probably do it easier in PHP. There are lots of mature frameworks out there for PHP websites (I used Symfony for ultimatecoupons, and EZ Publish for rushlimbaugh). If you are building a rich internet app, I would go with node.
- redxblood 13y agoThanks! 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.