Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
La mia prima
lezione di
pozioni
E se diventassi un alchimista???
Ora vi racconto una storia ...
Chi sono
Sviluppatore nell'anima, nato professionalmente negli anni ’90, ho vissuto
l’avvento della programmazione ad ogge...
Chi sono
CTO & Founder di coders51
Chi sono
twitter: https://twitter.com/gpad619
github: https://github.com/gpad
linkedin: https://it.linkedin.com/in/gianluc...
Il problema ...
Dobbiamo raccogliere info su come viene accettata la cookie policy dai
vari siti di un nostro cliente.
Sem...
Alcune regole …
Non volevo usare un framework
Volevo imparare il più possibile su Elixir (non su Phoenix)
Se anche esplode...
Da dove partire …
Mix new nome-del-progetto
Da dove partire …
Mix è un tool che gestisce tutto il ciclo di sviluppo del progetto
Permette di creare nuovi progetti
Per...
E adesso ?!?!
PLUG da https://github.com/elixir-lang/plug
Plug is:
1. A specification for composable modules between web a...
Plug
Plug
PLUG da https://github.com/elixir-lang/plug
Plug is:
1. A specification for composable modules between web applicatio...
Web servers in Erlang ?!?
Web servers in Erlang ?!?
Si ma chi vuoi che usi cowboy
come web server ...
E il Json ?!?
Se fossi in ruby andrei su https://rubygems.org/
Se fossi in nodejs andrei su https://www.npmjs.com/
E se so...
Hex.pm
Hex.pm
Hex.pm
Dove salvo i dati?
Mettiamo tutto insieme
Mettiamo tutto insieme
Mettiamo tutto insieme
Vorrei fare TDD ...
TDD
TDD
Developing
Developing
Molti cicli di sviluppo dopo ...
Running!!!
Running
Ma quanto va forte?
Ma quanto va forte?
Ma quanto va forte?
Ma quanto va forte?
Ma quanto va forte?
Ma quanto va forte?
Mi serve un pool manager ...
Mi serve un pool ...
Mi serve un pool ...
Mi serve un pool ...
Mi serve un pool ...
Mi serve un pool ...
Mi serve un pool ...
Ma quanto va forte?
Ma quanto va forte?
Recap
Recap
Ho trovato tutto quello che cercavo
Il linguaggio mi è piaciuto
L’ ecosistema mi è piaciuto
Il deploy è migliorabile...
Ma perchè non lo uso sempre?
SìO almeno ci provo :-)
Grazie!!!
twitter: https://twitter.com/gpad619
github: https://github.com/gpad
linkedin: https://it.linkedin.com/in/gianlu...
Upcoming SlideShare
Loading in …5
×

La mia prima lezione di pozioni

447 views

Published on

In questo talk farò vedere il primo approccio ad Elixir in un semplice caso reale. Vedremo cosa significa sviluppare un piccolo servizio in Elixir e quanto l'ecosistema sia pronto per andare in produzione.

Published in: Technology
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/qURD } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/qURD } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/qURD } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/qURD } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/qURD } ......................................................................................................................... Download doc Ebook here { https://soo.gd/qURD } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download Full EPUB Ebook here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download Full doc Ebook here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download PDF EBOOK here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download EPUB Ebook here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download doc Ebook here { http://shorturl.at/mzUV6 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

La mia prima lezione di pozioni

  1. 1. La mia prima lezione di pozioni E se diventassi un alchimista???
  2. 2. Ora vi racconto una storia ...
  3. 3. Chi sono Sviluppatore nell'anima, nato professionalmente negli anni ’90, ho vissuto l’avvento della programmazione ad oggetti. Oggi rivivo l’avvento di una nuova tecnologia, quella della programmazione funzionale.
  4. 4. Chi sono CTO & Founder di coders51
  5. 5. Chi sono twitter: https://twitter.com/gpad619 github: https://github.com/gpad linkedin: https://it.linkedin.com/in/gianlucapadovani74
  6. 6. Il problema ... Dobbiamo raccogliere info su come viene accettata la cookie policy dai vari siti di un nostro cliente. Semplice server che espone API REST in formato JSON Perchè non proviamo a farlo in Elixir? Avanti ...
  7. 7. Alcune regole … Non volevo usare un framework Volevo imparare il più possibile su Elixir (non su Phoenix) Se anche esplodeva tutto lo avrei rifatto in rails/nodejs in 1 gg Se non riuscivo a farlo in un tempo ragionevole io ed Elixir saremmo stati non compatibili
  8. 8. Da dove partire … Mix new nome-del-progetto
  9. 9. Da dove partire … Mix è un tool che gestisce tutto il ciclo di sviluppo del progetto Permette di creare nuovi progetti Permette di compilare Permette di lanciare i test Permette di eseguire il progetto etc ...
  10. 10. E adesso ?!?! PLUG da https://github.com/elixir-lang/plug Plug is: 1. A specification for composable modules between web applications 2. Connection adapters for different web servers in the Erlang VM
  11. 11. Plug
  12. 12. Plug PLUG da https://github.com/elixir-lang/plug Plug is: 1. A specification for composable modules between web applications 2. Connection adapters for different web servers in the Erlang VM
  13. 13. Web servers in Erlang ?!?
  14. 14. Web servers in Erlang ?!? Si ma chi vuoi che usi cowboy come web server ...
  15. 15. E il Json ?!? Se fossi in ruby andrei su https://rubygems.org/ Se fossi in nodejs andrei su https://www.npmjs.com/ E se sono in Elixir/Erlang ?
  16. 16. Hex.pm
  17. 17. Hex.pm
  18. 18. Hex.pm
  19. 19. Dove salvo i dati?
  20. 20. Mettiamo tutto insieme
  21. 21. Mettiamo tutto insieme
  22. 22. Mettiamo tutto insieme
  23. 23. Vorrei fare TDD ...
  24. 24. TDD
  25. 25. TDD
  26. 26. Developing
  27. 27. Developing Molti cicli di sviluppo dopo ...
  28. 28. Running!!!
  29. 29. Running
  30. 30. Ma quanto va forte?
  31. 31. Ma quanto va forte?
  32. 32. Ma quanto va forte?
  33. 33. Ma quanto va forte?
  34. 34. Ma quanto va forte?
  35. 35. Ma quanto va forte?
  36. 36. Mi serve un pool manager ...
  37. 37. Mi serve un pool ...
  38. 38. Mi serve un pool ...
  39. 39. Mi serve un pool ...
  40. 40. Mi serve un pool ...
  41. 41. Mi serve un pool ...
  42. 42. Mi serve un pool ...
  43. 43. Ma quanto va forte?
  44. 44. Ma quanto va forte?
  45. 45. Recap
  46. 46. Recap Ho trovato tutto quello che cercavo Il linguaggio mi è piaciuto L’ ecosistema mi è piaciuto Il deploy è migliorabile ma per ora si sopravvive … Plug è molto base ci vorrebbe qualcosa sopra (valutare altri framework) Domanda finale ...
  47. 47. Ma perchè non lo uso sempre?
  48. 48. SìO almeno ci provo :-)
  49. 49. Grazie!!! twitter: https://twitter.com/gpad619 github: https://github.com/gpad linkedin: https://it.linkedin.com/in/gianlucapadovani74

×