I don't believe that anyone is really moving to another language, but rather doing more projects in a language because of each of the benefits that the language can offer.
I, personally use Node.js for most of my "biggest" projects, such as infrastructure websites and of those sorts. This is because I find it most comfortable making realtime applications with Node.
When using PHP, I would go for smaller websites (though I have done bigger projects with PHP), such as blogs, shops etc.
Though, in school, most students will come across Java or Javascript. This makes it easier for those who are going to turn out to be web-developers later in their life to use Node.js. And as long as this continues in school, then many applications on the web is going to be on Node.js.
Personally, I find both languages amazing. And, I don't think any of them are going to get replaced by the other.
Source:
SOURCE: hi, how do i call
try this
<html> <head> <title>Test</title> <script
src="test.js" type="text/javascript"></script> </head> <body> <?php echo
'<script
type="text/javascript">someFunction();</script>'; ?> </body> </html> Good Luck
<html>
<head>
<title>Test</title>
<script
src="test.js" type="text/javascript"></script>
</head>
<body>
<?php
echo
'<script
type="text/javascript">someFunction();</script>';
?>
</body>
</html>
Good Luck
41 views
Usually answered in minutes!
×