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

100% JS

940

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
940
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
14
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Transcript of "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
  1. A particular slide catching your eye?

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

×