On 9/22/05, John Farrar <[EMAIL PROTECTED]> wrote: > The benefits are subjective... but I will tell you that there are several > benefits that several CF developers have talked about at large. These > benefits are connected and not stand alone benefits... but for those that > have used it the difference is apparently the best thing to date for web > development. > > 1. Active Records 1a. The ability to generate a model from the database schema and the ability to recognize changes on the fly without interaction from the user and or cut/paste of updated code.
> 2. Automated CRUD form generation Once you get past the wow factor, this really isn't all that great, you end up recreating every template anyway. > 3. Automated Object creation/generation This also includes events automatically called in objects, such as when you 'destroy' and object, if a method exists inside the model called 'before_destroy', it's automatically called. > 4. Round trip updates > 5. Minimal manual coding (which is one of the beauties of CF, that's why we > use CFCs and Custom Tags... it's just taking things another level.) 6. Use of a domain specific language to handle object relationships and validation such as: class order < ActiveRecord::Base belongs_to :customer has_many :line_item validates_associated :customer validates_presence :shipping_address end 7. Built in friendly urls: localhost/items/edit/15 8. Conventions for a lot of common situations in web development (form validation, success notifications, etc) 9. Limited sql needed. I'm probably sounding like an onTap evangelist lately, but a some of this stuff is already done in the onTap framework.... -- Marlon "And I Sleep, and I dream of the person I might have been, and I'll be free again And I Speak, like someone who's been to the highest peaks, and back again And I Swear, that my grass is greener than anyoness, until I believe again" ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
