Api for creating admin interface easily (like django)
I hate creating dozens of CRUDS for admin areas for some of applications. In many applications it can be done in the frontend, but there are situations when you just can't do that.
15 comments
-
Adman65 commented
I was thinking about making something like this, but it should really a gem. It shouldn't be in the core. If it were to be an "official" gem I'd like that. Keep it as a gem so it can be isolated from core. This will allow it to be updated apart from the core by people who are more interested in it and produce changes faster upstream.
-
drogus
commented
I agree that it should not be in rails core. But just look at Merb. Almost everything is a plugin, core is really minimal. Even helpers are plugin.
Key point of this is *core team support* for this plugin
ActiveScaffold is good plugin but everyone that says "why should we write something like that? we have ActiveScaffold" basically haven't used django admin API.
-
softmind
commented
I would like to see this advantage in Rails 3.0.
-
cainlevy
commented
As the one-time lead developer on ActiveScaffold, let me proclaim loudly that it should NOT be incorporated into Rails. Nor should anything like it.
Proof? I built most of it, and I no longer use it. Instead I have been working on a plugin called Presenting that is less hackish and works with Rails instead of against Rails.
I don't even think that an improved API is necessary to build these interfaces. My Presenting plugin works very well within the Rails 2.x code using a component-like architecture and zero invasive hacks.
-
toddwf
commented
Like some others, I think ActiveScaffold should be used for admin interfaces if needed.I would support that it be recognized as a "first class citizen" of gems, but not incorporated into rails core
-
nateleavitt
commented
I disagree with this one. I don't think it belongs. I think this should be a separate plugin/engine.
-
oweff commented
Wow no. Rails is a framework and the core should not include such an API.
An enhanced administration panel app is a perfect case for implementing slices/engines instead.
-
drogus
commented
panosjee: have you actually used django admin panel api?
-
panosjee
commented
Yeah sure, it should not be my default there
But since there is already the plugin for that then there is no point to continue this discussion :) The only problem with AS is that it lacks behind Rails for a small period due to lack of developers -
Jorge Calás Lozano
commented
I think that should be done with a gem, plugin, slice or engine.
-
John Yerhot
commented
I would hesitate incorporating ActiveScaffold or doing anything similar in Rails. Maybe I'm a purist, but I think any auto-admin interfaces would be better left as a Gem or plugin
-
Gerson
commented
"Maybe Rails could incorporate and improve ActiveScaffold" 2
-
panosjee
commented
Maybe Rails could incorporate and improve ActiveScaffold
-
Abraham Estrada commented
That was the reason made me choose Django instead of Ruby On Rails.
-
drogus
commented
I'm wondering why this was created with -3 votes :)