SlideShare a Scribd company logo
JAVASCRIPT:
IMPLEMENTATIONS AND
APPLICATIONS
What is JavaScript?
 JavaScript is a front-end scripting language
developed by Netscape for dynamic content.
 It is a programming language that makes a
website interactive
 It is lightweight and can be used as an
Object Oriented Language
How Was JavaScript Created?
 It was first created by Brendan Eich at
Netscape in 1995
 It was named Mocha during development
and released in beta as LiveScript
 Ultimately named JavaScript to piggyback on
the popularity of Java for marketing reasons
JavaScript VS Java
JavaScript Java
Interpreted (not compiled) by client. Compiled byte codes downloaded from server,
executed on client.
Object-oriented. No distinction between types
of objects. Inheritance is through the prototype
mechanism, and properties and methods can be
added to any object dynamically.
Class-based. Objects are divided into classes
and instances with all inheritance through the
class hierarchy. Classes and instances cannot
have properties or methods added dynamically.
Code integrated with, and embedded in,
HTML.
Applets distinct from HTML (accessed from
HTML pages
Variable data types not declared (dynamic
typing).
Variable data types must be declared (static
typing).
Cannot automatically write to hard disk. Cannot automatically write to hard disk
When is JavaScript Executed?
 JavaScript code is Executed during the page
loading or when the browser fires an event
 All statements are executed at page loading
 Some statements define functions that can
be called later
Why JavaScript is Widely Used?
 JavaScript is the only client-side scripting
language
 It runs in a browser so you don’t need to
download any software to use it
 A web page can be used without a
JavaScript but using JavaScript improves a
visitor’s experience
Some Advantages Of JavaScript
JavaScript allows interactivity such as:
 Implementing form validation
 Content loading and changing dynamically
 Implementing AJAX functionality
Some Advantages of JavaScript
 Can read and write HTML element and
modify the DOM structure
 Can handle exceptions
Using The JavaScript Code
 The JavaScript code can be placed in the
<script> tag in the head
<script> tag in the body
 There are two types of files used with the
JavaScript language:
1) Including it’s code in any other file for
example an HTML file or in any other script
or non script-based file
2) The file in this case would have the
extension appropriate to the type of file for
example .htm or .html for an HTML file.
3) Another way is to create a file that uniquely
contains JavaScript code with .js extension
Writing the First JavaScript
<html>
<body>
<head>
<script type="text/javascript">
document.write('Hello JavaScript!');
</script>
</head>
</body>
</html>
JavaScript: Implementations And Applications
THE DOCUMENT OBJECT MODEL(DOM)
 The way that document content is accessed
and modified is called the Document Object
Model, or DOM. The Objects are organized
in a hierarchy. This hierarchical structure
applies to the organization of objects in a
Web document.
 Window object: Top of the hierarchy. It is
the outmost element of the object hierarchy.
 Document object: Each HTML document
that gets loaded into a window becomes a
document object. The document contains the
content of the page.
 Form object: Everything enclosed in the
<form>...</form> tags sets the form object.
 Form control elements: The form object
contains all the elements defined for that
object such as text fields, buttons, radio
buttons, and checkboxes.
Implementation Of JavaScript
 Rhino is an open-source implementation of
JavaScript written entirely in java.
 It is typically embedded into java applications
to provide scripting to end users.
Conclusion
 JavaScript is a programming language that is
widely used and will become more popular in
the future with the advancement of
technology.
 It is also used an Object Oriented Language
Sources
-> W3Schools.com-some tutorials on the
basics of JavaScript
-> SlideShare.net- implementing ideas
-> tutorialpoint.com
-> quora.com

More Related Content

PDF
Introduction to web programming with JavaScript
T11 Sessions
 
PDF
Javascript
Momentum Design Lab
 
PPTX
Introduction to JavaScript Basics.
Hassan Ahmed Baig - Web Developer
 
PDF
Java I/o streams
Hamid Ghorbani
 
PPTX
2. Classes | Object Oriented Programming in JavaScript | ES6 | JavaScript
pcnmtutorials
 
PPTX
Client side scripting and server side scripting
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
Friend function & friend class
Abhishek Wadhwa
 
PPTX
Delegates and events in C#
Dr.Neeraj Kumar Pandey
 
Introduction to web programming with JavaScript
T11 Sessions
 
Introduction to JavaScript Basics.
Hassan Ahmed Baig - Web Developer
 
Java I/o streams
Hamid Ghorbani
 
2. Classes | Object Oriented Programming in JavaScript | ES6 | JavaScript
pcnmtutorials
 
Client side scripting and server side scripting
baabtra.com - No. 1 supplier of quality freshers
 
Friend function & friend class
Abhishek Wadhwa
 
Delegates and events in C#
Dr.Neeraj Kumar Pandey
 

What's hot (20)

PPT
JavaScript & Dom Manipulation
Mohammed Arif
 
PPTX
Javascript
Nagarajan
 
PPTX
JavaScript Promises
L&T Technology Services Limited
 
PPTX
Java Server Pages(jsp)
Manisha Keim
 
PDF
jQuery Tutorial For Beginners | Developing User Interface (UI) Using jQuery |...
Edureka!
 
PPTX
JAVA AWT
shanmuga rajan
 
PPT
Cookies & Session
university of education,Lahore
 
PPTX
Static Members-Java.pptx
ADDAGIRIVENKATARAVIC
 
PPTX
Static Data Members and Member Functions
MOHIT AGARWAL
 
PDF
Asynchronous JavaScript Programming
Haim Michael
 
PPT
Jsp ppt
Vikas Jagtap
 
PDF
Files and streams
Pranali Chaudhari
 
PPTX
for loop in java
Majid Ali
 
PPTX
Data types in java
HarshitaAshwani
 
PPTX
Lab #2: Introduction to Javascript
Walid Ashraf
 
PPTX
JavaScript Event Loop
Designveloper
 
PPTX
Java beans
Rajkiran Mummadi
 
PPT
Windows internals
Piyush Jain
 
PPTX
INHERITANCE IN JAVA.pptx
NITHISG1
 
JavaScript & Dom Manipulation
Mohammed Arif
 
Javascript
Nagarajan
 
JavaScript Promises
L&T Technology Services Limited
 
Java Server Pages(jsp)
Manisha Keim
 
jQuery Tutorial For Beginners | Developing User Interface (UI) Using jQuery |...
Edureka!
 
JAVA AWT
shanmuga rajan
 
Static Members-Java.pptx
ADDAGIRIVENKATARAVIC
 
Static Data Members and Member Functions
MOHIT AGARWAL
 
Asynchronous JavaScript Programming
Haim Michael
 
Jsp ppt
Vikas Jagtap
 
Files and streams
Pranali Chaudhari
 
for loop in java
Majid Ali
 
Data types in java
HarshitaAshwani
 
Lab #2: Introduction to Javascript
Walid Ashraf
 
JavaScript Event Loop
Designveloper
 
Java beans
Rajkiran Mummadi
 
Windows internals
Piyush Jain
 
INHERITANCE IN JAVA.pptx
NITHISG1
 
Ad

Viewers also liked (18)

PPTX
EXPOSICIÓN DE MOTIVOS."MRV"
charly edinson cabanillas silva
 
PPTX
Q6. Evaluation.
karleab
 
PPTX
17 HR Weekend: Indirect sales in Human Resources Management
JobTiger Ltd.
 
PDF
BetaCodexC1 - Case Study "Paradigma" on Transformation
Gebhard Borck
 
PPTX
Проект программного бюджета на 2016–2017 гг.─ позиция Европейского региона
WHO Regional Office for Europe
 
DOCX
Sale manager performance appraisal
lindacami643
 
DOCX
Kimia2
amaen
 
PPT
Семінар з фізики
Teslevych
 
PPSX
Blog Theme
Muhammad Taufan
 
PPS
Models of Instructional Design
twolapcats
 
PPTX
Early history of jefferson county, iowa 08 10
Tricia Slechta
 
PPTX
Evaluation 1
asmediag12
 
PPS
Swine Flu Info
venkatesh y
 
PPT
Unesco
lykagtri
 
PPTX
ACRL 2015 Scholarship Breakfast
Emily Ford
 
PPT
用 增額終身壽險作 退休規劃
康 明發
 
EXPOSICIÓN DE MOTIVOS."MRV"
charly edinson cabanillas silva
 
Q6. Evaluation.
karleab
 
17 HR Weekend: Indirect sales in Human Resources Management
JobTiger Ltd.
 
BetaCodexC1 - Case Study "Paradigma" on Transformation
Gebhard Borck
 
Проект программного бюджета на 2016–2017 гг.─ позиция Европейского региона
WHO Regional Office for Europe
 
Sale manager performance appraisal
lindacami643
 
Kimia2
amaen
 
Семінар з фізики
Teslevych
 
Blog Theme
Muhammad Taufan
 
Models of Instructional Design
twolapcats
 
Early history of jefferson county, iowa 08 10
Tricia Slechta
 
Evaluation 1
asmediag12
 
Swine Flu Info
venkatesh y
 
Unesco
lykagtri
 
ACRL 2015 Scholarship Breakfast
Emily Ford
 
用 增額終身壽險作 退休規劃
康 明發
 
Ad

Similar to JavaScript: Implementations And Applications (20)

DOC
Basics java scripts
ch samaram
 
PDF
CS8651- Unit 2 - JS.internet programming paper anna university -2017 regulation
amrashbhanuabdul
 
PPTX
Java script Basic
Jaya Kumari
 
PPTX
Java script introduction
Jesus Obenita Jr.
 
PPTX
Introduction to JavaScript
ApxicTechnologies1
 
PPT
JAVA SCRIPT
Go4Guru
 
DOC
Java script by Act Academy
actanimation
 
PDF
WEB PROGRAMMING UNIT II BY BHAVSINGH MALOTH
Bhavsingh Maloth
 
PDF
Web programming UNIT II by Bhavsingh Maloth
Bhavsingh Maloth
 
PDF
JS BASICS JAVA SCRIPT SCRIPTING
Arulkumar
 
PPTX
Client side scripting using Javascript
Bansari Shah
 
PPTX
JavaScript_III.pptx
rashmiisrani1
 
PPTX
Introduction to Java script for web .pptx
FahimMousa
 
PPTX
Java script Session No 1
Saif Ullah Dar
 
PPT
Java script202
Wasiq Zia
 
PDF
8.-Javascript-report powerpoint presentation
JohnLagman3
 
PPTX
Java Script - A New Look
rumsan
 
PPTX
Java script
Abhishek Kesharwani
 
PPTX
Javascript 01 (js)
AbhishekMondal42
 
PDF
javascriptPresentation.pdf
wildcat9335
 
Basics java scripts
ch samaram
 
CS8651- Unit 2 - JS.internet programming paper anna university -2017 regulation
amrashbhanuabdul
 
Java script Basic
Jaya Kumari
 
Java script introduction
Jesus Obenita Jr.
 
Introduction to JavaScript
ApxicTechnologies1
 
JAVA SCRIPT
Go4Guru
 
Java script by Act Academy
actanimation
 
WEB PROGRAMMING UNIT II BY BHAVSINGH MALOTH
Bhavsingh Maloth
 
Web programming UNIT II by Bhavsingh Maloth
Bhavsingh Maloth
 
JS BASICS JAVA SCRIPT SCRIPTING
Arulkumar
 
Client side scripting using Javascript
Bansari Shah
 
JavaScript_III.pptx
rashmiisrani1
 
Introduction to Java script for web .pptx
FahimMousa
 
Java script Session No 1
Saif Ullah Dar
 
Java script202
Wasiq Zia
 
8.-Javascript-report powerpoint presentation
JohnLagman3
 
Java Script - A New Look
rumsan
 
Java script
Abhishek Kesharwani
 
Javascript 01 (js)
AbhishekMondal42
 
javascriptPresentation.pdf
wildcat9335
 

Recently uploaded (20)

PDF
Why Your AI & Cybersecurity Hiring Still Misses the Mark in 2025
Virtual Employee Pvt. Ltd.
 
PPTX
How to Build a Scalable Micro-Investing Platform in 2025 - A Founder’s Guide ...
Third Rock Techkno
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PPTX
Smart Infrastructure and Automation through IoT Sensors
Rejig Digital
 
PDF
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
PDF
Revolutionize Operations with Intelligent IoT Monitoring and Control
Rejig Digital
 
PDF
REPORT: Heating appliances market in Poland 2024
SPIUG
 
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
PDF
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
PDF
DevOps & Developer Experience Summer BBQ
AUGNYC
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Software Development Company | KodekX
KodekX
 
Why Your AI & Cybersecurity Hiring Still Misses the Mark in 2025
Virtual Employee Pvt. Ltd.
 
How to Build a Scalable Micro-Investing Platform in 2025 - A Founder’s Guide ...
Third Rock Techkno
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Smart Infrastructure and Automation through IoT Sensors
Rejig Digital
 
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
Revolutionize Operations with Intelligent IoT Monitoring and Control
Rejig Digital
 
REPORT: Heating appliances market in Poland 2024
SPIUG
 
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
DevOps & Developer Experience Summer BBQ
AUGNYC
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Software Development Company | KodekX
KodekX
 

JavaScript: Implementations And Applications

  • 2. What is JavaScript?  JavaScript is a front-end scripting language developed by Netscape for dynamic content.  It is a programming language that makes a website interactive  It is lightweight and can be used as an Object Oriented Language
  • 3. How Was JavaScript Created?  It was first created by Brendan Eich at Netscape in 1995  It was named Mocha during development and released in beta as LiveScript  Ultimately named JavaScript to piggyback on the popularity of Java for marketing reasons
  • 4. JavaScript VS Java JavaScript Java Interpreted (not compiled) by client. Compiled byte codes downloaded from server, executed on client. Object-oriented. No distinction between types of objects. Inheritance is through the prototype mechanism, and properties and methods can be added to any object dynamically. Class-based. Objects are divided into classes and instances with all inheritance through the class hierarchy. Classes and instances cannot have properties or methods added dynamically. Code integrated with, and embedded in, HTML. Applets distinct from HTML (accessed from HTML pages Variable data types not declared (dynamic typing). Variable data types must be declared (static typing). Cannot automatically write to hard disk. Cannot automatically write to hard disk
  • 5. When is JavaScript Executed?  JavaScript code is Executed during the page loading or when the browser fires an event  All statements are executed at page loading  Some statements define functions that can be called later
  • 6. Why JavaScript is Widely Used?  JavaScript is the only client-side scripting language  It runs in a browser so you don’t need to download any software to use it  A web page can be used without a JavaScript but using JavaScript improves a visitor’s experience
  • 7. Some Advantages Of JavaScript JavaScript allows interactivity such as:  Implementing form validation  Content loading and changing dynamically  Implementing AJAX functionality
  • 8. Some Advantages of JavaScript  Can read and write HTML element and modify the DOM structure  Can handle exceptions
  • 9. Using The JavaScript Code  The JavaScript code can be placed in the <script> tag in the head <script> tag in the body  There are two types of files used with the JavaScript language:
  • 10. 1) Including it’s code in any other file for example an HTML file or in any other script or non script-based file 2) The file in this case would have the extension appropriate to the type of file for example .htm or .html for an HTML file. 3) Another way is to create a file that uniquely contains JavaScript code with .js extension
  • 11. Writing the First JavaScript <html> <body> <head> <script type="text/javascript"> document.write('Hello JavaScript!'); </script> </head> </body> </html>
  • 13. THE DOCUMENT OBJECT MODEL(DOM)
  • 14.  The way that document content is accessed and modified is called the Document Object Model, or DOM. The Objects are organized in a hierarchy. This hierarchical structure applies to the organization of objects in a Web document.  Window object: Top of the hierarchy. It is the outmost element of the object hierarchy.
  • 15.  Document object: Each HTML document that gets loaded into a window becomes a document object. The document contains the content of the page.  Form object: Everything enclosed in the <form>...</form> tags sets the form object.  Form control elements: The form object contains all the elements defined for that object such as text fields, buttons, radio buttons, and checkboxes.
  • 16. Implementation Of JavaScript  Rhino is an open-source implementation of JavaScript written entirely in java.  It is typically embedded into java applications to provide scripting to end users.
  • 17. Conclusion  JavaScript is a programming language that is widely used and will become more popular in the future with the advancement of technology.  It is also used an Object Oriented Language
  • 18. Sources -> W3Schools.com-some tutorials on the basics of JavaScript -> SlideShare.net- implementing ideas -> tutorialpoint.com -> quora.com