.comment-link {margin-left:.6em;}
ABCEDmindedness
Thursday, March 01, 2007

Quick and Clean - Well Factored Ruby by Chad Fowler 
Chad Fowler gave a very good talk at the NovaRug Users' Group (2/21/07) about well factored Ruby on Rails code that he called Quick and Clean. These are some notes and links to references.

The talks was inspired by Joel Spolsky's article on The Law of Leaky Abstraction. Chad argues that you have to know what is going on "under rails" to write great code. So learn more Ruby! Chad was also inspired by Martin Fowler's keynote at 2006 Rail Conf. In the keynote he states that Rails continues the tradition of smalltalk where quick can be clean and it does not have to be dirty.

Chad organized his presentation into some opinionated suggestions and presented sample code to make his point:

  • Controller only does CRUD methods
  • No SQL in Controllers
  • Limit Controllers to four lines
  • Avoid duplication
  • No code in your Views - make helpers to clean up
  • Master Ruby
Discussion was promoted by his conjecture that we may have be reaching the limit of MVC (Model-View-Controller). He referenced the Amrita as software worth exploring.

So a good meeting with links to even more.

Labels: , ,

permalink ( Thursday, March 01, 2007 ) Ray 0 comments links to this post

Comments: Post a Comment


Links to this post:

Create a Link

Daly blog unless thee forget.

zlides.com
Presentation Blogs
AllSudoku.com
Sudoku Games and Tools for Beginner or Obsessed
HTMLjive
JavaScript HTML Editor (1996)
Multipurpose Room Blog
Design and Innovation
Bletter-Form
Create enewsletters with RSS and JS
Bucknell Blogging Friends
David Winberger
Richard Herring
Pete Murchison
Blog Reading
Dave Winer
Art of Getting Over
DC Blogs:
Site Feed - Atom

archives:
March 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
June 2007
July 2007
August 2007
September 2007
October 2007
December 2007
March 2008
April 2008
May 2008
June 2008
August 2008
November 2008
December 2008
May 2009
June 2009
August 2009
September 2009
December 2009
January 2010
March 2010
April 2010
Powered by Blogger