Agile Web Development

Build it. Launch it. Love it.

Roar offers automated rails

Provides an automated admin framework for Rails resources, through a Domain Specific Language (DSL) in the controller. Full support for CRUD, model relationships, custom widgets, and customization.

Install from source:

  svn://rubyforge.org/var/svn/roar/trunk/roar

Install the dependencies:

  • criteriaquery: svn://rubyforge.org/var/svn/criteriaquery
  • paginator: gem install paginator

Install the assets:

  rake roar:install

Describe your interface in your controller:

  class PostController < ApplicationController
    roar :prefix => "admin" do
      order "created_at DESC"

      table do
        edit :title
        date :created_at
      end

      form do
        text_field :title
        text_area :body
      end
    end
  end

Online demo at: http://roardemo.nanoware.com/

Vitals

Home http://nanoware.com/roar/
Repository svn://rubyforge.org/var/svn/roar/trunk/roar
License Rails' (MIT)
Tags Tag_red
Rating (12 votes)
Owner Wayne Larsen
Created 23 February 2007

Comments

Add a comment