Hacker News new | ask | show | jobs
by aloukissas 1041 days ago
I’m surprised to see that the OP, as a Django user, does not call out the lack of an out of the box admin tool that’s not there in Phoenix. Django’s admin is amazing and super useful in production. I love phoenix but I miss an admin tool :(
4 comments

Author here. I do love me some Django admin, but I find that I tend to use it a lot early on in a project and then slowly move as much away from it as possible as we build up more specific admin/management-type functionality in the app itself.

I also would probably include Django Admin in the "app ecosystem" stuff that I do call out. I think if Phoenix had a similar ecosystem, there could easily be something like Django Admin that you could just drop into a project.

There is! Andy Glassman talked about this at Empex NYC (that I help organize btw!) https://www.youtube.com/watch?v=3c9kMmxeSA0

The tool Andy uses is called kaffy https://hexdocs.pm/kaffy/0.5.0/readme.html

As a Phoenix user, I Call out!

Something like the Django admin in phoenix would be like taking the actual USP of Django away … and it could even be real-time and collaborative by default :-)

Not interactive, but I hear good things about kaffy
The Django admin has unfortunately stayed stagnant for 15 years. We built a replacement admin in iommi first almost as a joke, but now it's a serious part of the framework. Our admin is 645 lines of code (54 of which are imports!) while djangos admin is 5307, and still our admin is way more customizable. Not only that, but you can easily reuse all those customizations if you want to lift stuff out of the admin to your own stand alone view, unlike with the Django admin.

It's all about great abstractions. Django never extracted the table/filter stuff from the admin into a usable stand alone component, and it really shows.

Could you consider releasing it into the open source?

Django admin is stagnant mostly because of lack of uptake in support from companies. Everyone makes their own admin solution rather than collaborating.

There's several plug-and-play admin tools for Phoenix.