Your SlideShare is downloading. ×
JavaScript Language Paradigms
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

JavaScript Language Paradigms

2,139
views

Published on

Talk given at The Rich Web Experience 2008. Check out my blog for the code samples.

Talk given at The Rich Web Experience 2008. Check out my blog for the code samples.

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,139
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
18
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

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

×