+ 5
How to choose between javascript and php to add interactivity to a website? !
Help me please
4 Respuestas
+ 2
php is better as it's specifically made for websites
+ 1
if you want seamless front-end interactive, you should use Javascript wherever you can. And use Ajax to interact with server codes.
+ 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.
+ 1
PHP is bad in interactive tasks, use JavaScript.