SlideShare una empresa de Scribd logo
1 de 18
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>
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

Más contenido relacionado

La actualidad más candente

JavaScript - Chapter 8 - Objects
 JavaScript - Chapter 8 - Objects JavaScript - Chapter 8 - Objects
JavaScript - Chapter 8 - ObjectsWebStackAcademy
 
2. Classes | Object Oriented Programming in JavaScript | ES6 | JavaScript
2. Classes | Object Oriented Programming in JavaScript | ES6 | JavaScript2. Classes | Object Oriented Programming in JavaScript | ES6 | JavaScript
2. Classes | Object Oriented Programming in JavaScript | ES6 | JavaScriptpcnmtutorials
 
Javascript variables and datatypes
Javascript variables and datatypesJavascript variables and datatypes
Javascript variables and datatypesVarun C M
 
JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...
JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...
JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...Edureka!
 
JavaScript - Chapter 9 - TypeConversion and Regular Expressions
 JavaScript - Chapter 9 - TypeConversion and Regular Expressions  JavaScript - Chapter 9 - TypeConversion and Regular Expressions
JavaScript - Chapter 9 - TypeConversion and Regular Expressions WebStackAcademy
 
Lab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptLab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptWalid Ashraf
 
Object Oriented Programming with Java
Object Oriented Programming with JavaObject Oriented Programming with Java
Object Oriented Programming with Javabackdoor
 
Introduction of Html/css/js
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/jsKnoldus Inc.
 
JavaScript - An Introduction
JavaScript - An IntroductionJavaScript - An Introduction
JavaScript - An IntroductionManvendra Singh
 
javascript objects
javascript objectsjavascript objects
javascript objectsVijay Kalyan
 
JavaScript & Dom Manipulation
JavaScript & Dom ManipulationJavaScript & Dom Manipulation
JavaScript & Dom ManipulationMohammed Arif
 
Event In JavaScript
Event In JavaScriptEvent In JavaScript
Event In JavaScriptShahDhruv21
 
JavaScript - Chapter 4 - Types and Statements
 JavaScript - Chapter 4 - Types and Statements JavaScript - Chapter 4 - Types and Statements
JavaScript - Chapter 4 - Types and StatementsWebStackAcademy
 

La actualidad más candente (20)

Java script
Java scriptJava script
Java script
 
JavaScript - Chapter 8 - Objects
 JavaScript - Chapter 8 - Objects JavaScript - Chapter 8 - Objects
JavaScript - Chapter 8 - Objects
 
2. Classes | Object Oriented Programming in JavaScript | ES6 | JavaScript
2. Classes | Object Oriented Programming in JavaScript | ES6 | JavaScript2. Classes | Object Oriented Programming in JavaScript | ES6 | JavaScript
2. Classes | Object Oriented Programming in JavaScript | ES6 | JavaScript
 
Javascript variables and datatypes
Javascript variables and datatypesJavascript variables and datatypes
Javascript variables and datatypes
 
JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...
JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...
JavaScript Tutorial For Beginners | JavaScript Training | JavaScript Programm...
 
JavaScript - Chapter 9 - TypeConversion and Regular Expressions
 JavaScript - Chapter 9 - TypeConversion and Regular Expressions  JavaScript - Chapter 9 - TypeConversion and Regular Expressions
JavaScript - Chapter 9 - TypeConversion and Regular Expressions
 
Html form tag
Html form tagHtml form tag
Html form tag
 
Javascript event handler
Javascript event handlerJavascript event handler
Javascript event handler
 
Java script -23jan2015
Java script -23jan2015Java script -23jan2015
Java script -23jan2015
 
Lab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptLab #2: Introduction to Javascript
Lab #2: Introduction to Javascript
 
Object Oriented Programming with Java
Object Oriented Programming with JavaObject Oriented Programming with Java
Object Oriented Programming with Java
 
Introduction of Html/css/js
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/js
 
JavaScript - An Introduction
JavaScript - An IntroductionJavaScript - An Introduction
JavaScript - An Introduction
 
TypeScript - An Introduction
TypeScript - An IntroductionTypeScript - An Introduction
TypeScript - An Introduction
 
Js ppt
Js pptJs ppt
Js ppt
 
javascript objects
javascript objectsjavascript objects
javascript objects
 
Interface
InterfaceInterface
Interface
 
JavaScript & Dom Manipulation
JavaScript & Dom ManipulationJavaScript & Dom Manipulation
JavaScript & Dom Manipulation
 
Event In JavaScript
Event In JavaScriptEvent In JavaScript
Event In JavaScript
 
JavaScript - Chapter 4 - Types and Statements
 JavaScript - Chapter 4 - Types and Statements JavaScript - Chapter 4 - Types and Statements
JavaScript - Chapter 4 - Types and Statements
 

Destacado

Q6. Evaluation.
Q6. Evaluation.Q6. Evaluation.
Q6. Evaluation.karleab
 
17 HR Weekend: Indirect sales in Human Resources Management
17 HR Weekend: Indirect sales in Human Resources Management17 HR Weekend: Indirect sales in Human Resources Management
17 HR Weekend: Indirect sales in Human Resources ManagementJobTiger Ltd.
 
BetaCodexC1 - Case Study "Paradigma" on Transformation
BetaCodexC1 - Case Study "Paradigma" on TransformationBetaCodexC1 - Case Study "Paradigma" on Transformation
BetaCodexC1 - Case Study "Paradigma" on TransformationGebhard Borck
 
Проект программного бюджета на 2016–2017 гг.─ позиция Европейского региона
Проект программного бюджета на 2016–2017 гг.─позиция Европейского регионаПроект программного бюджета на 2016–2017 гг.─позиция Европейского региона
Проект программного бюджета на 2016–2017 гг.─ позиция Европейского регионаWHO Regional Office for Europe
 
Sale manager performance appraisal
Sale manager performance appraisalSale manager performance appraisal
Sale manager performance appraisallindacami643
 
Kimia2
Kimia2Kimia2
Kimia2amaen
 
Семінар з фізики
Семінар з фізикиСемінар з фізики
Семінар з фізикиTeslevych
 
Models of Instructional Design
Models of Instructional DesignModels of Instructional Design
Models of Instructional Designtwolapcats
 
Early history of jefferson county, iowa 08 10
Early history of jefferson county, iowa 08 10Early history of jefferson county, iowa 08 10
Early history of jefferson county, iowa 08 10Tricia Slechta
 
ACRL 2015 Scholarship Breakfast
ACRL 2015 Scholarship BreakfastACRL 2015 Scholarship Breakfast
ACRL 2015 Scholarship BreakfastEmily Ford
 
用 增額終身壽險作 退休規劃
用 增額終身壽險作 退休規劃用 增額終身壽險作 退休規劃
用 增額終身壽險作 退休規劃康 明發
 

Destacado (18)

EXPOSICIÓN DE MOTIVOS."MRV"
EXPOSICIÓN DE MOTIVOS."MRV"EXPOSICIÓN DE MOTIVOS."MRV"
EXPOSICIÓN DE MOTIVOS."MRV"
 
Q6. Evaluation.
Q6. Evaluation.Q6. Evaluation.
Q6. Evaluation.
 
17 HR Weekend: Indirect sales in Human Resources Management
17 HR Weekend: Indirect sales in Human Resources Management17 HR Weekend: Indirect sales in Human Resources Management
17 HR Weekend: Indirect sales in Human Resources Management
 
BetaCodexC1 - Case Study "Paradigma" on Transformation
BetaCodexC1 - Case Study "Paradigma" on TransformationBetaCodexC1 - Case Study "Paradigma" on Transformation
BetaCodexC1 - Case Study "Paradigma" on Transformation
 
Проект программного бюджета на 2016–2017 гг.─ позиция Европейского региона
Проект программного бюджета на 2016–2017 гг.─позиция Европейского регионаПроект программного бюджета на 2016–2017 гг.─позиция Европейского региона
Проект программного бюджета на 2016–2017 гг.─ позиция Европейского региона
 
Sale manager performance appraisal
Sale manager performance appraisalSale manager performance appraisal
Sale manager performance appraisal
 
Kimia2
Kimia2Kimia2
Kimia2
 
Семінар з фізики
Семінар з фізикиСемінар з фізики
Семінар з фізики
 
Blog Theme
Blog ThemeBlog Theme
Blog Theme
 
Models of Instructional Design
Models of Instructional DesignModels of Instructional Design
Models of Instructional Design
 
Early history of jefferson county, iowa 08 10
Early history of jefferson county, iowa 08 10Early history of jefferson county, iowa 08 10
Early history of jefferson county, iowa 08 10
 
Evaluation 1
Evaluation 1Evaluation 1
Evaluation 1
 
Teletron
TeletronTeletron
Teletron
 
Swine Flu Info
Swine Flu InfoSwine Flu Info
Swine Flu Info
 
2
22
2
 
Unesco
UnescoUnesco
Unesco
 
ACRL 2015 Scholarship Breakfast
ACRL 2015 Scholarship BreakfastACRL 2015 Scholarship Breakfast
ACRL 2015 Scholarship Breakfast
 
用 增額終身壽險作 退休規劃
用 增額終身壽險作 退休規劃用 增額終身壽險作 退休規劃
用 增額終身壽險作 退休規劃
 

Similar a JavaScript: Implementations And Applications

Basics java scripts
Basics java scriptsBasics java scripts
Basics java scriptsch samaram
 
Java Script - A New Look
Java Script - A New LookJava Script - A New Look
Java Script - A New Lookrumsan
 
Web programming UNIT II by Bhavsingh Maloth
Web programming UNIT II by Bhavsingh MalothWeb programming UNIT II by Bhavsingh Maloth
Web programming UNIT II by Bhavsingh MalothBhavsingh Maloth
 
WEB PROGRAMMING UNIT II BY BHAVSINGH MALOTH
WEB PROGRAMMING UNIT II BY BHAVSINGH MALOTHWEB PROGRAMMING UNIT II BY BHAVSINGH MALOTH
WEB PROGRAMMING UNIT II BY BHAVSINGH MALOTHBhavsingh Maloth
 
Session vii(java scriptbasics)
Session vii(java scriptbasics)Session vii(java scriptbasics)
Session vii(java scriptbasics)Shrijan Tiwari
 
HTML & JAVA Script
HTML & JAVA ScriptHTML & JAVA Script
HTML & JAVA ScriptNitesh Gupta
 
JAVA SCRIPT
JAVA SCRIPTJAVA SCRIPT
JAVA SCRIPTGo4Guru
 
JS BASICS JAVA SCRIPT SCRIPTING
JS BASICS JAVA SCRIPT SCRIPTINGJS BASICS JAVA SCRIPT SCRIPTING
JS BASICS JAVA SCRIPT SCRIPTINGArulkumar
 
Java script by Act Academy
Java script by Act AcademyJava script by Act Academy
Java script by Act Academyactanimation
 
INTRODUCTION TO CLIENT SIDE PROGRAMMING
INTRODUCTION TO CLIENT SIDE PROGRAMMINGINTRODUCTION TO CLIENT SIDE PROGRAMMING
INTRODUCTION TO CLIENT SIDE PROGRAMMINGProf Ansari
 
Empowerment Technologies Lecture 11 (Philippines SHS)
Empowerment Technologies Lecture 11 (Philippines SHS)Empowerment Technologies Lecture 11 (Philippines SHS)
Empowerment Technologies Lecture 11 (Philippines SHS)John Bosco Javellana, MAEd.
 
Basic JavaScript Tutorial
Basic JavaScript TutorialBasic JavaScript Tutorial
Basic JavaScript TutorialDHTMLExtreme
 
Basic Java script handouts for students
Basic Java script handouts for students Basic Java script handouts for students
Basic Java script handouts for students shafiq sangi
 

Similar a JavaScript: Implementations And Applications (20)

Basics java scripts
Basics java scriptsBasics java scripts
Basics java scripts
 
Java Script - A New Look
Java Script - A New LookJava Script - A New Look
Java Script - A New Look
 
Web programming UNIT II by Bhavsingh Maloth
Web programming UNIT II by Bhavsingh MalothWeb programming UNIT II by Bhavsingh Maloth
Web programming UNIT II by Bhavsingh Maloth
 
WEB PROGRAMMING UNIT II BY BHAVSINGH MALOTH
WEB PROGRAMMING UNIT II BY BHAVSINGH MALOTHWEB PROGRAMMING UNIT II BY BHAVSINGH MALOTH
WEB PROGRAMMING UNIT II BY BHAVSINGH MALOTH
 
Session vii(java scriptbasics)
Session vii(java scriptbasics)Session vii(java scriptbasics)
Session vii(java scriptbasics)
 
HTML & JAVA Script
HTML & JAVA ScriptHTML & JAVA Script
HTML & JAVA Script
 
Javascripts. pptt
Javascripts. ppttJavascripts. pptt
Javascripts. pptt
 
JAVA SCRIPT
JAVA SCRIPTJAVA SCRIPT
JAVA SCRIPT
 
JS BASICS JAVA SCRIPT SCRIPTING
JS BASICS JAVA SCRIPT SCRIPTINGJS BASICS JAVA SCRIPT SCRIPTING
JS BASICS JAVA SCRIPT SCRIPTING
 
Introduction to JavaScript
Introduction to JavaScriptIntroduction to JavaScript
Introduction to JavaScript
 
Java script
Java scriptJava script
Java script
 
JavaScript
JavaScriptJavaScript
JavaScript
 
Java script by Act Academy
Java script by Act AcademyJava script by Act Academy
Java script by Act Academy
 
06 Javascript
06 Javascript06 Javascript
06 Javascript
 
INTRODUCTION TO CLIENT SIDE PROGRAMMING
INTRODUCTION TO CLIENT SIDE PROGRAMMINGINTRODUCTION TO CLIENT SIDE PROGRAMMING
INTRODUCTION TO CLIENT SIDE PROGRAMMING
 
Empowerment Technologies Lecture 11 (Philippines SHS)
Empowerment Technologies Lecture 11 (Philippines SHS)Empowerment Technologies Lecture 11 (Philippines SHS)
Empowerment Technologies Lecture 11 (Philippines SHS)
 
Basic JavaScript Tutorial
Basic JavaScript TutorialBasic JavaScript Tutorial
Basic JavaScript Tutorial
 
Javascript tutorial
Javascript tutorialJavascript tutorial
Javascript tutorial
 
Basic Java script handouts for students
Basic Java script handouts for students Basic Java script handouts for students
Basic Java script handouts for students
 
Advanced JavaScript
Advanced JavaScriptAdvanced JavaScript
Advanced JavaScript
 

Último

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 

Último (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

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>
  • 12.
  • 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