0% found this document useful (0 votes)
3 views

Introduction To JavaScript

Uploaded by

Simo Renato
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Introduction To JavaScript

Uploaded by

Simo Renato
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Introduction to JavaScript

1. Goal
 Understand the characteristics of the JavaScript language.
 Understand the role of JavaScript in a web application.

2. What is JavaScript?
History of JavaScript

JavaScript was developed in 1995 by Brenden Eich of Netscape


Communications, and was named JavaScript because Java was the
language that was gaining momentum at the time. Since its birth,
JavaScript has long been used as a language to improve the appearance
of web browsers.

However, due to the low processing power of browsers at the time and
the inability to create complex programs, it was considered a "simple
scripting language" and did not develop significantly.
After that, JavaScript was used in web applications such as Google Maps,
and it came to be recognized as a programming language capable of
creating highly functional web applications.

Features of JavaScript

JavaScript is a scripting language


There are two types of programming languages: compiling
languages and scripting languages
A program written in a language is called source-code, but in order to
run the program, the source code must be read by a computer.
The process of translating the source code into a machine language that
the computer can understand is called compiling.

In the case of compiled languages, the compilation process is required


when the program is executed.

JavaScript is an object-oriented language


If you've never heard the term "object-oriented" before, or if you've
heard it before but didn't understand it, don't worry.
Understanding object orientation is a bit difficult, but you will gradually
come to understand it through your future studies of JavaScript.
For now, just learn the words and move on with your learning.
Perhaps some of you may be familiar with Ruby's object-oriented
approach.
Ruby is a class-based object-oriented language、Javascript is a
prototype-based object-oriented language.
This series does not cover prototype-based object-oriented
programming, but it is a good place to start learning JavaScript basics
and beyond.

3. JavaScript with multiple aspects


Client-side JavaScript as a front-end program

JavaScript that runs in the browser is called client-side JavaScript.


JavaScript is mainly responsible for the front end of a web application.
It is so well known as a front-end language that it is often referred to as
"the language of the front end.
This is because JavaScript provides a full range of browser APIs, such as
the DOM, which is the ability to manipulate elements of an HTML
document from JavaScript.
AnAPIis a part of software or an application that is open to the public so
that external software can use it; the browser provides JavaScript with
APIs for the DOM and the ability to manipulate the browser and windows
from JavaScript.
This is unique to JavaScript and not found in any other language, which
is why JavaScript is primarily used as client-side JavaScript.

In addition, HTML5 now has a variety of APIs for creating JavaScript web
applications, including the ability to drag and drop files.
By learning client-side JavaScript, you will be able to develop highly
functional web applications.

Server-side JavaScript as a back-end program

JavaScript is often used as a front-end language that runs in the browser,


but it also has an aspect as a back-end language that can be used in the
server.
JavaScript running on the server. It's called Server-side JavaScript
The backend languages that run on servers include PHP and Ruby, but
you can actually use JavaScript.

4. Current JavaScript and ECMAScript


JavaScript has diverse aspects, including client-side and server-side
JavaScript, but its core technology is specified as ECMAScript .
ECMAScript is standardized and published by an organization called
ECMA (Ecma International), and versions are updated.
Both client-side and server-side developers need to learn this
ECMAScript content well first.
In this text, you will learn ECMAScript6 , which was recommended in
2015.

5. Summary
 There are two types of JavaScript: client-side JavaScript and
server-side JavaScript, and client-side JavaScript is mainly used.
 The core technology of JavaScript is ECMAScript.

You might also like