Your SlideShare is downloading. ×
0
Overview
                          History, Features, and Syntax




Monday, August 31, 2009
History



Monday, August 31, 2009
In the beginning,
     Netscape created JavaScript

Monday, August 31, 2009
And Microsoft said
                             it was good
Monday, August 31, 2009
Red-Headed Step Child
Monday, August 31, 2009
AJAX
Monday, August 31, 2009
Asynchronous
                          JavaScript
                          And
                          XML

Monday, Aug...
Monday, August 31, 2009
Frameworks



Monday, August 31, 2009
The browser and
                             beyond...




Monday, August 31, 2009
Features



Monday, August 31, 2009
Dynamic



Monday, August 31, 2009
Object Oriented
                                and
                            Functional


Monday, August 31, 2009
Prototype Based



Monday, August 31, 2009
JSON
                             portability of data to and
                          from any programming language




M...
Examples



Monday, August 31, 2009
Monday, August 31, 2009
Monday, August 31, 2009
Syntax



Monday, August 31, 2009
case sensitive
                             apple != Apple




Monday, August 31, 2009
whitespace and
                           semicolons
                             var a = 2;
                             ...
comments
                          // this is a single line comment

                          /* this
                   ...
reserved words
              break else new var case finally return void catch for switch
             while continue funct...
Data Types
                    • numbers: 1 2 3 4 etc.
                    • strings: “some word” ‘also a string’
        ...
Debugging




Monday, August 31, 2009
Monday, August 31, 2009
Firebug (Firefox)




                            http://getfirebug.com/


Monday, August 31, 2009
Web Inspector (Safari)




Monday, August 31, 2009
Upcoming SlideShare
Loading in...5
×

History, Features and Syntax

848

Published on

Published in: Technology, Travel
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
848
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
17
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "History, Features and Syntax"

  1. 1. Overview History, Features, and Syntax Monday, August 31, 2009
  2. 2. History Monday, August 31, 2009
  3. 3. In the beginning, Netscape created JavaScript Monday, August 31, 2009
  4. 4. And Microsoft said it was good Monday, August 31, 2009
  5. 5. Red-Headed Step Child Monday, August 31, 2009
  6. 6. AJAX Monday, August 31, 2009
  7. 7. Asynchronous JavaScript And XML Monday, August 31, 2009
  8. 8. Monday, August 31, 2009
  9. 9. Frameworks Monday, August 31, 2009
  10. 10. The browser and beyond... Monday, August 31, 2009
  11. 11. Features Monday, August 31, 2009
  12. 12. Dynamic Monday, August 31, 2009
  13. 13. Object Oriented and Functional Monday, August 31, 2009
  14. 14. Prototype Based Monday, August 31, 2009
  15. 15. JSON portability of data to and from any programming language Monday, August 31, 2009
  16. 16. Examples Monday, August 31, 2009
  17. 17. Monday, August 31, 2009
  18. 18. Monday, August 31, 2009
  19. 19. Syntax Monday, August 31, 2009
  20. 20. case sensitive apple != Apple Monday, August 31, 2009
  21. 21. whitespace and semicolons var a = 2; var b = 3; return a + b; return a + b; Monday, August 31, 2009
  22. 22. comments // this is a single line comment /* this is a multiline comment */ Monday, August 31, 2009
  23. 23. reserved words break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public Monday, August 31, 2009
  24. 24. Data Types • numbers: 1 2 3 4 etc. • strings: “some word” ‘also a string’ • booleans: true false • null and undefined • dates: new Date() • functions: function () { ... } • objects: {foo: ‘bar’}; a.foo // ‘bar’ Monday, August 31, 2009
  25. 25. Debugging Monday, August 31, 2009
  26. 26. Monday, August 31, 2009
  27. 27. Firebug (Firefox) http://getfirebug.com/ Monday, August 31, 2009
  28. 28. Web Inspector (Safari) Monday, August 31, 2009
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×