Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Getting Started With Phoenix - ElixirConf UY

Elaine Naomi
November 11, 2022

Getting Started With Phoenix - ElixirConf UY

Elaine Naomi

November 11, 2022
Tweet

More Decks by Elaine Naomi

Other Decks in Programming

Transcript

  1. Software Engineer/Developer (since 2008) B.Sc. in Computer Engineering M.Sc. in

    Computer Science ELAINE NAOMI WATANABE twitter.com/elaine_nw speakerdeck.com/elainenaomi linkedin.com/in/elainenaomi
  2. https://en.wikipedia.org/wiki/Web_framework Web Framework It is standard way to build and

    deploy web applications Automation of common activities performed in web development For example, providing libraries for database access, templating frameworks, session management, often focusing on code reuse
  3. https://en.wikipedia.org/wiki/Web_framework Web Framework It is standard way to build and

    deploy web applications Automation of common activities performed in web development For example, providing libraries for database access, templating frameworks, session management, often focusing on code reuse
  4. https://en.wikipedia.org/wiki/Web_framework Web Framework It is standard way to build and

    deploy web applications Automation of common activities performed in web development For example, providing libraries for database access, templating frameworks, session management, often focusing on code reuse
  5. Phoenix Framework Web framework created in 2014 for Elixir programming

    language Creator: Chris McCord Latest version: 1.6.15 Released date: 2022-10-26
  6. Phoenix Framework Web framework created in 2014 for Elixir programming

    language Creator: Chris McCord Latest version: 1.6.15 Released date: 2022-10-26
  7. ➔ Building a landing page ➔ Adding the authentication system

    ➔ Creating, reading, updating, deleting user tasks ➔ Adding sub-tasks to user tasks ➔ Building the task status from sub-tasks ➔ Deploying on fly.io
  8. I'm using fly.io for this toy app because of the

    simple setup Installing flyctl command For example, via homebrew for mac os brew install flyctl Creating an account flyctl auth signup Launching the app cd taskify fly launch Stopping the app fly scale count 0 https://fly.io/docs/hands-on/install-flyctl/ https://fly.io/docs/elixir/getting-started/
  9. "Given most teams can use other techniques that are language

    agnostic to upgrade their systems, such as Blue/Green deployments, Canary deployments, Rolling deployments, and others, hot upgrades are rarely a viable option" https://hexdocs.pm/mix/1.14.1/Mix.Tasks.Release.html#module-hot-code-upgrades
  10. ➔ Introduction to Phoenix Request Life-Cycle ➔ Introduction to Phoenix

    generators ➔ Introduction to Ecto: migrations, Ecto schema and validations, Ecto queries ➔ Introduction to authentication with mix phx.gen.auth ➔ An overview of data integrity :) ➔ Deployment with fly.io
  11. !!Con 2019- Tail Call Optimization: The Musical!! by Anjana Vakil

    & Natalia Margolis https://www.youtube.com/watch?v=-PX0BV9hGZY