Post

I don't think it's just contexts' fault. I think it's also too much boilerplate that's needed to achieve basic stuff and LiveView not being part of the framework + its design with views and components being two different things. It's still the best stack on the planet if you asked me ๐Ÿ™ƒ (1/2)

George Millo@georgemillo.bsky.social

Did contexts kill Phoenix? New blog post: arrowsmithlabs.com/blog/did-con...

I feel that recent shift from views to components does similar thing. I still cannot fully comprehend how I should handle JSON-only routes with that approach or how I should handle routes that return different format depending on the `Accept` header or URL extension.

If anything I would prefer new projects to shift from `MyAppWeb.FooController` to IMHO "more natural" naming scheme of `MyAppWeb.Controllers.Foo` to match file path just like it is standard in other Elixir projects.