InfoQ

News

Extended Rails Scaffolding with ActiveScaffold

Posted by Sebastien Auvray on Apr 23, 2007 04:32 PM

Community
Ruby
Topics
Ruby on Rails
Tags
Rails,
AJAX,
Scaffold
Scaffolding is an easy way to generate interfaces to edit your Rails data model. It can be really helpful when you need to edit backend exposed models. One month after RC1 release, ActiveScaffold (the successor of AjaxScaffold) made it to RC2. Here is the description, according to the authors:
ActiveScaffold provides you with a wealth of dynamically created goodness:
  • An AJAXified table interface for creating, updating, and deleting objects
  • Automatic handling of ActiveRecord associations
  • Sorting, Search and Pagination
  • Graceful JavaScript degradation
  • RESTful API support (XML/YAML/JSON) baked in
  • Sexy CSS styling and theming support
  • More extension points than you can shake a stick at
  • Guaranteed to work on Firefox 1+, IE 6+ and Safari 2+
  • Released under the MIT License, the same one as Rails itself, so you can use it freely in your commercial applications.
ActiveScaffold installation is straight-forward and comes with a comprehensive tutorial, documentation and demo. In 5 minutes you'll have a neat Ajax interface to browse and edit your model. ActiveScaffold makes it possible to customize and configure your scaffolding. Restful scaffolding will be easily integrated to your routes.

ActiveScaffold is an alternative to the older admin framework Streamlined, which appears to be in or near a state of abandonment after never really gaining much traction.

3 comments

Reply

Scaffolding in Java? by Jaka Jaksic Posted Apr 24, 2007 9:53 AM
Re: Scaffolding in Java? by Butch Landingin Posted Apr 25, 2007 12:12 AM
How does this compare with Streamlined? by Curt Hibbs Posted Apr 25, 2007 12:54 PM
  1. Back to top

    Scaffolding in Java?

    Apr 24, 2007 9:53 AM by Jaka Jaksic

    Very nice! Is there anything similar available for the Java platform? The closest thing I know of is the RIFE framework, but it's rather complex. Is there anything else?

  2. Back to top

    Re: Scaffolding in Java?

    Apr 25, 2007 12:12 AM by Butch Landingin

    Seam has a code generation tool called seamgen. It can handle relationships between entities.

  3. Back to top

    How does this compare with Streamlined?

    Apr 25, 2007 12:54 PM by Curt Hibbs

    How does this compare with Streamlined?

Exclusive Content

Tapestry for Nonbelievers

A new article by I. Drobiazko and R. Zubairov introduces v. 5 of the Apache Tapestry component-oriented web framework. The tutorial shows how to create a component and covers IoC in Tapestry and Ajax.

Pete Lacey on REST and Web Services

In this interview, Burton Group consultant Pete Lacey talks to Stefan Tilkov about his disillusionment with SOAP, his opinion on REST, and addresses some of the perceived shortcomings REST vs. WS-*.

Business Natural Languages Development in Ruby

Jay Fields presents his concept of Business Natural Languages - a type of Domain Specific Languages geared towards being readable by domain experts.

Distributed Version Control Systems: A Not-So-Quick Guide Through

Adoption and interest for Distributed Version Control Systems is constantly rising. We will introduce the concept of DVCS and have a look at 3 actors in the area: git, Mercurial and Bazaar.

Segundo Velasquez and Agile as Seen Through the Customer's Eyes

Deborah Hartmann interviewed Segundo Velasquez about his experience as customer with an Agile team during the initial phase of software design of a product.

Fine Grained Versioning with ClickOnce

David Cooksey shows how to fine grained versioning to a ClickOnce deployment using an HttpHandler written with ASP.NET, making partial rollouts to a test audience much easier.

Implementing Manual Activities in Windows Workflow

Windows workflow (WF) is an excellent framework for implementing business processes, but lacks support for human activities. This article describes a completely generic approach for changing this.

Markus Voelter about Software Architecture Documentation

In this interview taken during OOPSLA 2007, Markus Voelter talks about the importance of documenting the software architecture, and gives some good and also bad examples on how it could be done.