Javascript has really gained a lot of space in recent years, mainly due to changes in the web development scenario. With the advent and popularity of libraries like Angularjs, it was possible to further reduce the dependency of a server-side language (such as Java, C#, PHP, etc.) on web projects.
To complete, the rise of Node.js allowed the development of complete web applications using only Javascript as a programming language (of course, HTML and CSS in the layout part).
So, it is possible to use only Javascript, but this choice will depend a lot on the situation and the programmer. I, for example, work with C# and PHP very well and do not see the need to use Node.js in the back-end of my applications, but it is good to know that this is possible and if at some point this is a requirement or advantage for a project, I will use it without problems. For example, Microsft Azure supports developing cloud services with Node.js, but also (obvious) supports C#, so for now I’m staying with C#.
Javascript, however, will always be present in the front-end of applications, acting in the validation part, Ajax, animations, etc.
I hope I helped. A hug.
I don’t know if it’s gonna get shut down because it’s based on opinions, but
Javascript
is client side, whileJava
is server side, so it is as per your need and one does not eliminate the other.– Maicon Carraro
I get it, I don’t know much about Javascript and almost no use in web systems I do in java. That’s one of the reasons for this doubt too.
– DiegoAugusto
From a researcher on nodejs and Angularjs
– Maicon Carraro
All right, I’ll look it up
– DiegoAugusto