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

Elixir/Phoenix for @ruby_gdl

Elixir/Phoenix for @ruby_gdl

Phoenix Web Framework basics

JoseLuis Torres

August 20, 2015
Tweet

More Decks by JoseLuis Torres

Other Decks in Programming

Transcript

  1. What it is Phoenix? • Web framework MVC based on

    Elixir the functional programming language with capabilities to develop quick solutions with failed tolerance and high performance
  2. Mix A tool to run convenience Phoenix tasks • built-in

    Phoenix-specific • ecto-specific $ mix help | grep -i phoenix mix phoenix.digest mix phoenix.gen.channel mix phoenix.gen.html mix phoenix.gen.json mix phoenix.gen.model mix phoenix.new mix phoenix.routes mix phoenix.server
  3. Plug A specification and conveniences for composable modules between web

    applications Connection adapters for different web servers in the Erlang VM
  4. Ecto DB abstracion for the web app Adapters: • PostgreSQL

    • MySQL • MSSQL • SQLite3 • (coming soon) MongoDB $ mix ecto.create $ mix ecto.migrate The repo Model Changesets and validations
  5. Channels Real-time ready to use communication tool for our web

    app. Websockets Sending and receiving messages