July 22, 2006
CRUDdy analysis
Rails developer Scott Raymond was inspired by all the CRUD/REST talk and took the plung to re-factor his IconBuffet.com and then write-up his experience. His analysis has been celebrated as "The missing content from DHH's keynote".
In Raymond's CRUD analysis he explains that constraining his controller's to CRUD reduced his number of actions from 75 to 58 while only increasing his controllers from 10 to 13. A CRUD constrained controller has been a hot topic which I covered in a previous article: Rails creator has data modeling opinion.
Raymond explains "Cutting actions is great, but even more significant is that the remaining ones are almost completely uniform ... which makes the entire application conceptually simpler, and thus easier to maintain, test, and extend."
The ROR weblog recognized his work in their entry Scott Raymond on Refactoring to REST. I noticed in the the comments that Alex asks if the core team would "bring [Saffolding] in-line with the new SimplyRestful and ActiveResource way of doing things". Rick then explains that the core team doesn't use scaffolding and that he uses Dan's CRUD Generator. Hmm.. something to look into real soon!
Posted by Jeffrey Hicks at 12:01 PM Permalink
This is a public forum. CMP Media and its affiliates are not responsible for and do not
control what is posted herein. CMP Media makes no warranties or guarantees concerning any advice dispensed by
its staff members or readers.
Community standards in this comment area do not permit hate language, excessive profanity, or
other patently offensive language. Please be aware that all information posted to this comment area becomes the
property of CMP Media LLC and may be edited and republished in print or electronic format as outlined in CMP
Media's Terms of Service.
Important Note: This comment area is NOT intended for commercial messages or
solicitations of business.
|