Phlip Plumlee

Phlip applies his compulsion for art and logic to complex problems in games, linguistics, bioinformatics, statistical process control, e-commerce, and software visualization. Advocating Agile methodologies increases the odds he can actually get to use them himself at work.

Test Driven Ajax (on Rails) Test Driven Ajax (on Rails)
by Phlip Plumlee
April 2007
Ebook: $9.99

Recent Posts | All O'Reilly Posts

Phlip blogs at:

If 'git reset' Is Not Your Favorite Command...

October 15 2012

No matter what your version control system, your command to throw away a batch of changes is your best friend -- if you use your test rig correctly. read more

TDD Myths

May 30 2010

While Extreme Programming remains a valuable template for project success, the decade of its adoption also saw the rise of many dilutions and derivatives. This post debunks some common myths about TDD. read more

Abstract Tests

May 04 2010

My last post showed how to mock a webservice. When you have more than one webservice, all their common code, tests, and mocks should remain DRY. This post demonstrates a ruthlessly effective test pattern that forces many different interfaces to behave as similarly as possible, using the minimum possible test… read more

Mock the Web Service

May 04 2010

This post shows how to write a web service using Test-Driven Development. Our source code example is the exemplary active_merchant contribution to Ruby on Rails. It reveals how developer tests can correctly attack remote web services. Programmers writing clients (or servers) for any kind of web service should use these… read more

Contractive Delegation

April 20 2009

Well-factored code often has many small functions. If each adds value, and doesn't just pass the buck, then what do they all do? Typically, they contract their input by making it more specific. Then they delegate these specific data to a delegatee. read more

How to upgrade to the latest version of Rails

March 29 2009

I have upgraded several Rails 1.2.x programs to 2.x. This can be quite a leap, and some of the steps are counterintuitive, so this post attempts to put everything together, like a recipe. read more

Merb Mind Maps

February 16 2009

All blogs correlate their posts with tags. This blog post shows how to use these tags to display a mind map, hooking the current post into a tree of related posts. read more

Testing Rails Partials

October 09 2008

Test Driven Development works best when each test case targets one aspect of a class's interface. So this post will demonstrate a simple and direct way to test a partial without testing the Views, layouts, and Controller actions surrounding it. On very complex projects, this technique keeps your partials decoupled. read more

Recent Posts | All O'Reilly Posts