Post by Peter Cooper on July 11th, 2006
Trestles: Replacing Rails scaffolding with something better

- AJAX Scaffolding for Rails released as plugin
- Rails 1.2: What next for Rails?
- Cheat Sheet for REST on Rails



Scaffolding is not meant to be a final solution for any application. It's designed to provide 'scaffolding' for you to extend and improve. However, the developers of Trestle believe that the scaffolding could be improved significantly and have released their own version.
The trestle generator is an adaptation of the Rails scaffold generator. It produces scaffolding that’s more like production-quality code while maintaining all the rapid goodness you know and love about Rails.
The primary difference is that the HTTP verbs GET and POST are respected and used properly, as opposed to the system in Rails' default scaffolding. This also allows trestles to be more succinct, with just four actions (index, new, edit, and destroy). Trestles also have nicer error messages.

Click here to add on del.icio.us









July 12th, 2006 at 3:58 pm
Glad you like it!