Creating a Throwaway Project
Since C programmers wrote the first Hello, World examples in 1978, the first traditional program you write when learning almost any language has been Hello, World. So we don’t break with tradition, we’re going to create a Hello, World application as our first project. It will help you get your feet wet. When you’re done, you’ll get to see all of those layers we talked about in practice.
You now have a shiny new Phoenix installation. It’s time to build a project. You’re in a functional language, so you’re going to spend all of your time writing functions. This common project structure will help you organize things so you don’t have to reimagine it for each project.
In Elixir, repetitive tasks that manage the programming ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access