Jan. 17, 2021, 9:07 p.m.
What is Javascript - Features and usages
To be answering 3 based questions here first and foremost what is JavaScript? and where it can be applied? The second important question is, what is the difference between Java and JavaScript and yes we are still doing that question. And the third thing is what is this ES6, ES7 in javascript. All these terms which every new beginners here is quite a lot but don't even have a single thought about what actually it means and why it is being talked quite a lot with JavaScript. The first let's get started with JavaScript.
Now it amuses me a little bit when I ask any experienced programmer who has been working quite a lot but haven't touched the JavaScript or hasn't been involved in the JavaScript news lately and he just says it's just the client language or client-side language and although he is technically totally correct that's not it. JavaScript can be and is a lot more than what it used to be. JavaScript was designed simply to run in a browser but it is doing a lot more than the time that you have the memory of that.
Even the definition on Wikipedia is a little bit strange and honestly that little bit hard to understand. Tt just says, JavaScript of an abbreviated as js, high-level interpreted programming language and further, it says it is also characterized by the dynamic weekly type prototype-based. All these things are true but it doesn't give you any sense of what JavaScript is and what it can actually do.
I do completely agree here that JavaScript is a client-side language and was totally used in the browser for performing a variety of web-based things in the past but after that JavaScript has evolved a lot. In the previous days if we have to talk a little bit about the server what we used to do is we wrapped over SQL Query, we pack them into the PHP , Python and Ruby are the languages which are server-side languages and only capable to talk to the server we used to wrap these queries and send to the server and then get a result back in the PHP and display that on the web page.
Yes, that's totally true but now your JavaScript can do all these things as well. The Next question that comes away if I'll be writing all these codes in JavaScript and since JavaScript is a client-side language and usually all that code is submitted to the client as well. No, it doesn't JavaScript has evolved a lot from the memory that you have. Now all of a javascript code that you wright it's your choice totally that whether this code should reach to the client-side or it should only serve on to the server. 1 example could be node JS, an entire web server Framework or entire thing which can handle all of your server-side things and yes totally in JavaScript.
Features of Javascript So for that I have to give you a little bit examples of what are the capabilities of JavaScript. First and foremost node.js. Like its entire thing, entire package with can deal up like everything in the server-side you can write your queries are you can handle all the tasks that you are able to do in PHP or Ruby or Python or any other language. It can serve as a totally server-side language as well and I am pretty sure that you might have heard about the node JS and it's raising its popularity and that's just one thing, so if you ask me hey it can do you like to web thing from the front side and back side & that's it. No, it's not.
JavaScript is evolving a lot and you might have heard about the project known as react and using react JS you can design your application just one single code base and that can run on to mobile as well as IOS, Android, web. There is react-native to so it's popular there. Of course, we cannot deny the popularity of Angular JS, your one Framework for mobile and desktop just like almost react but few additional things few less than here and there but again regardless of that you might have heard about that and also the popular Framework which is getting really good popularity nowadays is electron JS.
Again design to make a desktop application in just HTML CSS and JavaScript and is gaining a lot of popularity. And on top of that VUE JS, a beautiful progressive JavaScript Framework which can help you to design beautiful and amazing animations for the web total in that. Now just to extend the things on too much for the level these two examples are given you extensive detail that how JavaScript is gaining its popularity and how is it becoming popular every single day.
Notice the one here with his react VR. Yes, you can design your total virtual reality experience in simple JavaScript. Also, the recent announcement of the tensorflow.js Proves the popularity of the JavaScript that yes even the machine learning task will soon be able to perform in just JavaScript. Now as of now we totally depend on either Python or in machine learning but now it can be JavaScript as well and very soon you can be seeing that. And yes all of this is totally possible in JavaScript but not the JavaScript that you have memories or have heard about in those old books or maybe old college curriculum. JavaScript has evolved a lot.
Java vs Javascript Now this brings us to the next Question which still we are doing a is what's the difference between JavaScript and Java? This was probably the worst decisions that javascript ever made is named it after Java and yes at that time of the period Java was having so much popularity that it dominated and the decision was so poor the language that introduced in 1995 and still we are making in its 2020 is almost gone and we are still making the videos on Java vs JavaScript the similarity is similar to this example here what is the similarity between a car and a carpet? Yes, exactly NO similarities at all apart from the word car included in the carpet. It doesn't have an engine in carpet, doesn't have an engine, it doesn't have wheels or anything like that but still a car and carpet is similar in saying and that's exactly what it is in Java and JavaScript. No similarity at all. There is no dependence of Java into JavaScript or JavaScript into java. It's probably was the worst decision of naming it after and from 1995 still, we are making videos and textbook and writing this that Hey!! there is nothing to do it at all and probably for the next few years, we are gonna still doing this.
What Is ES6 or ECMAScript The next big question is, what is es6 Or ECMAScript? This is kind of standardization now in 1995 Netscape actually created the JavaScript. JavaScript is really an old language in 1995 and that time of period programmers was really obsessed with naming everything after coffee and that eventually came as JavaScript. This project was actually created on the name of mauka, yes programmers was so obsessed with naming everything after coffee then it came on to life-Script and then finally got changed into JavaScript.
So 1995 the Netscape actually started working on a project in data JavaScript finally and release that. Now after that soon people realise that we need standardization of this language so that not every browser and manipulate it based on their needs. So this European computer manufacture association came out and declared standardisation for it known as es1 in 1997.
Soon after that the ES2 ES3 and all that came around and in 2009-10 es5 came up with a few good new features which are map and for-each and by the way, I just miss that I have actually replicated in 2009-10 twice but it's not in 2009-10 the new features like map and for each thing came up. At the initial level, JavaScript didn't have the concept of even the classes and objects but now we have all of them.
So in 2015 ES6 actually came up and in 2017 the ES7 came up and now already we are having specs of ES8 as well and a lot of new features included. These are the new features but you don't have to worry anything about them at all the things that you can be learning in the JavaScript are completely applicable and obviously there will be more versions and that doesn't mean that the previous things are gonna be gone. No, they are not. It's just only about adding of few new features that you can have a language and that pretty much is, all the things that you gonna learning are completely applicable even to the newer version as well and they will be just a few new features that you can pick up on the go and can work with that.
Some recent posts
How to deploy a django website on pythonanywhere | django Web app deploying...
Complete process of changing database from SQLite to MySQL - How to migrat...
" How to download a file in django | Making a large file downloadable from ...
How to use proxy in python requests | http & https proxies - Scraping...
Top Django Querysets, How to filter records | Fetching data from database e...
How to change base url or domain in sitemap - Django ...
How to Make a Website - Everything you should know about web development...
What is Javascript - Features and usages ...
Top 5 Interview Questions : Tips for HR round ...
How to get job in IT : Perfect resume guide for IT job ...
View all...
Popular Posts
How to compress image before saving to DBMigrating from SQLite to MySQL in Django
Choosing correct M.2 SSD
How to deploy a web app on pythonanywhere
5 Steps to create sitemap in Django
How to send mails automatically in Django
Handling arguments in django urls
Media and Static configuration in Django
Language Translation & detection using python
React Js vs Angular Js
5 Tips to improve Programming Logics