javascript tutorial

Welcome to my JavaScript Tutorials, in which I will be publishing a series of blog posts and code examples with the aim of helping you learn JavaScript.

I will be aiming to provide you with more than enough information and detail to start developing applications. I do strongly suggest you do take time to buy and read JavaScript: The Definitive Guide: Activate Your Web Pages & JavaScript: The Good Parts

The combination of following along with these tutorials, reading those books and having fun with JavaScript will propel you to becoming a JavaScript rock star!

What is JavaScript

JavaScript was introduced in 1995, by an computer services company Netscape.  JavaScript was mostly used for client-side scripting in web pages and the language has been adopted by all major graphical web browsers. It has made modern web applications possible and has in later years evolved to the language of choice for developing full stack web & mobile applications.

Despite what it’s name may seem to infer, JavaScript has nothing to do with the programming language Java. The similarity in names was inspired by marketing decisions rather than good judgement. At the time of it’s introduction, the Java language was heavily marketed and was gaining popularity and was owned by Sun Microsystems

Eloquent JavaScript, 3rd Edition

A Modern Introduction to Programming

Marijn Haverbeke

Reflects the current state of JavaScript

Buy Now Read Review

Why do you need to know JavaScript ?

Richer user experiences on the web & mobile applications are becoming the norm,  and JavaScript has become the go to language to deliver them. Every developer will need to become familiar with JavaScript, because at some point in any application development project they will be exposed to JavaScript.

JavaScript has commonly been used to run on the browser side, but it now being used to write server side applications and with the advent of document database systems such as Mongo DB JavaScript can be used at the database level too.  It is now possible to use JavaScript for full stack development, and this is becoming increasingly popular.

Learning and understanding JavaScript will give your career as a software developer a serious boost!

What is ECMAScript ?

ECMAScript is a standard for a scripting language and JavaScript language is based on the ECMAScript standard.

Is JavaScript exactly the same as ECMAScript ?

No! The core  features of JavaScript are based on the ECMAScript standard but JavaScript also has other additional features that are not in the ECMA specifications.

Getting started with JavaScript

JavaScript is a fun and interesting language to learn. The best way to learn any programming language is to start working with it straight away. You can take the academic approach and start learning all the basics first then start coding, but this usually leads to boredom and stifles your creativity.  However, if you start by trying to build a basic application at first, then start evolving your idea as you go and try to start introducing more concepts to improve your basic programming skills, you’ll always maintain your interest and also start exploring further.

JavaScript libraries & frameworks

The best way to learn JavaScript is to use its native format or what is known as Vanilla JavaScript. However, it’s important to note that a vast majority of JavaScript projects are developed by incorporating many pre-developed libraries and JavaScript programming frameworks.  

Making use of these libraries or frameworks is to assist you in eliminating repetitive coding tasks, or to simplify the development process. However, most of the JavaScript frameworks will assume that you have an understanding of JavaScript in general.

Often libraries & frameworks will implement known JavaScript patterns and practices, assume you have working knowledge of patterns & practices and will often not bother to explain the usage within documentation, so it is a good idea to not only learn how to code in JavaScript, but be able to read and understand code.