开发者

Rails plugin for generating dynamic / ajax crud interfaces compatible with Rails 3 beta?

Anyone know of some good gems or plugins to create dynamic / ajax crud interfaces for Rails 3 projects? I know active scaffold was popular before and it's been awhile since I have used it / any other gems similar to this (I usually just write it myse开发者_如何学编程lf).

I like the direction that the formtastic gem (http://github.com/justinfrench/formtastic) is headed and wonder what else people are combining with it.

Also I like the generators approach that Ryan Bates uses and he appears to be making updates for Rails 3.

Anything else I am missing here? (I am also open to gems not compatible with Rails 3 too I guess, I can always make a contribution and try to help them get to the next phase. ;))


There is a fork of active scaffold compatible with rails3:
http://vhochstein.wordpress.com/2010/08/28/setupactivescaffoldrails3/
More info:
http://github.com/vhochstein/active_scaffold
http://github.com/vhochstein/active_scaffold/wiki
http://groups.google.com/group/activescaffold/browse_thread/thread/b0447f2c3c655a45/f2f3687e7d954590

I'll take on the occasion to mention some of my personal toughts on AS vis-a-vis of Rail3:

  • AS needs to decouple on AR and work with ActiveModel instead
  • it needs to offer some sort of plug-able column introspection API, so it can work with other ORMs like Mongoid
  • the AS configuration needs to be per request (instance level) not global (thread safety, simpler to hack), or global with stateless per-request overrides (hope it makes sense), the first approach is a lot better

maybe write a thingy from scratch ...

PS. AS is one of the best pieces of software i have used, many people do not get to understand it's power because of the pretty steep learning curve.


I'm using admin_data for the basic CRUD backend of a site running Rails 3 beta in production. I tried several others and had compatibility issues with Rails 3.


You can DRY up your crud controllers with the inherited_resources gem: http://github.com/josevalim/inherited_resources


rails_admin was written from the ground-up for Rails 3 -- I use it in basically every project

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜