EvilZone
Programming and Scripting => Web Oriented Coding => : jeyanthinath October 08, 2014, 07:33:42 AM
-
Hey guys, I am planning to create a small website with news feeds (contents change on a particular interval).
I know php, but I find in internet that nodejs is so good for website Dev.
I planning to use a responsive template (coz that will be handy and I know little bit in web design) and edit it and inject the dynamic contents..
What shall I do , go with php or nodejs Suggestions please..
-
but I find in internet that nodejs is so good for website Dev.
https://www.semitwist.com/mirror/node-js-is-cancer.html (https://www.semitwist.com/mirror/node-js-is-cancer.html)
The main idea of Node.js: use non-blocking, event-driven I/O to remain lightweight and efficient in the face of data-intensive real-time applications that run across distributed devices.
Basically, good for things like chat servers and APIs for object databases, but less than optimal for websites.
PHP is not a nice language either (http://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/) but if you have to use it then so be it. I'm rather fond of Ruby + Sinatra but they're slow in comparison to PHP, which could be a problem.
-
Definitely PHP. node JS solves the problem for scalability which you do not need for at least a long time, if ever.
PHP has a lot of stuff already written and you will get all the modules you need over the net. This way your development time is small and you get to see all aspects of the problem. You'll deliver a quality product in less time, but with old technology.
If this is a learning exercise then I'd say that you use nodejs or python django. These are relatively new with smaller libraries but they'll grow over time and they look promising. Specially nodejs because of widespread js use.