+ 1
Php vs node.js which is better to use
server side vs server side
2 odpowiedzi
+ 1
It's honestly (always) your choice,
If you are familiar with JavaScript already, Node.js is for you. If you feel that PHP and Websites = Love, then go for it.
They are very similar (php and js) in terms of mathematical ability and object-orientation, but handle files (appending or managing) differently.
JavaScript:
var file = new FileReader();
var smile = file.open("smile.txt");
//etc
PHP:
$file = open("smile.txt")
$smile = $file
//etc
Revise on the documentation at node.js / php.com