100% JS

1,204 views

Published on

From applied.js session at LXJS 2012

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,204
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
14
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

100% JS

  1. 1. 100% JSSaturday, September 29, 12
  2. 2. Hello. __lucasSaturday, September 29, 12
  3. 3. CTO http://ex.fm/ http://ex.fm/iphoneSaturday, September 29, 12
  4. 4. What kind of company do we want to be?Saturday, September 29, 12
  5. 5. Who do we hire?Saturday, September 29, 12
  6. 6. What we need Design JavaScript UX Python Product Java Objective-CSaturday, September 29, 12
  7. 7. What we need take 2 Design JavaScript UX Python Product Java Objective-CSaturday, September 29, 12
  8. 8. How do we get there? Server Mobile Client (some other time)Saturday, September 29, 12
  9. 9. SERVER.Saturday, September 29, 12
  10. 10. Current Stack Nginx uWSGI Flask AppSaturday, September 29, 12
  11. 11. Too many things thatcan go wrong.Saturday, September 29, 12
  12. 12. Pythons Gone WildSaturday, September 29, 12
  13. 13. PubSub of all userevents.Saturday, September 29, 12
  14. 14. Across processes andmachines.Saturday, September 29, 12
  15. 15. Don’t try this inPython.Saturday, September 29, 12
  16. 16. <3 Socket.ioSaturday, September 29, 12
  17. 17. YNGWIESaturday, September 29, 12
  18. 18. Hmm...Saturday, September 29, 12
  19. 19. Something going onhere.Saturday, September 29, 12
  20. 20. Lots of express User Service API Site Service Song ServiceSaturday, September 29, 12
  21. 21. Services are cheap.Saturday, September 29, 12
  22. 22. Spread load and ownership.Saturday, September 29, 12
  23. 23. Easier to test.Saturday, September 29, 12
  24. 24. Happier developers.Saturday, September 29, 12
  25. 25. MOBILE.Saturday, September 29, 12
  26. 26. Our Mobile Web App is better than our native apps.Saturday, September 29, 12
  27. 27. Q = Σ (P - D) Product Quality = Passion - Cognitive DistanceSaturday, September 29, 12
  28. 28. “Why not just hire more android and iOS developers?” NOSaturday, September 29, 12
  29. 29. Don’t have time or money for specialists.Saturday, September 29, 12
  30. 30. Just because it’s native does not make it better.Saturday, September 29, 12
  31. 31. Try optimizing android list views...Saturday, September 29, 12
  32. 32. <3 PhoneGapSaturday, September 29, 12
  33. 33. Deploy to S3Saturday, September 29, 12
  34. 34. Plugins = Native PolyfillsSaturday, September 29, 12
  35. 35. Fix HTML5 Audio with IEXAudio Plugin. https://github.com/exfm/iex-audioSaturday, September 29, 12
  36. 36. Side-note: FireBreath - Prototype new browser API’s http://www.firebreath.orgSaturday, September 29, 12
  37. 37. LEARNED.Saturday, September 29, 12
  38. 38. “Do you really want front-end people working on the server?” YESSaturday, September 29, 12
  39. 39. 90/10 Render a template Get some data from an APISaturday, September 29, 12
  40. 40. Know How The Sausages Get Made.Saturday, September 29, 12
  41. 41. Implement it yourself.Saturday, September 29, 12
  42. 42. Context SwitchingSaturday, September 29, 12
  43. 43. But....................Saturday, September 29, 12
  44. 44. 2 Problems so far.Saturday, September 29, 12
  45. 45. 1. Front-end people have an inherent fear of databases.Saturday, September 29, 12
  46. 46. Like Spiders...Saturday, September 29, 12
  47. 47. Covered in Spiders...Saturday, September 29, 12
  48. 48. That are electronic.Saturday, September 29, 12
  49. 49. $.post(“/user/”, {‘username’: ‘lucas’}) db.get(‘users’).put({‘username’: ‘lucas’})Saturday, September 29, 12
  50. 50. Tarantulas aren’t poisonous.Saturday, September 29, 12
  51. 51. 2. Async for the procedural folk.Saturday, September 29, 12
  52. 52. Mind-melting, complex, racey, callback nesting.Saturday, September 29, 12
  53. 53. Use flow-control.Saturday, September 29, 12
  54. 54. Anything in futures is great. https://github.com/coolaj86/futuresSaturday, September 29, 12
  55. 55. And promises.Saturday, September 29, 12
  56. 56. when is nice and works with jQuery deferreds https://github.com/cujojs/whenSaturday, September 29, 12
  57. 57. Not instant.Saturday, September 29, 12
  58. 58. Sometimes a month,Saturday, September 29, 12
  59. 59. Sometimes an hour,Saturday, September 29, 12
  60. 60. Totally worth it.Saturday, September 29, 12
  61. 61. Obrigado. @__lucas http://ex.fm https://github.com/exfmSaturday, September 29, 12

×