Download presentation
Presentation is loading. Please wait.
Published byDylan Owens Modified over 8 years ago
1
JavaScript Katie Fowle November 15, 2011
2
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
3
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”
4
The Language Primary use is Web page enhancement Integrated into the browser Interpreted Weakly Typed Latest Version 1.8.5
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
6
Web Uses Form validation Event handling User interaction ▫alert(), confirm(), prompt() Dynamic content
7
Data Types Primitive types ▫Numeric, string, boolean Objects ▫Built in: Object, Date, Array, Math, Function, RegExp, Number, String, and Boolean
8
Object() constructor
9
Literal notation
10
Custom Constructor
11
Evaluation Readability Writability Reliability Cost
12
Cool Uses http://www.1stwebdesigner.com/freebies/exam ples-html5-javascript-uses/http://www.1stwebdesigner.com/freebies/exam ples-html5-javascript-uses/ http://www.kriesi.at/archives/50-websites-that- make-amazing-use-of-javascripthttp://www.kriesi.at/archives/50-websites-that- make-amazing-use-of-javascript
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.