Before diving into all the nitty gritty of Javascript with this Javascript complete guide, first let’s know to whom this detailed article is and what to expect from this article.
TO WHOM ?
This article will be more fruitful to you, if you:
- are a beginner on web/mobile development.
- want to level up your basic Javascript knowledge
- want to refresh your javascript knowledge.
- want to understand whole ecosystem of Javascript.
WHAT TO EXPECT ?
- What Javascript is, its limitation, usage in depth.
Now lets go from very beginning by knowing little history about Javascript.
History of Javascript.
Back in 1995, Brendan Eich invented Javascript for Netscape 2 browser. Only on 1997, it became standard with ECMA-262. From Netscape to Mozilla’s to every other browser, Javascript became de facto script for web technologies in the next decade.
When web was first introduced and used publicly, it used to be dumb, in a sense that web pages were used only to show text and image format information on screen. Interaction with the users were not possible and hence were not in pratice. User triggred events like click, scroll and navigation were just too naive. Then came Javascript with which webpages got a new life. With the immense usability of Javascript, the level of interaction and dynamism that can be introduced to web was just limited to the imagination of developers.
Fast forward to today, we can harldy see any web application not leveraging the sweetness that javascript provides to enhance the capabilites of their application. Also now Javascript is not limited only on browser, it went everywhere, literally everywhere. From your pocket to satellite and what not.
Should I Learn Javascript ?
Like we said earlier, Javascript is everywhere. So, learning Javascript will add values on your progress and gives extra bragging chip on your next performance evaluation. Being said that, its not necessary everyone should learn Javascript. But if you want to: (but not limited to)
- Be a Backend Developer
- Be a Frontend Developer
- Be a Hybrid Mobile Application Developer
- Be a Full Stack Developer
- Be a Game Developer
Answer to the question “Should I learn Javascript ?” is YES and the time is NOW
According to StackOverflow 2021:
JavaScript completes its ninth year in a row as the most commonly used programming language. For most developers, programming is web programming.
https://insights.stackoverflow.com/survey/2021
Javascript IDE
Let us explore some of the Javascript IDE that are popular and widely used. Choosing best IDE helps to maximize the productivity of any developer or a team. Here are some of the hand picked IDE that is currently most used in the market.
- Visual Studio Code
- Sublime
- WebStrom
- Atom
- Brackets
Some online editors are:
- CodePen
- JSFiddle
- Codeenvy
Learn Javascript Basics
Let’s get our hands dirty by learning basics of javascirpt. What this basics will do is, it will prepare you to know syntax, datatype and paradigm related to vanila Javascript.
Prerequisite: Access to any editor to write javascript code.
Paradigm
DataType
Syntax
More:
Javascript Usage – What is Javascript Used For ?
Hoping you all now know basics of Javascript. So, lets go litte further by scratching different areas where Javascript is used ( Software/Web Development ). We have divided its usage into frontend and backend. We will go through these individually.
Prerequisite : Node.js Installed – Know How ?
Backend Development
At its early stage, writing Javascript code was only possible for the browser or rather say user facing or frontend side. With Node.js, a whole new window was opened for Javascript, meaning it was possible to run Javascript code on server side as well. With this capabilities, developers started writing server based application in Javascript. So, for the backend development with Javascript knowing Node.js is advantageous. Node.js is capable of handling alomst anything that is required by server side application such as: performing io operation, handling session, logging and many more.
Let’s learn how can we achieve all those functionality of backend development using Javascript. i.e Node.js
OverView
Validation
Database
- MySql with Javascript
- Crash Course Mongo Guide
- Redis as a Cache using Node
- Mysql with Nest.js
- Database Migration Concept
Session : Authentication
- What is JWT ?
- How to Implement JWT ?
Files
MicroService
More
- Nest.js Crash Course – Coming Soon
Frontend Development
With Javascript on frontend, it is mostly used to create interactive interface and functionality so that it adds dynamic behaviour to web applications. There are so many libraries and framework based on Javascript that is dedicated for the frontend development. React, Vue, Angular are the most famous at the time of writing this article.