Get the taste of Phoenix web framework in just 5m using Livebook - the interactive code notebook.
- Install livebook using your preferred method
- Click "Open"
- Select tab "From URL"
- Paste the link to interactive notebook in this repo
- Click "Import"
https://raw.githubusercontent.com/tomekowal/phoenix-playground/main/phoenix-playground.livemd
Modify and evaluate the code to understand the basics. Enjoy! :)
If you are using Linux you might not see why this is helpful. But on Windows and Mac, the livebook installer is super easy to use. You don't need to think about Erlang or Elixir versions to start coding.
For Phoenix, you don't need to learn about:
- installing archives,
- setting up new project,
- understanding mix,
- getting dependencies...
You can jump straight to playing with code to see if you enjoy the framework.
@wojtekmach for wojtekmach/mix_install_examples
. Phoenix example was my basis for the playground.
@Gazler who gave the idea of one file Phoenix app to Wojtek.
Since the playground is just one file, it can be used for teaching tricky concepts on a working example. Let me know if you would like to see any concept explained in this way by opening an issue in this repository.