+ 1

Is php better than JavaScript in anyways

5th Jul 2020, 2:57 PM
Gbolahan Qudus
Gbolahan Qudus - avatar
3 Answers
+ 2
They are different PHP is backend. JavaScript is frontend. JavaScript tech stack can go a long way, from writing server side app (with Node.js), to writing cross-platform desktop app (with Electron.js) and writing cross-platform mobile app (with ReactNative).
5th Jul 2020, 3:02 PM
Gordon
Gordon - avatar
+ 1
Both are different. Both are used to different purposes so we can't say php is better than Javascript. PHP is used as a server side language and Javascript is used in client side. What i mean by this is PHP code is executed in the server (eg:- google server,facebook) and Javascript is executed in client side ( eg:- chrome or mozilla browsers). Both PHP and Javascript has its own advantages and disadvatanges
5th Jul 2020, 3:07 PM
Shobhith J B
Shobhith J B - avatar