Write a Function

Write a Function

22725c2d3eb331146549bf0d5d3c050c?s=128

stefan judis

June 24, 2019
Tweet

Transcript

  1. @stefanjudis Write a Function Glue-driven development for Frontend engineers

  2. @stefanjudis www.stefanjudis.com Heyo, I'm Stefan!

  3. @stefanjudis www.stefanjudis.com Heyo, I'm Stefan! ... and I'm "just" a

    Frontend developer.
  4. @stefanjudis I want to build beautiful UIs and websites! #JAMstackToronto

  5. @stefanjudis Set up a server... #JAMstackToronto

  6. @stefanjudis Decide on a database... #JAMstackToronto

  7. @stefanjudis Write a deploy script... #JAMstackToronto

  8. @stefanjudis I don't want to deal with that! #JAMstackToronto

  9. @stefanjudis I want to build beautiful UIs and websites! #JAMstackToronto

  10. @stefanjudis Backend Frontend #JAMstackToronto

  11. @stefanjudis Backend Frontend #JAMstackToronto

  12. @stefanjudis Backend Frontend But how to set up and scale

    a Node.js server? #JAMstackToronto
  13. @stefanjudis heroku.com #JAMstackToronto

  14. @stefanjudis netlify.com zeit.co (there are way more services out there...)

    #JAMstackToronto
  15. @stefanjudis netlify.com zeit.co (there are way more services out there...)

    Everything changes with serverless... #JAMstackToronto
  16. @stefanjudis Cloud services Function as a service Serverless framework #JAMstackToronto

  17. @stefanjudis martinfowler.com/articles/serverless.html #JAMstackToronto

  18. @stefanjudis Serverless thinking: Use a service whenever possible because services

    are almost always cheaper than people. Paul Johnston #JAMstackToronto
  19. @stefanjudis Serverless is an idea, not any single implementation of

    that idea. Tierney Cyren (Microsoft) #JAMstackToronto
  20. @stefanjudis That's what Frontend engineers do often anyways... #JAMstackToronto

  21. @stefanjudis (there are way more services out there...) #JAMstackToronto

  22. @stefanjudis (there are way more services out there...) You don't

    have to build everything yourself. #JAMstackToronto
  23. @stefanjudis serverless.css-tricks.com #JAMstackToronto

  24. @stefanjudis #something

  25. @stefanjudis JAMstack, baby! #JAMstackToronto

  26. @stefanjudis JAM #JAMStack_Toronto

  27. @stefanjudis JavaScriptAM #JAMstackToronto

  28. @stefanjudis JApisM #JAMstackToronto

  29. @stefanjudis JAMarkup #JAMstackToronto

  30. @stefanjudis You can not use every API in the Frontend...

    #JAMstackToronto
  31. @stefanjudis #JAMstackToronto

  32. @stefanjudis (hoodie hackers will find your credentials) #JAMstackToronto

  33. @stefanjudis Functions for the win! #JAMstackToronto

  34. @stefanjudis JAFMstack, baby! #JAMstackToronto

  35. @stefanjudis JAFunctionsMstack, baby! #JAMstackToronto

  36. @stefanjudis exports.sayHello = async (event) => { return 'Hello from

    Lambda!'; }; #JAMstackToronto
  37. @stefanjudis exports.sayHello = async (event) => { return { statusCode:

    200, body: JSON.stringify({"msg": "Hello from Lambda!"}) }; }; #JAMstackToronto
  38. @stefanjudis exports.sayHello = async (event) => { return { statusCode:

    200, body: JSON.stringify({"msg": "Hello from Lambda!"}) }; }; That's it! #JAMstackToronto
  39. @stefanjudis exports.sayHello = async (event) => { return { statusCode:

    200, body: JSON.stringify({"msg": "Hello from Lambda!"}) }; }; #JAMstackToronto
  40. @stefanjudis No servers to maintain Automatically upscaling No payment for

    idle time #JAMstackToronto
  41. @stefanjudis #JAMstackToronto

  42. @stefanjudis Crowd Coding... (let's fight the hoodie hackers) #JAMstackToronto

  43. @stefanjudis just-write-a-fn.netlify.com #JAMstackToronto

  44. @stefanjudis (hoodie hackers won't find your credentials) #JAMstackToronto

  45. @stefanjudis (you can use/connect all the APIs) #JAMstackToronto

  46. @stefanjudis #something

  47. @stefanjudis www.jsconfhi.com/about/#report #JAMstackToronto

  48. @stefanjudis www.jsconfhi.com/about/#report #something

  49. @stefanjudis leedsjs.com #JAMstackToronto

  50. @stefanjudis leedsjs.com #something

  51. @stefanjudis #JAMstackToronto

  52. @stefanjudis my-links.online/write-a-fn Slides That's a function... #JAMstackToronto

  53. @stefanjudis www.youtube.com/watch?v=grSxHfGoaeg #JAMstackToronto

  54. @stefanjudis Functions were the missing glue to Frontend awesomeness! #JAMstackToronto

  55. @stefanjudis Fn #JAMstackToronto

  56. @stefanjudis It's good times to know some JavaScript. #JAMstackToronto

  57. @stefanjudis I know enough JavaScript to be dangerous. @marcos_placona #JAMstackToronto

  58. @stefanjudis JAFM, baby! #JAMstackToronto

  59. @stefanjudis www.stefanjudis.com Thanks. Slides: my-links.online/write-a-fn