Ask HN: If Django's admin is so awesome, why hasn't it been ported to Rails?
I'm curious...seems like many arguments I hear for Django end up being the equivalent of "Django is an adequate Rails replacement...PLUS it has the unbelievable admin module".
Ok, great. I've played a bit with Django, and I do admit I like the admin interface. Makes things very nice when you're in the early stages of development. However, I have to wonder...if it's so great, and if folks are choosing Django over Rails simply because of the admin module, then why hasn't someone simply ported the admin module to Rails? Is it really that complex under the hood? Python and Ruby aren't that different...is there something there that makes this sort of undertaking impossible?
Just curious...
5 comments
[ 3.8 ms ] story [ 20.2 ms ] threadRails was built around making client websites and in house web apps for 37 signals. Thus, perhaps on an app like Basecamp or many client sites, a standard admin panel wouldn't make a lot of sense. Something more custom would need to be built for those.
I find that most devs tend to "scratch their own itch", so that might explain the difference.
The admin in Django is great, but it's not the only way to do things.
Not to say they are trying to replicate Django's admin, but rather to present a semi-automated way of surfacing CRUD actions on your Rails models.
To go all the way to a Django-like admin, a Rails plugin might have to do things like tie into authentication, which is not standardized in Rails, and either create some of its own models or require the addition of attributes on existing models (e.g. for things like modification history).
It may be a combination of possibilities:
1. Rails devs create a bare-bones / scaffolded admin as needed
2. Rails apps that really need CMS/admin functionality build something highly customized to their app and haven't seen the value in generalizing it for the community (or it isn't easy to do)
3. Developers that need out-of-the-box admin haven't found a barrier to entry that prevents them from using Django instead of Rails
I don't know the answer, but I think game2studios makes a great argument that the 2 frameworks arose out of different needs.
http://github.com/neerajdotname/admin_data
I am not the developer but I do use it for most of my projects. Basically just presents an easy way to view and modify the data in your tables using a slick web interface and it requires basically no setup beyond the install.