No images? Click here Start building your first Phoenix appPhoenix is a web framework that sits on top of the Elixir programming language, much in the same way that Rails sits atop Ruby or Express sits atop Node and JavaScript. Phoenix is very much designed to be a standard Elixir application and thus abides by the same rules and the same principles, but also encompasses all of the same things that make Elixir so great to work with! The first and biggest thing that Phoenix gets via Elixir is first-class and dead-simple concurrency support. Writing code that performs and scales well on multiple core machines is a breeze. Phoenix also benefits very heavily from being based on a functional immutable language. Large codebases remain very simple to reason with, and the fear of introducing significant breaking changes because of a mutation deeply-nested in your code becomes a thing of the past. In Chapter 2 of Phoenix Web Development, Brandon Richey guides you through building the skeleton of your first Phoenix app. You'll learn the building blocks of any Phoenix application: controllers, views, and templates (and how they interact). You'll also begin diving into writing your first tests covering controllers and views to start enforcing a strong and real-world systems development life cycle, and by the end of the chapter will have the foundations for the app that will be built thoughout the book: a real-time voting/polling application. Phoenix Web DevelopmentLearn functional programming through building a high-performance functional prototype of a web app from scratch using Elixir and Phoenix. Understand the Elixir Concurrency and parallelization model to build blazingly fast apps. Test, debug and deploy your web apps using the Phoenix framework. Start your subscription today and you'll get access to this book, plus 300+ other web design and development books in SitePoint Premium! This week, new subscribers can get 60% off for the first three months. That’s $3 a month to access 400+ tech books and courses — grab the deal here. Until next time, |