+ 5

How to choose between javascript and php to add interactivity to a website? !

Help me please

1st Dec 2017, 8:34 AM
Raj Srivastava
Raj Srivastava - avatar
4 Answers
+ 2
php is better as it's specifically made for websites
1st Dec 2017, 8:36 AM
SAB
SAB - avatar
+ 1
if you want seamless front-end interactive, you should use Javascript wherever you can. And use Ajax to interact with server codes.
1st Dec 2017, 9:57 AM
CalviŐ˛
CalviŐ˛ - avatar
+ 1
Depends, javascript is usefull to interactivity in the client side, and now also in the server side. For example, to check the data of a form before send it to the server, with this, you can advise the user to write the correct data faster. Php is very usefull in the server side to create any program to process the web data.
2nd Dec 2017, 4:38 AM
Iago
Iago - avatar
+ 1
PHP is bad in interactive tasks, use JavaScript.
2nd Dec 2017, 8:21 AM
CalviŐ˛
CalviŐ˛ - avatar