Php vs node.js which is better to use | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Php vs node.js which is better to use

server side vs server side

28th Oct 2017, 12:51 PM
GeneralZod
GeneralZod - avatar
1 Answer
+ 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
28th Oct 2017, 1:37 PM
ghostwalker13
ghostwalker13 - avatar