SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

Introduction to Javascript
Introduction to JavascriptIntroduction to Javascript
Introduction to JavascriptAmit Tyagi
 
Http request and http response
Http request and http responseHttp request and http response
Http request and http responseNuha Noor
 
What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)Amit Nirala
 
Lab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptLab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptWalid Ashraf
 
presentation on static website design
presentation on static website designpresentation on static website design
presentation on static website designjyotiyadav1926
 
Introduction to ajax
Introduction  to  ajaxIntroduction  to  ajax
Introduction to ajaxPihu Goel
 
Asp.NET Validation controls
Asp.NET Validation controlsAsp.NET Validation controls
Asp.NET Validation controlsGuddu gupta
 
Server Controls of ASP.Net
Server Controls of ASP.NetServer Controls of ASP.Net
Server Controls of ASP.NetHitesh Santani
 
Introduction to JavaScript
Introduction to JavaScriptIntroduction to JavaScript
Introduction to JavaScriptAndres Baravalle
 
Ajax ppt - 32 slides
Ajax ppt - 32 slidesAjax ppt - 32 slides
Ajax ppt - 32 slidesSmithss25
 

Tendances (20)

Introduction to Javascript
Introduction to JavascriptIntroduction to Javascript
Introduction to Javascript
 
Js ppt
Js pptJs ppt
Js ppt
 
Http request and http response
Http request and http responseHttp request and http response
Http request and http response
 
What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)
 
Basics of JavaScript
Basics of JavaScriptBasics of JavaScript
Basics of JavaScript
 
Introduction to JSON & AJAX
Introduction to JSON & AJAXIntroduction to JSON & AJAX
Introduction to JSON & AJAX
 
Lab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptLab #2: Introduction to Javascript
Lab #2: Introduction to Javascript
 
presentation on static website design
presentation on static website designpresentation on static website design
presentation on static website design
 
Javascript
JavascriptJavascript
Javascript
 
Javascript basics
Javascript basicsJavascript basics
Javascript basics
 
Java Script
Java ScriptJava Script
Java Script
 
Javascript 101
Javascript 101Javascript 101
Javascript 101
 
Introduction to ajax
Introduction  to  ajaxIntroduction  to  ajax
Introduction to ajax
 
Asp.NET Validation controls
Asp.NET Validation controlsAsp.NET Validation controls
Asp.NET Validation controls
 
JQuery introduction
JQuery introductionJQuery introduction
JQuery introduction
 
Html-list
Html-listHtml-list
Html-list
 
Server Controls of ASP.Net
Server Controls of ASP.NetServer Controls of ASP.Net
Server Controls of ASP.Net
 
3. Java Script
3. Java Script3. Java Script
3. Java Script
 
Introduction to JavaScript
Introduction to JavaScriptIntroduction to JavaScript
Introduction to JavaScript
 
Ajax ppt - 32 slides
Ajax ppt - 32 slidesAjax ppt - 32 slides
Ajax ppt - 32 slides
 

En vedette

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
 
用 增額終身壽險作 退休規劃
用 增額終身壽險作 退休規劃用 增額終身壽險作 退休規劃
用 增額終身壽險作 退休規劃康 明發
 

En vedette (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
 
用 增額終身壽險作 退休規劃
用 增額終身壽險作 退休規劃用 增額終身壽險作 退休規劃
用 增額終身壽險作 退休規劃
 

Similaire à 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
 

Similaire à 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
 

Dernier

Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 

Dernier (20)

Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 

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