Skip to content
0:00 / 0:00

#elixir#phoenix#domain-drivendesign

Lance Halvorsen - Phoenix Is Not Your Application (ElixirConfEU 2016)

Erlang Solutions

18K subscribers • 48 videos on Hallway

YouTube
  • Recommended by 3 people: 3 in engineering communities.
  • Presented by Lance Halvorsen
  • May be out of date. Uploaded 10 years ago, in an area where tools change fast.
  • An opinion. It argues one side of a question engineers disagree on.

Intermediate. Assumes working knowledge.

10K views10 years ago3 recommendations

Software designWeb developmentElixir and ErlangSoftware architectureDesign patterns

Lance Halvorsen argues for decoupling core business logic from the Phoenix web framework in Elixir applications.

Slides and more info: elixirconf.eu/elixirconf2016/lance-halvorsen Frameworks are a great help to web developers in all languages. The productivity increases are real, but there's a catch. Framework elements tend to entangle and overshadow an application's domain entities. This effectively chains the application to the framework. Choosing a new framework, or choosing a new interface entirely, almost certainly means a rewrite. Elixir and Phoenix offer a way out. We can build an application in pure Elixir before we ever run "mix phoenix.new". We can test this application in isolation to improve our confidence in it. We can bring it into a new Phoenix project as a dependency. Then Phoenix can do what it does best, be the application's web interface. Talk objectives * Expand our understanding beyond traditional patterns of web application development. * Explore new techniques that Elixir and Phoenix make available. * Understand the Elixir and Phoenix constructs which make these techniques possible. Target audience This talk is for anybody who is interested in web development. Lance is the principal author and maintainer of the Phoenix Guides. A Senior Software Engineer at GoPro, he lives in Berkeley, California where he enjoys music, art, and the culinary joys of the Bay Area. He's also been a professional web developer since "state of the art" meant Perl scripts in an Apache cgi-bin directory. Github: lancehalvorsen Twitter: @lance_halvorsen

Why it's here

3 people recommend this

What people say. Engineers frequently recommend this talk to help developers avoid tightly coupling their core application logic to the Phoenix framework.

u/sushantbuzzzin r/elixir • Recommends

On “Phoenix alternatives?”

by no means i am a phoenix or elixir guru but i want you to watch this talk. link to this video I dont agree with all of what he said but he did make some amazing points.

u/mgwidmannin r/elixir • Recommends

On “Make Phoenix faster with a GenServer-backed cache”

Also, you should try to avoid this kind of language With the underlying cache built, we now want to ensure Phoenix keeps the cache running. Phoenix does no such thing. Elixir or the Erlang VM/OTP are more accurate answers. Language like this adds to the myth that Phoenix is your application, which has been debunked and proven untrue in many other blog posts and talks. link to this video

u/gausbyin r/elixir • Recommends

On “What are the best conference talk videos for Elixir?”

One of the most important talks might be Lance Halvorsen's ElixirConfEU 2016 talk called Phoenix Is Not Your Application. I think the message is very important for people who come into the community from a Phoenix angle.