Phoenix Feature Folders

Tom Liversidge
Feb 16, 2017 · 4 min read
mix phoenix.new my_app
/web/models/ 
/web/views/
/web/controllers/

Feature Folders

authentication/ #logging in, authenticating requests etc..
membership/ #registering with the site, viewing account etc.
video_viewer/ #the main app, viewing and annotating videos
video_viewer_controller.ex
video_viewer_view.ex
video_channel.ex
video_viewer.html.eex
annotation_view.ex
admin/videos/ #managing your videos

Setting up Phoenix for Feature Folders

Default Behaviour

Implementing Feature Folders

Source code

Tom Liversidge

Written by

software developer, expat in estonia, coffee drinker

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade