+ 5

Which is more powerful "JavaScript" or "PHP"..? And what is the limitations of these languages??

19th Feb 2017, 6:51 AM
Shashwat Prakash
Shashwat Prakash - avatar
10 ответов
+ 11
server side vs client side ...u can't compare
19th Feb 2017, 7:00 AM
Didi Georgel Danaila
Didi Georgel Danaila - avatar
+ 7
php script. because it is vital for server and it can collaborate with sql. javascript is cool but php is better.
19th Feb 2017, 5:34 PM
Agus Mei
Agus Mei - avatar
+ 6
The limitations are usually not in the languages but in the knowledge of those who use them... 😃 However some languages are more suitable for certain tasks. As @Didi said those two are mostly used for front / back end, but I personally consider JavaScript to be the more powerful one as you can use it for both.
19th Feb 2017, 8:06 AM
Nikolay Nachev
Nikolay Nachev - avatar
+ 4
php definitely, it has more security features as compared to javascript, like its server side while javascript is client sided. this is a weakness already
19th Feb 2017, 6:53 AM
Tuchy
Tuchy - avatar
+ 4
I would suggest that these two languages cannot be compared because one is sever side and the other is client side scripting but PHP is secure than JavaScript.
22nd Feb 2017, 1:10 PM
Azzaz Khan
Azzaz Khan - avatar
+ 3
lol, honestly you can't compare them :) client vs server side ..
19th Feb 2017, 9:59 AM
Dev
Dev - avatar
+ 3
As others wrote you shouldn't choose between JS and PHP. If you are to create a web site then probably you have to use JS on client side. On server side you should use a templating engine to generate dynamic HTML pages. This can be done via PHP easily or if use Java you can use JSP for that purpose or you can use other templating engines like Freemarker or even Smarty inside PHP. If you don't create a web site but other application then I would choose other languages then Javascript or PHP.
20th Feb 2017, 6:10 AM
Tamás Barta
Tamás Barta - avatar
+ 2
I would prefer JavaScript because it is easier than PHP
19th Feb 2017, 4:33 PM
Shreyas Sable
Shreyas Sable - avatar
0
JAVA IS MORE BETTER SECURE AND USEFUL AS COMPARED TO PHP
19th Feb 2017, 12:19 PM
Devraj singhania
Devraj singhania - avatar
0
any 1 good with CSS
22nd Feb 2017, 9:39 PM
isiah mountain dew v
isiah mountain dew v - avatar