February 2012
2 posts
Independent Deployability with Ruby on Rails
In pretty much any well designed application, you’ll discover the following phenomenon (among others): dependencies point from the concrete to the abstract. What would that look like in a Rails application? For starters, Rails would depend on your application, but your application wouldn’t know a damn thing about Rails. In other words, your Gemfile would look like: gem "rails" gem...
Feb 6th
Specdown, README Driven Development, and the...
Testing used to be simple. Derive a class from Test::Unit, write a method, make an assertion, red-green-refactor, and you’re done. Then Dan North fucked all that up. Suddenly we had to actually talk to our stakeholders. We began drafting acceptance criteria in a domain specific language understandable by the programming-impaired. Our testing API exploded. Gone were the days of assert....
Feb 5th
April 2010
1 post
Liquid Layouts and Matrix Transposition
Liquid layouts: the practice (among other things) of rendering a single ul/li group (like this): <ul> <li>1</li> <li>2</li> <li>3</li> <li>4</li> <li>5</li> <li>6</li> <li>7</li> <li>8</li> <li>9</li> <li>10</li> ...
Apr 4th
12 notes