Java to
Javascript is
like
Car to Carpet
Brendan Eich
He is an American computer
programmer and technology
executive.
He created the JavaScript
programming language and
co-founded the Mozilla
project.
JavaScript
(Founded on 4 Dec 1995)
JavaScript often abbreviated as JS, is a programming language
that conforms to the ECMAScript specification.
JavaScript is high-level language.
It has dynamic typing.
Has prototype based object orientation.
Has first class functions.
Ecma Script
JavaScript is an implementation of the ECMAScript
standard.
The ECMAScript only defines the syntax/characteristics
of the language.
A basic set of commonly used objects such as Number,
Date, Regular Expression, etc.
Javascript Engine
Web Browsers – (Engine)
V8 Engine Spider Monkey V8 Engine
Web Applications
Front-End
JavaScript Frameworks
React.js Angular.js Vue.js
React is a free and open-source AngularJS is a JavaScript- Vue.js is an open-source model–
front-end JavaScript library for based open-source front-end view front end JavaScript
building user interfaces based web framework for developing framework for building user
on UI components. single-page applications. interfaces and single-page
applications.
It is maintained by Meta and a It is maintained mainly by
community of individual Google and a community of It was created by Evan You, and
developers and companies. individuals and corporations. is maintained by him and the rest
of the active core team members.
Node.js is an open-source, cross-platform, back-end
JavaScript runtime environment that runs on the V8
engine and executes JavaScript code outside a web
browser.
It is used for creating server-side and networking web
applications.
Node.js is mostly used to run real-time server
applications.
Back-End framework
Express is a minimal and flexible Node.js web
application framework that provides a robust set of
features for web and mobile applications.
With a myriad of HTTP utility methods and
middleware at your disposal, creating a robust API is
quick and easy.
Here is how PHP or ASP handles a file request:
1.Sends the task to the computer's file system.
2.Waits while the file system opens and reads the file.
3.Returns the content to the client.
4.Ready to handle the next request.
Here is how Node.js handles a file request:
5.Sends the task to the computer's file system.
6.Ready to handle the next request.
7.When the file system has opened and read the file, the server
returns the content to the client.
Node.js eliminates the waiting, and simply continues with the
next request.
Mobile Applications
React Native is an open-source UI
software framework created by Meta
Platforms, Inc. It is used to develop
applications for Android, ios, Android
TV.
TensorFlow.js is an open-source JavaScript
library built by Google Brain gathering. It
drives hardware acceleration with its complete
and flexible variety of tools.
Due to its deep learning layers and
comprehensive linear algebra, this library has
become the bread and butter for all JavaScript
projects based on Machine Learning.
Synaptic is a well-known JavaScript neural
network library created by MIT that can be used
with Node.js or the browser.
One significant feature of this library is its ability
to build and train any first-order or second-order
neural network architecture due to its
architecture-free algorithm and pre-manufactured
structure.
Brain.jsis a fast processing library because
of the use of GPU for computations. Even if
the GPU is not available, it reverts back to
pure JS and continues to process.
Brain.js provides multiple neural network
implementations and encourages building
training and running those neural networks
on the server-side along with Node.js.
Disadvantages !
Client-Side Security
Since JavaScript code is executed on the client-side, bugs
and oversights can sometimes be exploited for malicious
purposes. Because of this, some people choose to disable
JavaScript entirely.
Browser Support
While server-side scripts always produce the same output,
different browsers sometimes interpret JavaScript code
differently. These days the differences are minimal, and you
shouldn't have to worry about it as long as you test your
script in all major browsers.
RITESH SINGH
CS – C
0133IT201040