Categories
Rails

RailsConf 2008 投影片選

一年一度的盛事結束了,大概翻了一遍目前可供下載的 RailsConf 2008 Presentation Files,我自己最喜愛以下四份投影片,談如何寫出更好的 Rails/Ruby 程式碼:

  1. Advanced Active Record Techniques Best Practice Refactoring
    用一個實際的例子,告訴你如何正確運用 Active Record 機制,將大部分的 Controller 移至 Model。
  2. The Worst Rails Code You’ve Ever Seen (and how not to write it yourself)
    挺有趣的投影片,舉例一些有點誇張的爛code。結論是請把 Ruby 基礎學好啊,跟厲害的人一起 co-work,多唸點書 (啊啊~可是講者的 Rails Way 一書好厚啊~)。
  3. Refactoring Your Rails Application
    Rails 重構型錄 Paper 真是不錯,如果再搭配 Martin Fowler 重構一書服用,保證你對如何寫出漂亮的code超有想法。
  4. “Design Patterns” in Ruby
    引述結論: “traditional” design patterns rely heavily on structure to solve problems, dynamic languages use language facilities to create simpler solutions.

One reply on “RailsConf 2008 投影片選”

Leave a Reply

Your email address will not be published. Required fields are marked *