+ 11

Can PHP be replaced with JS?

I don't know the difference from both of that.

26th Dec 2017, 12:10 PM
M Yusril
M Yusril - avatar
6 Réponses
+ 13
With node.js you can. Actually, node.js is better than php.
26th Dec 2017, 12:41 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 11
For Those Who Answered with Node.js is a server side programming language PHP Manages The Server With Better Performance For Knowledge Python,PHP And SQL Are The Best Programming Languages For Server Side Also You Can Use C# For Services :p Js Is A Good For The Behavior Of The Web Page Or The Program That Is Executed By The Server But Python,PHP And SQL Are Used For Managing,Editing And Changing Settings On Server Or Managing Some Data In The Simplest Way To Say It: "PHP Is Inside Preview Of The Server And Js Is Outside Preview Of The Server"
9th Jan 2018, 10:58 AM
warlord
warlord - avatar
+ 10
Why Do You Even Want To Do That ? PHP is a Server Side Programming Language but Js is The Behavior Of A Web Page
9th Jan 2018, 9:00 AM
warlord
warlord - avatar
+ 8
thanks all
27th Dec 2017, 1:35 PM
M Yusril
M Yusril - avatar
+ 2
@warlord node.js code is executed on server-side.
9th Jan 2018, 10:26 AM
Jakub Stasiak
Jakub Stasiak - avatar
+ 1
Well in many cases it is indeed replaced by JS. With certain frameworks js may work just as good on backend as it is on frontend
26th Dec 2017, 12:33 PM
Jakub Stasiak
Jakub Stasiak - avatar