+ 5

PHP or JavaScript?

I know JS and i am learning PHP but if I want to make a website, should i use PHP or JS?

21st Jan 2018, 1:02 PM
Julian
Julian - avatar
2 ответов
+ 7
Javascript is used as Client Side Scripting Language. You can make programs that will run in client's browser by Javascript. It is must for any dynamic website. PHP is used in server. But you can use javascript in server by Node.js. It is a very powerful javascript-based framework/platform built on Google Chrome's Javascript V8 engine. So, you can use PHP or node.js which you like to use.
21st Jan 2018, 1:18 PM
Adnan Zawad Toky
Adnan Zawad Toky - avatar
- 1
Depends on what you want.
21st Jan 2018, 4:14 PM
Leuk