Ruby on Rails 有没有好的管理生成器? [英] Is there a good admin generator for Ruby on Rails?

查看:44
本文介绍了Ruby on Rails 有没有好的管理生成器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我当前的项目是在 Rails 中.来自 Symfony (PHP) 和 Django (Python) 背景,他们都有出色的管理生成器.Rails 中似乎缺少这一点.

My current project is in Rails. Coming from a Symfony (PHP) and Django (Python) background, they both have excellent admin generators. Seems like this is missing in Rails.

对于那些不熟悉 Symfony 或 Django 的人,它们都允许您在模型周围指定一些元数据,以自动(动态)生成管理界面来执行常见的 CRUD 操作.只需几条命令或几行代码,您就可以创建一个完整的 Intranet.它们外观精美,可扩展性足以满足您 99% 的管理需求.

For those who aren't familiar with Symfony or Django, they both allow you to specify some metadata around your models to automatically (dynamically) generate an admin interface to do the common CRUD operations. You can create an entire Intranet with only a few commands or lines of code. They have a good appearance and are extensible enough for 99% of your admin needs.

我为 Rails 寻找过类似的东西,但所有的项目要么没有活动,要么早就死了.除了脚手架之外,还有什么可以为 Rails 应用生成内部网/管理站点的吗?

I've looked for something similar for Rails, but all of the projects either have no activity or they died long ago. Is there anything to generate an intranet/admin site for a rails app other than scaffolding?

推荐答案

脚手架是创建管理后端的正常方式,但有一个名为 ActiveScaffold 可能会解决您的问题.

Scaffolding is the normal way to create an admin backend BUT there is a project called ActiveScaffold which may solve your problem.

这篇关于Ruby on Rails 有没有好的管理生成器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆