Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
38 views

Javascript

Javascript is a lightweight, interpreted programming language that adds interactivity to websites. It allows manipulation of web page content and interaction with users. Javascript can run on both the client-side in web browsers and server-side with technologies like Node.js. Major browsers like Chrome, Firefox, and Safari support Javascript through internal engines like V8, SpiderMonkey, and SquirrelFish that compile Javascript to machine code.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

Javascript

Javascript is a lightweight, interpreted programming language that adds interactivity to websites. It allows manipulation of web page content and interaction with users. Javascript can run on both the client-side in web browsers and server-side with technologies like Node.js. Major browsers like Chrome, Firefox, and Safari support Javascript through internal engines like V8, SpiderMonkey, and SquirrelFish that compile Javascript to machine code.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 15

JAVASCRIPT

Tutorial
• What is JS?
• What are Unique features and
concepts?
• Why to learn js?
Introduction • Compare with other language
• How to Interact with the browser
DOM(Document Object Model)
• Client-side scripting language
• Using server side as well
• A full-fledged dynamic programming
What is language
• Adds interactivity to website or can
JavaScript? provide dynamic interactivity on
websites
• JavaScript was developed by Brendan
Eich in 1995
• which appeared in Netscape(popular
browser of that time).
• The language was initially
History Of JS called LiveScript and was later
renamed JavaScript
• There is no relation with Java.
• As it evolved, JavaScript became a fully
independent language with its own
specification called ECMAScript.
DOM Tree
• Lightweight
• Interpreted or Just-in-time compiled
programming language – means
compilation during execution of a
program at run time
• First-class Function - function treated
Features of like any other variable, passed as
JavaScript argument
• Scripting language for web pages and
for other non browser environments
• Single threaded
• The standard for JavaScript is
ECMAScript. 
Where • Client Side - Browser
• Server Side - NodeJS, Apache
JavaScript CouchDB, Adobe Acrobat
Run?
• Chrome and Opera – V8 Engine
• Firefox – SpiderMonkey
Browsers • IE – Trident and Chakra

support JS •

Microsoft Edge – ChakraCore
Safari – Nitro and SquirrelFish
• It embedded and runs in the browser
• JavaScript Virtual Machine
• The engine reads the script.

How do • converts /compiles script to the


machine language.
engines work? • machine code runs
• functionality depends on the environment it's
running on(browser or Node.js)
• Node.js supports functions which allows
JavaScript to read and write arbitrary files,
perform network requests, object-oriented
• In-browser JavaScript also allows perform
What js can webpage manipulation, interaction with the
user and with the web server
do in • Show dynamic content based on the user
profile
browser? • React to user's operations, like mouse clicks
events, key presses or pointer movements
• Support features like auto-validated form
entries and interactive drop-down menus
• Allows the data on to be stored in the local
storage
• ECMAScript is a specification governed
by ECMA international aimed at
standardizing JavaScript.
• ECMAScript 3 (December 1999)
Where is • ECMAScript 4 (July 2008)
JavaScript •

ECMAScript 5 (December 2009)
ECMAScript 6(2015)
Today? • ECMAScript 7(2016)
• ECMAScript 8(2017)
• ECMAScript 9(2018)
• Native Javascript
• Client Side frameworks
• jQuery
• React
• Angular
• Electron
FrameWorks • Etc..
• Serve Side frameworks
• NodeJS
• Express
• TensorFlow.js
• Hybrid Mobile Development
• Apache Cordova Framework
• To write a code:
.Notepad++
.VS Code
Tools .Sublime Text
. Atom
. To execute it need any browser
• HTML(Hyper Text Markup Language)
Prerequisites • CSS(Cascade Style Sheets)
• Any programming language(Optional)
THANK YOU

You might also like