JavaScript Katie Fowle November 15, 2011. History Brendan Eich at Netscape, 1995 Need for interactivity in web pages Mocha, LiveWire, LiveScript, then.

Slides:



Advertisements
Similar presentations
The Web Wizards Guide To JavaScript Chapter 1 JavaScript Basics.
Advertisements

JavaScript I. JavaScript is an object oriented programming language used to add interactivity to web pages. Different from Java, even though bears some.
Introducing JavaScript
JavaScript FaaDoOEngineers.com FaaDoOEngineers.com.
1 COMM 1213 H1 COMP 4923 X1 JavaScript 1 (Readings: Ch. 10, 11 Knuckles)
Introduction to JavaScript
1 CSC 551: Web Programming Spring 2004 client-side programming with JavaScript  scripts vs. programs  JavaScript vs. JScript vs. VBScript  common tasks.
MSc. Publishing on WWW JavaScript. What is JavaScript? A scripting language devised by Netscape Adds functionality to web pages by: Embedding code into.
Working with JavaScript. 2 Objectives Introducing JavaScript Inserting JavaScript into a Web Page File Writing Output to the Web Page Working with Variables.
Javascript Client-side scripting. Up to now  We've seen a little about how to control  content with HTML  presentation with CSS  Javascript is a language.
Kevin Reuter & Brian Guthrie.  Multi-paradigm  Prototype based objects  Dynamic, weak typing.
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.
XP 1 Working with JavaScript Creating a Programmable Web Page for North Pole Novelties Tutorial 10.
2012 •••••••••••••••••••••••••••••••••• Summer WorkShop Mostafa Badr
CS346 - Javascript 1, 21 Module 1 Introduction to JavaScript CS346.
Introduction to JavaScript Kirkwood Continuing Education © Copyright 2014, Fred McClurg All Rights Reserved.
J AVA S CRIPT Shadi Banitaan 1. O UTLINE Introduction JavaScript Functions Using Objects in JavaScript Built-in Objects User-Defined Objects Examples.
Javascript Languages By Rapee kamoltalapisek ID:
Copyright © 2002 ProsoftTraining. All rights reserved. JavaScript Fundamentals.
JavaScript Tabriz university Its September 1995.
>> Introduction to JavaScript
An Overview of ActionScript The Powerful Scripting Language of Macromedia Flash.
JavaScript By: Louis Roselli & Michael Reynolds. Problem Domain JavaScript is programming code that can be inserted into HTML pages. JavaScript inserted.
Working with Objects Creating a Dynamic Web Page.
Client Scripting1 Internet Systems Design. Client Scripting2 n “A scripting language is a programming language that is used to manipulate, customize,
Javascript. Outline Introduction Fundamental of JavaScript Javascript events management DOM and Dynamic HTML (DHTML)
JavaScript. Overview Introduction: JavaScript basics Expressions and types Expressions and types Arrays Arrays Objects and Associative Arrays Objects.
An Introduction to JavaScript Summarized from Chapter 6 of “Web Programming: Building Internet Applications”, 3 rd Edition.
Extending HTML CPSC 120 Principles of Computer Science April 9, 2012.
JS Basics 1 Lecture JavaScript - Basics. JS Basics 2 What is JavaScript JavaScript is a “simple”, interpreted, programming language with elementary object-
JavaScript Justin Skinner Programming Languages. JavaScript JavaScript is not Java nor a subset But JavaScript does share the C-family syntax with Java.
Client-side processing in JavaScript.... JavaScript history Motivations –lack of “dynamic content” on web pages animations etc user-customised displays.
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.
JavaScript Scripting language What is Scripting ? A scripting language, script language, or extension language is a programming language.
05 – Java Script (1) Informatics Department Parahyangan Catholic University.
Dynamic Web Pages Jin Wu INF 385E Information Architecture School of Information 11/2/2006 Jin Wu INF 385E Information Architecture School of Information.
© 2000 – All Rights Reserved - Page 1 Introduction to JavaScript Programming Part One.
JavaScript Introduction.  JavaScript is a scripting language  A scripting language is a lightweight programming language  A JavaScript can be inserted.
1 JavaScript in Context. Server-Side Programming.
“The world’s most misunderstood language has become the world’s most popular programming language” Akshay Arora
Rich Internet Applications 2. Core JavaScript. The importance of JavaScript Many choices open to the developer for server-side Can choose server technology.
Web Programming Overview. Introduction HTML is limited - it cannot manipulate data How Web pages are extended (include): –Java: an object-oriented programming.
JavaScript & Introduction to AJAX
Lesson 30: JavaScript and DHTML Fundamentals. Objectives Define and contrast client-side and server-side technologies used to create dynamic content for.
JavaScript: An Analysis Michael Owen. Brief History Founded at NetScape by Brendan Eich Mocha, LiveScript, then JavaScript No apparent relation to Java.
Java Script. introduction Today’s web sites need to go much beyond HTML. browsing through a web site, to actually interact with the web site. The web.
JavaScript Events Java 4 Understanding Events Events add interactivity between the web page and the user You can think of an event as a trigger that.
CGS 3066: Web Programming and Design Spring 2016 Introduction to JavaScript.
JavaScript Events. Understanding Events Events add interactivity between the web page and the user Events add interactivity between the web page and the.
JavaScript Invented 1995 Steve, Tony & Sharon. A Scripting Language (A scripting language is a lightweight programming language that supports the writing.
Javascript Prof. Wenwen Li School of Geographical Sciences and Urban Planning 5644 Coor Hall
Module 1 Introduction to JavaScript
JavaScripts.
Build in Objects In JavaScript, almost "everything" is an object.
“Under the hood”: Angry Birds Maze
Week 5 JavaScript Overview JavaScript Examples
Web Development & Design Foundations with HTML5 7th Edition
JavaScript an introduction.
Web Systems Development (CSC-215)
Dynamic Web Pages Jin Wu INF 385E Information Architecture
JAVASCRIPT Pam Kahl | COM 585 | Spring 2010.
Web Design and Development
“Under the hood”: Angry Birds Maze
JavaScript CS 4640 Programming Languages for Web Applications
Tutorial 10: Programming with javascript
[Robert W. Sebesta, “Programming the World Wide Web
Introduction To JavaScript
Introduction to JavaScript
JavaScript CS 4640 Programming Languages for Web Applications
Presentation transcript:

JavaScript Katie Fowle November 15, 2011

History Brendan Eich at Netscape, 1995 Need for interactivity in web pages Mocha, LiveWire, LiveScript, then JavaScript Not taken seriously at first ▫Called “beginner’s language” or “toy” Brendan Eich CTO, Mozilla Corporation

Quote from the Creator “ JS had to “look like Java” only less so, [it had to] be Java’s dumb kid brother or boy-hostage sidekick. Plus, I had to be done in ten days or something worse than JS would have happened”

The Language Primary use is Web page enhancement Integrated into the browser Interpreted Weakly Typed Latest Version 1.8.5

JavaScript NOT Java SimilaritiesDifferences C- style syntax Object-Oriented Key words Standard Library naming conventions Math and Date objects Scripting languge Some functional features Weakly typed Loaded as source code Prototype-based

Web Uses Form validation Event handling User interaction ▫alert(), confirm(), prompt() Dynamic content

Data Types Primitive types ▫Numeric, string, boolean Objects ▫Built in: Object, Date, Array, Math, Function, RegExp, Number, String, and Boolean

Object() constructor

Literal notation

Custom Constructor

Evaluation Readability Writability Reliability Cost

Cool Uses ples-html5-javascript-uses/ ples-html5-javascript-uses/ make-amazing-use-of-javascripthttp:// make-amazing-use-of-javascript