3 ms·
My history is that I'm probably one of the few people that did plug before Phoenix, and there are a few places where Phoenix can break your brain when you're co
by throwawaymaths 4y ago
My history is that I'm probably one of the few people that did plug before Phoenix, and there are a few places where Phoenix can break your brain when you're coming to it... The organization (templates, views, controllers) is out of whack from what one "normally" does in elixir, and some of the "use X" to set defaults make it really hard to deviate from Phoenix back to what you would expect from elixir (Module.Alias.Alias => module/alias/alias) and some things are "basically impossible", like if you want to organize to Controllers.ABC instead of ABC.Controller.
Router helpers are also kind of a truck. It took me years to understand why you would want them and I still often just hardcode routes in the templates.
Some things in Phoenix are relatively hard if you want to have multiple endpoints in the same app without doing an umbrella.
On the other hand they say consistency is the hobgoblin of the small mind, so I might be guilty as charged in my quest for consistency