JavaScript Language Paradigms

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    JavaScript Language Paradigms - Presentation Transcript

    1. Object-oriented and Functional JavaScript jason harwig
    2. why so long?
    3. 1.
    4. “JavaScript is the world’s most misunderstood language” - douglas crockford
    5. 2.
    6. no classes
    7. public class Presentation { public static void main(String[] a) { } } 7
    8. 3.
    9. “No JavaScript” - pointy-haired boss
    10. why now?
    11. classical inheritance through libraries
    12. “I want it to be web 2.0” - pointy-haired boss
    13. what do I need to know?
    14. 1.
    15. JSON
    16. var presentation = { name: ‘oojs’, }; 19
    17. var presentations = [ ]; 20
    18. var presentation = { name: ‘oojs’ }; 21
    19. abstract else int switch as enum interface synchronized boolean export is this break extends long throw byte false namespace throws case final native transient catch finally new true char float null try class for package typeof continue function private use const goto protected var debugger if public void default implements return volatile delete import short while do in static with double instanceof super 22
    20. 2.
    21. “prototype is like a rosetta stone” - brian dillard jquery vs. prototype
    22. 3.
    23. functions
    24. functions as variables
    25. functions without names
    26. functions as constructors
    27. functions vs methods
    28. namespacing
    29. objects
    30. scopes
    31. encapsulation
    32. inheritance
    33. no dot equals?!?
    34. libraries
    35. prototype.js
    36. Presentation = Class.create({ initialize: function() { } }) 40
    37. JQuery Classy Query
    38. JavaScript 2.0
    39. twitter: jharwig jason.harwig@nearinfinity.com nearinfinity.com/blogs careers@nearinfinity.com 43

    + Jason HarwigJason Harwig, 2 years ago

    custom

    515 views, 0 favs, 0 embeds more stats

    Talk given at The Rich Web Experience 2008. Check o more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 515
      • 515 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 10
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Tags