L16-JavaScript1

L16-JavaScript1 - Session 16 JavaScript (Part 1) Session 16...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Session 16 – JavaScript (Part 1) 11/9/2010 1 © Robert Kelly, 2001-2010 Session 16 JavaScript Part 1 1 Reading Reading Wikipedia en.wikipedia.org/wiki/Javascript W3C www.w3.org/TR/REC-html40/interact/scripts.html Web Developers Notes www.webdevelopersnotes.com/tutorials/javascript/ API krook org/jsdom/ © Robert Kelly, 2001-2010 2 krook.org/jsdom/ Video (a great tutorial video) http://video.yahoo.com/watch/630959/2974197
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Session 16 – JavaScript (Part 1) 11/9/2010 2 © Robert Kelly, 2001-2010 Reference Reference ECMAScript www.ecma-international.org/publications/files/ECMA- ST/Ecma-262.pdf Mozilla Guide developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide IBM Developer Site © Robert Kelly, 2001-2010 3 Reference Book JavaScript: The Definitive Guide by David Flanagan, O’Reilly Press, 5 th Edition (available through Safari Books On-Line and Google Books) th l l t © Robert Kelly, 2001-2010 4 the only complete JavaScript book I have seen that is written from a CS perspective
Background image of page 2
Session 16 – JavaScript (Part 1) 11/9/2010 3 © Robert Kelly, 2001-2010 Background Reading Available through CS Library using Safari Books On-line Learning JavaScript by Shelley Powers, O’Reilly Press XML In a Nutshell, Chapter 19 (DOM) © Robert Kelly, 2001-2010 5 Learning Goals Understand syntactic and semantic structure of JavaScript Understand use of events © Robert Kelly, 2001-2010 6
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Session 16 – JavaScript (Part 1) 11/9/2010 4 © Robert Kelly, 2001-2010 What is JavaScript? JavaScript is a scripting language (a scripting language is a lightweight programming language) to use within a browser A JavaScript is usually embedded directly into HTML pages JavaScript is an interpreted language (means © Robert Kelly, 2001-2010 7 that scripts execute without preliminary compilation) The name often actually refers to ECMAScript Why Should You Learn JavaScript Useful for Client side form processing (e.g., field validation) More dynamic graphic UI www.scriptforest.com/javascript_cascading_menu.html Dynamic update of html pages - AJax Warning: “achieving functionality through scripting is difficult for the © Robert Kelly, 2001-2010 8 author and restricts the type of user agent you can use to view the document ” (W3C)
Background image of page 4
Session 16 – JavaScript (Part 1) 11/9/2010 5 © Robert Kelly, 2001-2010 Ajax JavaScript essential to the use of Ajax
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/22/2011 for the course CSE 336 taught by Professor Kelly,r during the Fall '08 term at SUNY Stony Brook.

Page1 / 14

L16-JavaScript1 - Session 16 JavaScript (Part 1) Session 16...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online