+ 11
Can PHP be replaced with JS?
I don't know the difference from both of that.
6 Réponses
+ 13
With node.js you can. Actually, node.js is better than php.
+ 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"
+ 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
+ 8
thanks all
+ 2
@warlord node.js code is executed on server-side.
+ 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