JavaScript Justin Skinner Programming Languages. JavaScript JavaScript is not Java nor a subset But JavaScript does share the C-family syntax with Java.

Slides:



Advertisements
Similar presentations
the javascript language BY SA.
Advertisements

Introduction to JavaScript
12-Jun-15 JavaScript Language Fundamentals I. 2 About JavaScript JavaScript is not Java, or even related to Java The original name for JavaScript was.
1 Owais Mohammad Haq Department of Computer Science Eastern Michigan University April, 2005 Java Script.
Working with JavaScript. 2 Objectives Introducing JavaScript Inserting JavaScript into a Web Page File Writing Output to the Web Page Working with Variables.
Kevin Reuter & Brian Guthrie.  Multi-paradigm  Prototype based objects  Dynamic, weak typing.
Tutorial 10 Programming with JavaScript
HTML Recall that HTML is static in that it describes how a page is to be displayed, but it doesn’t provide for interaction or animation. A page created.
Introduction to JavaScript for Python Programmers
+ Java vs. Javascript Jessi Style. + Java Compiled Can stand on its own Written once, run anywhere Two-stage debugging Java is an Object Oriented Programming.
JavaScript JavaScript is a scripting language that is most commonly used to add client- side programming to a web page. Some of the things it is used for.
Introduction to JavaScript Kirkwood Continuing Education © Copyright 2014, Fred McClurg All Rights Reserved.
Created by, Author Name, School Name—State FLUENCY WITH INFORMATION TECNOLOGY Skills, Concepts, and Capabilities.
Javascript Languages By Rapee kamoltalapisek ID:
Chapter 3 : Processing on the Front End JavaScript Technically its name is ECMA-262, which refers to the international standard which defines it. The standard.
>> Introduction to JavaScript
Javascript. Outline Introduction Fundamental of JavaScript Javascript events management DOM and Dynamic HTML (DHTML)
Chapter 3: Data Types and Operators JavaScript - Introductory.
SE-2840 Dr. Mark L. Hornick 1 Modifying webpage behavior using client-side scripting Javascript.
Introduction to JavaScript Gordon Tian
XP Tutorial 10New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with JavaScript Creating a Programmable Web Page for North Pole.
TUTORIAL 10: PROGRAMMING WITH JAVASCRIPT Session 2: What is JavaScript?
Tutorial 10 Programming with JavaScript. XP Objectives Learn the history of JavaScript Create a script element Understand basic JavaScript syntax Write.
Tutorial 10 Programming with JavaScript
Done by: Hanadi Muhsen1 Tutorial 1.  Learn the history of JavaScript  Create a script element  Write text to a Web page with JavaScript  Understand.
CNIT 133 Interactive Web Pags – JavaScript and AJAX Advanced topic - variable.
Introduction.  The scripting language most often used for client-side web development.  Influenced by many programming languages, easier for nonprogrammers.
JavaScript Syntax and Semantics. Slide 2 Lecture Overview Core JavaScript Syntax (I will not review every nuance of the language)
Javascript. What is JavaScript? Scripting (interpreted) language designed for the web Beware: JavaScript is case sensitive.
XP Tutorial 10New Perspectives on HTML and XHTML, Comprehensive 1 Working with JavaScript Creating a Programmable Web Page for North Pole Novelties Tutorial.
JSON and A Comparison of Scripts. JSON: JavaScript Object Notation Based on a subset of the JavaScript Programming Language provides a standardized data.
JavaScript Syntax, how to use it in a HTML document
JavaScript Scripting language What is Scripting ? A scripting language, script language, or extension language is a programming language.
JDojo and Its Usage Te-Hsin Shih 04/30/2013. Dojo Dojo Toolkit is an open source JavaScript library designed to ease the rapid development of cross-platform,
05 – Java Script (1) Informatics Department Parahyangan Catholic University.
JavaScript History and Versions JavaScript was introduced as part of the Netscape 2.0 browser Microsoft soon released its own version called JScript ECMA.
Introduction into JavaScript Java 1 JavaScript JavaScript programs run from within an HTML document The statements that make up a program in an HTML.
Tutorial 10 Programming with JavaScript. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Learn the history of JavaScript.
Rich Internet Applications 2. Core JavaScript. The importance of JavaScript Many choices open to the developer for server-side Can choose server technology.
JavaScript: An Analysis Michael Owen. Brief History Founded at NetScape by Brendan Eich Mocha, LiveScript, then JavaScript No apparent relation to Java.
Tutorial 10 Programming with JavaScript. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Learn the history of JavaScript.
JavaScript Katie Fowle November 15, History Brendan Eich at Netscape, 1995 Need for interactivity in web pages Mocha, LiveWire, LiveScript, then.
Introduction to JavaScript academy.zariba.com 1. Lecture Content 1.What is JavaScript? 2.JavaScript Pros and Cons 3.The weird JavaScript stuff 4.Including.
JavaScript and AJAX 2nd Edition Tutorial 1 Programming with JavaScript.
XP Tutorial 10New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Working with JavaScript Creating a Programmable Web Page for North Pole Novelties.
1 Agenda  Unit 7: Introduction to Programming Using JavaScript T. Jumana Abu Shmais – AOU - Riyadh.
JavaScript: A short introduction Joseph Lee Created by Joseph Lee.
Javascript Prof. Wenwen Li School of Geographical Sciences and Urban Planning 5644 Coor Hall
JavaScripts.
Java Script Introduction. Java Script Introduction.
>> JavaScript: Location, Functions and Objects
“Under the hood”: Angry Birds Maze
Tutorial 10 Programming with JavaScript
Scope, Objects, Strings, Numbers
Exploring JavaScript Ch 14
JavaScript Syntax and Semantics
Javascript Short Introduction By Thanawat Varintree,
JavaScript.
JavaScript and Ajax (Expression and Operators)
JavaScript an introduction.
T. Jumana Abu Shmais – AOU - Riyadh
JAVASCRIPT Pam Kahl | COM 585 | Spring 2010.
CS5220 Advanced Topics in Web Programming JavaScript Basics
Unit 6 part 3 Test Javascript Test.
Differences between Java and JavaScript
Tutorial 10 Programming with JavaScript
“Under the hood”: Angry Birds Maze
Tutorial 10: Programming with javascript
Introduction To JavaScript
CS3220 Web and Internet Programming JavaScript Basics
Presentation transcript:

JavaScript Justin Skinner Programming Languages

JavaScript JavaScript is not Java nor a subset But JavaScript does share the C-family syntax with Java One of the most popular programming language, most web browser now a days has a JavaScript interpreter JavaScript is found in the html code

JavaScript: “Hello World” Hello World using JavaScript document.write(“Hello World”)

Brief History JavaScript was first known as LiveScript Developed by Brendan Eich in 1995 Standardization

Data Types Three primitive types boolean number –NaN (Not a Number) –Infinity string

Objects Objects are implemented as hash-tables Objects are just containers of name/value pairs Similarity and differences with Java’s objects Object creations

Example Creating Objects Nested Objects Object literal notation var student = new Object(); student.name = “Mary Jane”; student.finalgrade = “A”; student.finalgrade.testgrade = “B”; student.finalgrade.homeworkgrade = “A”; var students = {name: “Mary Jane", finalgrade: “A”};

Functions Like C functions, except they have a keyword function instead of a type Calling the functions doesn’t require a fixed number of parameters Supports inner function Can have anonymous functions Functions are first class objects in JavaScript

The END!! Any Questions?