On 11/23/05, Damien McKenna <[EMAIL PROTECTED]> wrote: > > -----Original Message----- > > From: Sean Corfield [mailto:[EMAIL PROTECTED] > > > > RoR requires you manually generate controllers, models and > scaffolding. > > Given that it takes a single shell/DOS command to do this, I think its > fairly productive. I don't think it'll be too long before someone > writes some GUI tools for simplifying this step further.
There's actually integration with the code generator in the RadRails plugin for Eclipse. > > If you want a nicely formatted page / form, you need to write it > > yourself since the defaults are ugly ass tables that don't > > really let you tweak them easily with CSS. > > That is one definite problem, even the Agile-Rails book delves fairly > quickly into rewriting the default output as DIVs. The generator scripts are pretty simple -- and its really easy to have them generate code closer to your default preferences. > > PLUM does a lot more auto-generation so it's bound to be faster and > > I suspect the generated code is easier to modify visually. > > True, until RoR gets some (more) GUI tools it will lag in this arena. Knowing a lot of hardcore Rails programmers, I can't imagine that a lot of GUIs are on the way -- there are certainly going to be IDE plugins for Rails (Komodo from ActiveState now supports Ruby/Rails in addition to RadRails and RDT for Eclipse) but there's no real need for a GUI to generate the *application* if you really look at how the Rails libraries are built implemented. GUI, script, or hand-coded, writing a model component that looks like def User<ActiveRecord::Base end I mean -- how much GUI do you need? :) The scripts that come with Rails *do* put the boilerplate CRUD into the controller, but it's similarly trivial code, and quite frankly you immediately start to build your app. On real reason to use the scaffolding is to immediately have an object you can write tests for, which is one key to the Agility underlying Rails. -- John Paul Ashenfelter CTO/Transitionpoint (blog) http://www.ashenfelter.com (email) [EMAIL PROTECTED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225250 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

