Java scriptgettingstarted

723 views

Published on

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
723
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Java scriptgettingstarted

  1. 1. JavaScript Getting started Wolfram Kriesing, uxebu Co-Founder @wolframkriesingMittwoch, 18. Mai 2011
  2. 2. Wolfram Kriesing Co-Founder @wolframkriesingMittwoch, 18. Mai 2011
  3. 3. We open the mobile web.Mittwoch, 18. Mai 2011
  4. 4. JavaScript • Its a real programming language! • Brendan Eich at Netscape invented it • Web only language - never was • Often not learned, just used • ECMAScript5, ECMAScript.nextMittwoch, 18. Mai 2011
  5. 5. Take a guess! What is JavaScript?Mittwoch, 18. Mai 2011
  6. 6. 0Mittwoch, 18. Mai 2011
  7. 7. 0Mittwoch, 18. Mai 2011
  8. 8. Easy, right!?Mittwoch, 18. Mai 2011
  9. 9. 1Mittwoch, 18. Mai 2011
  10. 10. 1Mittwoch, 18. Mai 2011
  11. 11. 2Mittwoch, 18. Mai 2011
  12. 12. 2Mittwoch, 18. Mai 2011
  13. 13. 3Mittwoch, 18. Mai 2011
  14. 14. 3Mittwoch, 18. Mai 2011
  15. 15. 4Mittwoch, 18. Mai 2011
  16. 16. 4Mittwoch, 18. Mai 2011
  17. 17. So... What is JavaScript?Mittwoch, 18. Mai 2011
  18. 18. 0 YES 1 YES 2 YES 3 YES 4 YESMittwoch, 18. Mai 2011
  19. 19. 0 prompt("Type something here, please!")Mittwoch, 18. Mai 2011
  20. 20. 1 Hack it! https://github.com/wolframkriesing/demo-orientationMittwoch, 18. Mai 2011
  21. 21. 1 Hack it! https://github.com/wolframkriesing/demo-orientationMittwoch, 18. Mai 2011
  22. 22. 2 3 Impact is a JavaScript Game Engine http://impactjs.com/Mittwoch, 18. Mai 2011
  23. 23. 4 •100% HTML5 •WebGL •JavaScript •8 Chromes •WebSockets •node.js with socket.io http://webglsamples.googlecode.comMittwoch, 18. Mai 2011
  24. 24. Microlibraries The new trend!?Mittwoch, 18. Mai 2011
  25. 25. "JavaScript is broken. It can be fixed with more JavaScript"Mittwoch, 18. Mai 2011
  26. 26. var o = new Object(); vs. var o = {};Mittwoch, 18. Mai 2011
  27. 27. var s = new String(); vs. var s = "";Mittwoch, 18. Mai 2011
  28. 28. var x = "" + y; x.toLowerCase();Mittwoch, 18. Mai 2011
  29. 29. "By reducing your global footprint to a single name, you significantly reduce the chance of bad interactions with other applications, widgets, or libraries." Douglas CrockfordMittwoch, 18. Mai 2011
  30. 30. ;(function(){})()Mittwoch, 18. Mai 2011
  31. 31. var node = byId("someEl"); node._value = 42;Mittwoch, 18. Mai 2011
  32. 32. var str = s1 + s2 + s3; vs. var str = [s1, s2, s3].join("");Mittwoch, 18. Mai 2011
  33. 33. var C = function(name){ this.name = name; }; C.prototype.say = function(){ console.log(this.name); }; var obj = new C("Dave");Mittwoch, 18. Mai 2011
  34. 34. LibrariesMittwoch, 18. Mai 2011
  35. 35. Why? • DOM API sucks • Event handling differs • Ajax API sucked • Memory leaks • before HTML5 - no UI • Animations maybe complexMittwoch, 18. Mai 2011
  36. 36. Thank you Wolfram Kriesing uxebu.comMittwoch, 18. Mai 2011

×