+ 4

php vs JavaScript

Which is better: php or javascript?

5th Feb 2018, 8:49 PM
Proffesional
Proffesional - avatar
5 odpowiedzi
+ 7
Php can only be used for back-end while js can be used everywhere. Php has only a few convenient features when it comes to servers but node js is more secure...imo.
5th Feb 2018, 8:52 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 5
That's like asking what is better on your bicycle, the front or the back tire? They work together alongside one another to help out with the total function of the bicycle. Learn both of them. PHP is the server-side programming language and JavaScript is the client-side language. So the PHP is handling all of the tasks on the server end, such as database management, etc... and your JS is handling the client-side interactions, which is how we get most of the fancy functionality we expect of websites. However, if you plan to use NodeJS (it's a server-side language that works with JavaScript), then you don't need to learn PHP. JavaScript/NodeJS is a good combo also and one I'm a big fan of. If you go that route, focus on JS for now.
5th Feb 2018, 8:52 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 2
For me: -1. JavaScript -2. PHP 🎇💪😜👍🎇
5th Feb 2018, 9:54 PM
renamed
renamed - avatar
0
JavaScript
5th Feb 2018, 9:18 PM
luciel
luciel - avatar