Phoenix Lecture

Phoenix Lecture

Guest lecture at FMI of Sofia University's Elixir course.

Demo code:

https://github.com/RStankov/talks-code/tree/master/2018.06.05%20-%20Phoenix%20Lecture

7a0e72a6f55811246bb5d9a946fd2e49?s=128

Radoslav Stankov

June 05, 2018
Tweet

Transcript

  1. 3.
  2. 5.
  3. 6.
  4. 7.
  5. 8.
  6. 9.

    ! Take 1 " What is Phoenix # Router $

    Controller % Views ✈ Take 2 ' Contexts
 
 ( RESTful
 
 ) Channels Agenda
  7. 10.
  8. 16.
  9. 17.
  10. 18.
  11. 19.
  12. 20.
  13. 21.
  14. 22.
  15. 23.
  16. 24.
  17. 25.
  18. 26.
  19. 27.
  20. 28.
  21. 29.
  22. 30.
  23. 31.
  24. 32.
  25. 33.
  26. 34.
  27. 35.
  28. 36.
  29. 37.
  30. 38.
  31. 39.
  32. 40.
  33. 41.
  34. 42.
  35. 43.
  36. 44.

    *

  37. 45.
  38. 46.

    +

  39. 48.
  40. 49.
  41. 50.
  42. 51.
  43. 52.
  44. 53.
  45. 55.
  46. 59.
  47. 60.
  48. 61.
  49. 62.
  50. 63.
  51. 64.
  52. 66.
  53. 67.
  54. 68.
  55. 69.
  56. 70.
  57. 71.
  58. 72.
  59. 73.
  60. 74.

    RESTful method path controller action GET /posts posts index GET

    /posts/new posts new POST /posts posts create GET /posts/:id posts show GET /posts/:id/edit posts edit PATCH /posts/:id posts update DELETE /posts/:id posts delete
  61. 75.
  62. 76.
  63. 77.
  64. 78.
  65. 79.
  66. 80.
  67. 81.
  68. 82.
  69. 83.
  70. 84.
  71. 85.
  72. 86.
  73. 87.
  74. 88.
  75. 89.
  76. 91.
  77. 92.
  78. 93.
  79. 94.
  80. 95.
  81. 96.
  82. 97.
  83. 98.
  84. 99.