Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 640 Bytes

abstract.md

File metadata and controls

15 lines (13 loc) · 640 Bytes

Maintainable Templates

Unwieldy templates (a.k.a. views) are all too common in Rails apps, even among teams that otherwise craft high-quality code. Being brought into or having to maintain a project with poorly-crafted templates leads to extreme frustration and less than-adequite-velocity. At philosophie, we have started to use a few simple patterns that result in templates that are easier to maintain. By investing a small amount of time up-front learning and applying these patterns we have saved countless hours in the long run.

Topics include:

  • The Decorator Pattern
  • Using View objects
  • Sanely building forms
  • And more!