发新话题
打印

[Rails插件] 自动脚手架大比拼

自动脚手架大比拼

http://www.joesniff.co.uk/critique/rails-admins-plugins-review.html

                                A brief examination of some of the major Admin plugins for rails.
  • Lipsiaadmin
  • AutoAdmin
  • ActiveScaffold
  • Hobo
  • Streamlined
Lipsiadminhttp://rails.lipsiasoft.com/wiki/lipsiadmin
Google group Members: No group
Live Demo: http://demoadmin.lipsiasoft.org/admin/
Sample Projects: None
This admin framework mixes Ajax/JavaScript (library Ext 2.0 views) and old school HTML. The interface is presented in an application style reminiscent of Microsoft Outlook.

Feature set
  • http://extjs.com/ JavaScript library.
  • Generator Admin code.
  • Permissions support
  • Live search
  • Creation of menus within migrations.
Weaknesses
  • Community seems non-existent
  • Sparse documentation
AutoAdminhttp://code.trebex.net/auto-admin
Google group Members (http://groups.google.com/group/rails-autoadmin):  37
Live Demo: None
Sample Projects: None
Heavily influenced by Djangos admin system in both theme and withthe definition of admin display configuration within in models.Sub-projects within Django have already started to move away from thisapproach (newforms-admin).
Its goal is to generate views you otherwise wouldn’t bother to create.
Feature set
  • Themes
  • Basic Access Control - All or Nothing
Weaknesses
  • Lacks reliable set of Tests
  • Admin display configuration is stored within Models (Django branches newforms-admin have already moved aways from this)
  • Problems with editable sublists
  • Access control does not support more complex use cases.
ActiveScaffold (Version 1.1.1)http://www.activescaffold.com
Google group Members (http://groups.google.com/group/activescaffold): 1075
Live Demo: http://demo.activescaffold.com/
Sample Projects: (SVN)[url]http://activescaffold.googlecode.com/svn/applications/demo/[/url]
A Ajax driven admin system which promotes itself on being both configurable and customizable.
Configuration: “throwing flags and setting options and manipulating the setup.”
Customizing: “defining conventional methods or .rhtml overrides that it will intelligently use when available.”

Admin customisation is performed in the controller.
Feature Set
  • Installed through plugin
  • Ajax driven interface
  • Embed ActiveScaffold like a widget in your web page.
  • High quality Documentation
  • Supports Third Party plugins within active scaffold : http://wiki.activescaffold.com/wiki/published/ThirdPartyPlugins
  • Graceful JavaScript degradation
  • Hugely Customizable
    • Admin interface
      • Grouping form inputs
      • Layout
  • Guaranteed to work on Firefox 1+, IE 6+ and Safari 2+
Weaknesses
  • No concept of semantic markup for models so configuration takesover when a little magic could help reduce the work in some usages.
  • Ajax interface is not amazingly usable.
Hobo (version 0.7.2)http://hobocentral.net/
Google group Members: No Group
Live Demo: None
Sample Projects: http://hobocentral.net/blog/demos/
The Web App Builder for Rails. Focuses on the models providing magic to make the admin appear.

Feature Set
  • Installable through gem

  • DRYML - XML based markup language
  • Migration generation from Models
    • Define the table fields in the model
    • High level semantic definitions for model fields (eg. email address)
  • Permission System
  • Themes
  • ActiveRecord extensions
Weaknesses
  • Documentation is a little incomplete.
  • Screencasts are out of date
Streamlined (version 0.9)http://streamlinedframework.org/
Google group Members (http://groups.google.com/group/streamlined ): 474
Live Demo: None
Sample Projects: http://trac.streamlinedframework.org/wiki/SampleProject
Streamlined provides an instant, production-ready UI for yourActiveRecord model. It aims to bring the declarative goodness ofActiveRecord to the view tie. It has a nice balance of ajaxfunctionality with traditional page loads.

Feature Set

  • Separates Admin declarations and Model
  • In place editing (edit content in listing)
  • Export content to XML, CSV, and JSON
  • Pluggable CSS styling
  • Live data filtering
  • Advanced Filtering
  • Ajax-powered widgets and transitions
  • Views are can be overwritten Globally and per model
  • Good documentation + screencasts
  • IBM guides - http://www.ibm.com/developerworks/java/library/j-cb09056/
Weaknesses
  • No attaching of semantic markup to model fields.
  • The documentation (while improving) is a little patchy in places.
Conclusions (winners)ActiveScaffold
If your goal is to have as much flexibility as possible within your admin then ActiveScaffold is you best candidate.  It is incredibly versatile and the  documentation is a pleasure to work through. With developers contributing plugins its future growth looks promising.
Hobo
If your looking for an admin system and a framework and are less concerned about the configuration  of the admin then Hobo is your is candidate. The power to attach semantic data to modelshas great potential for complex forms elements being generatedautomatically. Currently only the ‘email’ type is provided so thisfeature is yet to take off. Be prepared to deal with incomplete documentation. The Mirc #hobo group and the hobo forums are happy to help if you get stuck.

TOP

发新话题