When JavaScript was evolved basically it was used to write a small amount of code within the web page by hand, not by any automated code generated tool (probably those inventor guys had not enough vision to imagine modern jQuery and other third-party libraries). So those codes were called scripts and so that it's JavaScript.
When the internet began to be smart
Long ago by introducing the concept of DHTML in web applications. Now, what is DHTML? Is it another language? No, It's just a practice to change (read play) the DOM model using JavaScript. So, DHTML is not a language but a way to insert/update/delete the existing DOM model of web pages.
And hence, the golden era of the internet had begun. So, we can say that JavaScript has taken the great role behind the modern web (yes, the smartness of server-side language is in our mind).
And, from my little personal experience, I can provide the prediction that one day JavaScript will work in parall with server-side languages. What do you think? Leave your view in the comment section.
Nowadays, a huge number of JavaScript library is coming in the market; what are they not doing? From DOM changes to form validation, even talking with databases (SQLite currently) and real-time communication. It has the power to process XML and JSON data that is like hot cakes in the modern web, various services have come in the market (WCF, Web API and so on) and jQuery has many functions to talk with them. So, everything happens using JavaScript.
Ajax made it smarter
In the above paragraph, we were talking about the smart web, but the modern web is more than that, smarter. If we see any modern (such as FaceBook, Twitter, Google+) web application we can observe many ultra-modern behaviors. Real-time notification is popping up within a fraction of a second, people are chatting, posting, tagging, commenting and doing much more.
Think about the comment section that is created by pressing a comment button on FaceBook. How does the section get generated dynamically? Ultimately the DOM model is getting changed. Right? And JavaScript has the capability to do the magic-using Ajax. Since this article is entitled with the word "Advanced" and you are still reading; that means you know very well how Ajax is useful in a web page. I don't want to bore you by explaining.
Conclusion
Ok. I am planning to conclude this article. I hope you will agree with the great future of JavaScript in the modern web. Happy learning.
Join the conversation! Your thoughts help the community grow.