<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;C0QHRn0zcCp7ImA9WxJUEEo.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478</id><updated>2009-07-08T17:42:17.388+01:00</updated><title>David Peterson</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://blog.davidpeterson.co.uk/" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>25</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><link rel="self" href="http://feeds.feedburner.com/david_peterson" type="application/atom+xml" /><entry gd:etag="W/&quot;DkUARHwzeSp7ImA9WxJVFk8.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-1591640769113445584</id><published>2009-07-03T12:33:00.008+01:00</published><updated>2009-07-03T13:30:45.281+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-03T13:30:45.281+01:00</app:edited><title>Miles apart but on the same page</title><content type="html">&lt;p&gt;&lt;a href="http://tutansblog.blogspot.com/"&gt;Nigel Charman&lt;/a&gt; has taken my &lt;a href="http://concordion.org/memo/StoryDeliveryLifecycle.pdf"&gt;story delivery diagram&lt;/a&gt; and &lt;a href="http://aboutit.co.nz/APN/APNWLGAgileAcceptanceTestingv1[1092kb].pdf"&gt;expanded it&lt;/a&gt; to cover the development cycle and project lifecycles, in a talk to the &lt;a href="http://aboutit.co.nz/APN/Home.htm"&gt;Agile Professionals Network&lt;/a&gt; (APN) in Wellington.&lt;/p&gt;&lt;p&gt;You can't get much further from the UK than New Zealand, but Nigel and I seem to share close views about the role and importance of automated acceptance testing.&lt;/p&gt;&lt;p&gt;The worked example in &lt;a href="http://aboutit.co.nz/APN/APNWLGAgileAcceptanceTestingv1[1092kb].pdf"&gt;Nigel's presentation&lt;/a&gt; is better than the examples in the Concordion tutorials. I think I'm going to have to steal it.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-1591640769113445584?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/tpXYuQzXfkk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/1591640769113445584/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=1591640769113445584" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/1591640769113445584?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/1591640769113445584?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/tpXYuQzXfkk/miles-apart-but-on-same-page.html" title="Miles apart but on the same page" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2009/07/miles-apart-but-on-same-page.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04FR3c4cCp7ImA9WxJWEUo.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-8910702627378854561</id><published>2009-06-16T17:42:00.006+01:00</published><updated>2009-06-16T18:05:16.938+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-16T18:05:16.938+01:00</app:edited><title>A cup of... Concordion</title><content type="html">&lt;p&gt;Georges Polyzois has published the second installment in his series about &lt;a href="http://www.concordion.org"&gt;Concordion&lt;/a&gt;:&lt;ul&gt;&lt;li&gt;&lt;a href="http://acupof.blogspot.com/2008/12/concordion-specification-based-testing_30.html"&gt;Part&amp;#160;1&lt;/a&gt; is an introduction to Concordion - the "what?" and "why?".&lt;/li&gt;&lt;li&gt;&lt;a href="http://acupof.blogspot.com/2009/06/concordion-specification-based-testing.html"&gt;Part&amp;#160;2&lt;/a&gt; gives an elaborate example - the "how?".&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;It's cool to see how people are using the tool in real-life.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-8910702627378854561?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/XENZQLyK4yQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/8910702627378854561/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=8910702627378854561" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/8910702627378854561?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/8910702627378854561?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/XENZQLyK4yQ/cup-of-concordion.html" title="A cup of... Concordion" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2009/06/cup-of-concordion.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0MDQH48eyp7ImA9WxJQFkU.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-4005770021479006406</id><published>2009-05-28T21:39:00.008+01:00</published><updated>2009-05-30T12:04:31.073+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-30T12:04:31.073+01:00</app:edited><title>Readability</title><content type="html">&lt;p&gt;I gave a brief talk on &lt;a href="http://www.concordion.org"&gt;Concordion&lt;/a&gt; at the "Agile Acceptance Testing Tools Round-up" event organised by &lt;a href="http://gojko.net/"&gt;Gojko Adzic&lt;/a&gt; in London last night. For those who attended, or those who didn't and are interested, these are &lt;a href="http://concordion.googlecode.com/files/intro-to-concordion.ppt"&gt;my slides&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;The main point I was trying to make is that clean code and clean tests are &lt;b&gt;readable&lt;/b&gt;. It's hard to make things too readable. Readable acceptance tests lead to readable fixtures lead to readable code. And the opposite applies too. Once readability starts to slip, things get horrible fast.&lt;/p&gt;&lt;p&gt;"Unmaintainability" is rather an abstract thing to look for, whereas poor readability is much more obvious. Readability in everything from build files to tests, should be a relentless focus for a team. Unreadable code or documents should not be tolerated because whatever you tolerate becomes the norm - it's the broken windows theory - if no-one seems to care, there's little incentive for others to take care.&lt;/p&gt;&lt;p&gt;Strangely, it wasn't until I put together this presentation that the importance of readability really grabbed me.&lt;/p&gt;&lt;img style="border: 0" src="http://www.davidpeterson.co.uk/image/misc/spagbog.png"/&gt;&lt;p&gt;P.S. For those that attended the talk, as a next step can I suggest you download &lt;a href="http://concordion.org/dist/1.3.1/concordion-kickstart-1.3.1.zip"&gt;concordion-kickstart-1.3.1.zip&lt;/a&gt;. It's an Eclipse project with a single "Hello World!" test that will hopefully show you just how simple Concordion is to use. If you like it, then you can follow the &lt;a href="http://concordion.org/Tutorial.html"&gt;tutorial&lt;/a&gt; and read more about the &lt;a href="http://concordion.org/Technique.html"&gt;technique&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-4005770021479006406?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/Ol9TIO0J2jU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/4005770021479006406/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=4005770021479006406" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/4005770021479006406?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/4005770021479006406?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/Ol9TIO0J2jU/readability.html" title="Readability" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2009/05/readability.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMGR3k5cCp7ImA9WxJQE08.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-3470993298697054093</id><published>2009-05-25T18:57:00.013+01:00</published><updated>2009-05-26T08:37:06.728+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-26T08:37:06.728+01:00</app:edited><title>Concordion 1.3.1</title><content type="html">&lt;p&gt;Concordion 1.3.1 was released last month with a handful of &lt;a href="http://www.concordion.org/Download.html"&gt;new and noteworthy features&lt;/a&gt;. There was an announcement on the Yahoo mailing list, but I wanted to wait for the Concordion.NET port to catch up before making an announcement on this blog.&lt;/p&gt;&lt;p&gt;For those who didn't know, there are now &lt;a href="http://www.concordion.org/Ports.html"&gt;versions of Concordion&lt;/a&gt; for:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Java&lt;/b&gt; (&lt;a href="http://www.concordion.org"&gt;Concordion&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;&lt;b&gt;.NET&lt;/b&gt; (&lt;a href="http://code.google.com/p/concordion-net/"&gt;Concordion.NET&lt;/a&gt;) by Jeffrey Cameron&lt;/li&gt;&lt;li&gt;&lt;b&gt;Python&lt;/b&gt; (&lt;a href="http://code.google.com/p/pyconcordion/"&gt;PyConcordion&lt;/a&gt;) by JC Plessis&lt;/li&gt;&lt;li&gt;&lt;b&gt;Ruby&lt;/b&gt; (&lt;a href="http://ruby-concordion.rubyforge.org/"&gt;ruby-concordion&lt;/a&gt;) by Ben Goodspeed, Ariel Valentin and Chris Gardner&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;So, if you're using Cucumber in Ruby, or FitNesse in .NET check out the alternative. No other acceptance testing framework lets you create such readable acceptance tests as Concordion's. The key advantage in having readable tests is that when you come back in three months time and wonder what the heck you were doing, you might actually have a clue.&lt;/p&gt;&lt;div style="background-color: #fffff7; padding: 8px;"&gt;&lt;b&gt;Update:&lt;/b&gt; Jeffrey Cameron has started a &lt;a href="http://living-in-concordion.blogspot.com/"&gt;blog about Concordion.NET&lt;/a&gt; and how to use it.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-3470993298697054093?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/zDrPVAKmLVI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/3470993298697054093/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=3470993298697054093" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/3470993298697054093?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/3470993298697054093?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/zDrPVAKmLVI/concordion-131.html" title="Concordion 1.3.1" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2009/05/concordion-131.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkYDSXk_eyp7ImA9WxVaEU4.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-2212565380337864956</id><published>2009-02-20T13:39:00.043Z</published><updated>2009-04-07T22:02:58.743+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-07T22:02:58.743+01:00</app:edited><title>Caught up in the heat of the moment</title><content type="html">&lt;p&gt;Nat Pryce's discussion of &lt;a href="http://www.natpryce.com/articles/000757.html"&gt;blinkered thinking&lt;/a&gt;, reminded me of an incident in Paris (France), in August 2003, that my wife still likes to tease me about. It was in the middle of a heatwave. I think the temperatures reached something like 39 or 40C and we ended up spending most of our time in the fully air-conditioned &lt;a href="http://en.wikipedia.org/wiki/Centre_Georges_Pompidou"&gt;Pompidou Centre&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;One of the reasons we'd chosen to go to Paris was that I wanted to go on the &lt;a href="http://www.pari-roller.com/"&gt;Pari Roller&lt;/a&gt; which is a huge street skate that runs every Friday night. It starts at ten o'clock at night and finishes about one in the morning.&lt;/p&gt;&lt;img style="border: 0; float: right; padding: 4px" src="http://www.davidpeterson.co.uk/image/cartoon/cold-tap.png" alt="Bathroom sink"/&gt;&lt;p&gt;In the evening, it was still really, really hot, but I figured I might as well give the skate a go, since I'd gone to all the trouble of carrying my skates over. I sweated buckets and got through two big bottles of water, but I made it round and really enjoyed it. When I got back to the hotel I was knackered and drenched with sweat. I just wanted to strip off, have a cold shower and go to bed. I went into the bathroom and turned on the cold tap. The water was warm. I guessed the pipes or the tank on the roof had been heated by the sun. I ran the tap for a long time, but it still didn't go cold. If anything it got hotter. I ended up having a shower in quite hot water and went to bed hot, sweaty and grumpy. Luckily I was so tired from the skate I managed to get some sleep.&lt;/p&gt;&lt;p&gt;The next morning, I mentioned to my wife that the cold tap hadn't been remotely cold.&lt;p/&gt;&lt;p&gt;&lt;i&gt;"Were you using the tap marked 'C'?"&lt;/i&gt;&lt;/p&gt;&lt;p&gt;"Yes, of course."&lt;/p&gt;&lt;p&gt;&lt;i&gt;"I see. Did you think about maybe trying the one marked 'F' instead?"&lt;/i&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-2212565380337864956?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/O-sxWtJOpbk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/2212565380337864956/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=2212565380337864956" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/2212565380337864956?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/2212565380337864956?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/O-sxWtJOpbk/caught-up-in-heat-of-moment.html" title="Caught up in the heat of the moment" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2009/02/caught-up-in-heat-of-moment.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4CRnwyfyp7ImA9WxVWEEs.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-6999702038716982148</id><published>2009-02-19T11:11:00.006Z</published><updated>2009-02-19T17:36:07.297Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-19T17:36:07.297Z</app:edited><title>Avoid not using positive method names</title><content type="html">&lt;p&gt;I'm integrating with &lt;a href="http://static.springsource.org/spring-security/site/index.html"&gt;Spring Security&lt;/a&gt; at the moment. It seems to be a well-designed framework, but I got myself confused this morning trying to implement some methods of the &lt;a href="http://static.springsource.org/spring-security/site/apidocs/org/springframework/security/userdetails/UserDetails.html"&gt;UserDetails&lt;/a&gt; interface:&lt;/p&gt;&lt;p style="padding: 8px 16px 8px 16px; background-color: #f7f7f7; line-height: 130%;"&gt;&lt;code style="font-size: 10pt"&gt;boolean &lt;b&gt;isAccountNonExpired()&lt;/b&gt;&lt;/code&gt;&lt;br/&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;Indicates whether the user's account has expired.&lt;br/&gt;&lt;code style="font-size: 10pt"&gt;boolean &lt;b&gt;isAccountNonLocked()&lt;/b&gt;&lt;/code&gt;&lt;br/&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;Indicates whether the user is locked or unlocked.&lt;br/&gt;&lt;code style="font-size: 10pt"&gt;boolean &lt;b&gt;isCredentialsNonExpired()&lt;/b&gt;&lt;/code&gt;&lt;br/&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;Indicates whether the user's credentials (password) has expired.&lt;br/&gt;&lt;code style="font-size: 10pt"&gt;boolean &lt;b&gt;isEnabled()&lt;/b&gt;&lt;/code&gt;&lt;br/&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;Indicates whether the user is enabled or disabled.&lt;/p&gt;&lt;p&gt;I imagine the designers wanted all the answers to be &lt;code style="font-size: 10pt"&gt;&lt;b&gt;true&lt;/b&gt;&lt;/code&gt; for the normal "happy" situation. But my brain couldn't cope with all the negatives, so I ended up writing a second set of positively-named methods to call from the negative ones. :-)&lt;/p&gt;&lt;pre style="font-size: 10pt; padding: 8px 16px 8px 16px; background-color: #f7f7f7;"&gt;&lt;b&gt;public boolean&lt;/b&gt; isAccountNonExpired() {&lt;br /&gt;    &lt;b&gt;return&lt;/b&gt; !isAccountExpired();&lt;br /&gt;}&lt;br /&gt;... etc.&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-6999702038716982148?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/AvN-_y2cdhY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/6999702038716982148/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=6999702038716982148" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/6999702038716982148?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/6999702038716982148?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/AvN-_y2cdhY/avoid-not-using-positive-method-names.html" title="Avoid not using positive method names" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">5</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2009/02/avoid-not-using-positive-method-names.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkYGRHY6cSp7ImA9WxVXFEk.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-3397977736589996955</id><published>2009-02-12T13:37:00.007Z</published><updated>2009-02-12T14:15:25.819Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-02-12T14:15:25.819Z</app:edited><title>GWT 1.6 Milestone 1</title><content type="html">In case you weren't aware, GWT 1.6 Milestone 1 has recently &lt;a href="http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/3e7e6cc3b35ad98a"&gt;been released&lt;/a&gt;. The biggest change is that projects are now laid out using a standard WAR file structure. This makes hosted mode much better because you now have full control over the web.xml file. They've also switched from Tomcat to Jetty internally (Jetty's start-up time is quicker) and they've added a button to restart the server without having to exit and restart hosted mode. Very convenient.&lt;br /&gt;&lt;br /&gt;I'm combining &lt;a href="http://code.google.com/webtoolkit/"&gt;GWT&lt;/a&gt; with &lt;a href="http://tapestry.apache.org/tapestry5/"&gt;Tapestry 5&lt;/a&gt;, in my current project, so these changes are very helpful. I can now run them together in hosted mode.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-3397977736589996955?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/rXAfGrUjA3w" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/3397977736589996955/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=3397977736589996955" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/3397977736589996955?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/3397977736589996955?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/rXAfGrUjA3w/gwt-16-milestone-1.html" title="GWT 1.6 Milestone 1" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2009/02/gwt-16-milestone-1.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkMMSH88cCp7ImA9WxVQFE4.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-953395303280461062</id><published>2009-01-31T13:05:00.011Z</published><updated>2009-01-31T19:34:49.178Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-01-31T19:34:49.178Z</app:edited><title>Google App Engine - Issues (January 2009)</title><content type="html">&lt;img style="border: 0px; padding-left: 10px; padding-bottom: 10px; float: right" src="http://www.davidpeterson.co.uk/image/cartoon/google-app-engine-on-fire.png" alt=""/&gt;&lt;p&gt; I'm writing this as a reminder to myself and potentially to give a headstart to anyone else making a similar evaluation. &lt;/p&gt;  &lt;p&gt; &lt;a href="http://code.google.com/appengine/"&gt;Google App Engine&lt;/a&gt; is seriously tempting. It removes the headache of scaling to millions of users by letting you run web applications on Google's infrastructure.  The trouble is, you have to write the applications in a very specific way designed to be scaled using Google technologies. &lt;/p&gt;  &lt;p&gt; For most Web 2.0 startups, I don't think this trade-off is worth it, for the following reasons: &lt;/p&gt;  &lt;ul&gt; &lt;li&gt;&lt;b&gt;It locks you in.&lt;/b&gt;&lt;br /&gt; Once you start using Google's &lt;a href="http://code.google.com/appengine/docs/python/datastore/"&gt;datastore&lt;/a&gt;, it's hard to move off it. There's currently no built-in support for exporting from the datastore (though it's on the roadmap and there are various open source utilities, such as &lt;a href="http://code.google.com/p/approcket/"&gt;AppRocket&lt;/a&gt;, that purport to do it). Even if you can get the data out what do you do with it? The development environment uses a relational database but this obviously isn't anywhere near as scalable as  Google's &lt;a href="http://labs.google.com/papers/bigtable.html"&gt;Bigtable&lt;/a&gt;-backed datastore. You could possibly migrate to a &lt;a href="http://hadoop.apache.org/core/"&gt;Hadoop&lt;/a&gt; / &lt;a href="http://hadoop.apache.org/hbase/"&gt;HBase&lt;/a&gt; solution. Good luck with that. &lt;br /&gt;&amp;nbsp; &lt;/li&gt;  &lt;li&gt;&lt;b&gt;It &lt;i&gt;only&lt;/i&gt; supports queries that are scalable to millions of users.&lt;/b&gt;&lt;br /&gt; The datastore is designed for scalability not flexibility. The query language is &lt;a href="http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html#Restrictions_on_Queries"&gt;heavily restricted&lt;/a&gt; and awkward to use.   You have to write &lt;a href="http://code.google.com/p/google-app-engine-ranklist/source/browse/trunk/ranker/ranker.py"&gt;complicated code&lt;/a&gt; to get hold of  &lt;a href="http://googleappengine.blogspot.com/2009/01/google-code-jams-ranking-library.html"&gt;pieces of information&lt;/a&gt;  that would be simple to get from an RDBMS. You could argue that the restrictions help you find and address scalablity issues early. However, not all queries &lt;i&gt;need&lt;/i&gt; to be scalable to millions of users. For example, some queries will only be performed by a small number of administrators. &lt;br /&gt;&amp;nbsp; &lt;/li&gt;  &lt;li&gt;&lt;b&gt;It has restrictions that could become unworkable.&lt;/b&gt;&lt;br /&gt; The maximum number of application files is currently restricted to 1000. An application can easily outgrow that, especially if it uses third party libraries. Individual files and BLOBs in the datastore have a maximum size of 1MB.  Changes to the service can happen apparently without warning (e.g. Aral Balkan &lt;a href="http://aralbalkan.com/1504"&gt;reports&lt;/a&gt; that query offsets were suddenly restricted to 1000 which meant you could only access the first 2000 items of any set, unless you happened to have a field you could filter on).  Quotas are strictly enforced with a message like "Over quota... Please try again later" - not a great customer experience, if you happen to be Slashdotted.  &lt;br /&gt;&amp;nbsp; &lt;/li&gt;  &lt;li&gt;&lt;b&gt;It's not clear what Google does with the code and data.&lt;/b&gt;&lt;br /&gt; For a lot of startups, Google is the scariest potential competitor. Will they steal your idea? Will they look at your data? Will they look at your code? The vague wording in the &lt;a href="http://code.google.com/appengine/privacy.html"&gt;privacy notice&lt;/a&gt; isn't completely reassuring in this respect: &lt;i&gt;"Google App Engine stores, processes your application source code and content in order to provide the service to you."&lt;/i&gt; &lt;br /&gt;&amp;nbsp; &lt;/li&gt;  &lt;li&gt;&lt;b&gt;It does not support long-running processes.&lt;/b&gt;&lt;br /&gt; Processes are killed if they run for more than a few seconds which makes data maintenance tasks difficult. There is currently no way to schedule processes to run at a particular time. If you want anything like that you'll have to kick it off by sending a request from another server. &lt;br /&gt;&amp;nbsp; &lt;/li&gt;  &lt;li&gt;&lt;b&gt;It's a "preview release".&lt;/b&gt;&lt;br /&gt; You &lt;i&gt;still&lt;/i&gt; cannot officially pay for more quota yet. This is "coming soon", but Google have been saying that for months. From &lt;a href="http://groups.google.com/group/google-appengine/browse_thread/thread/6ff62bbb2ee9f373/db045286aa157c48"&gt;what I can gather&lt;/a&gt; the numbers aren't accurate enough yet for billing.  However, some successful applications (e.g. BuddyPoke) appear to have already been given increased quotas judging by the fact they &lt;a href="http://code.google.com/appengine/casestudies.html#buddypoke"&gt;claim 12 million users&lt;/a&gt;. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt; If all you're trying to do is distribute something, say a Flash application, or to host a simple Facebook plugin with barely any server-side logic then Google App Engine might work out well. It will get you to market quicker and with fewer headaches.  However, if you're trying to start-up a serious Web 2.0 business, with unknown future directions and the potential to be acquired, I'd say Google App Engine is probably not a good move. The lock-in reduces your options and is likely to make your company less attractive to anyone but Google. Unfortunately, that means you're just going to have to bite the bullet and &lt;a href="http://aws.amazon.com"&gt;handle scalability yourself&lt;/a&gt;. :-( &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-953395303280461062?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/0hM8cRgBeKo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/953395303280461062/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=953395303280461062" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/953395303280461062?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/953395303280461062?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/0hM8cRgBeKo/google-app-engine-issues-january-2009.html" title="Google App Engine - Issues (January 2009)" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2009/01/google-app-engine-issues-january-2009.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8CQXo4cCp7ImA9WxRXEEQ.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-7678309128481679895</id><published>2008-10-15T19:21:00.000+01:00</published><updated>2008-10-15T19:21:00.438+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-15T19:21:00.438+01:00</app:edited><title>TOC / Identify the bottleneck</title><content type="html">&lt;img style="border: 0px" src="http://www.davidpeterson.co.uk/image/cartoon/toc-bottleneck.jpg" alt="Cartoon showing a wine bottle with 7 necks wound round it and the caption: 'Theory of Constraints. Step One: Identify the bottleneck." /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-7678309128481679895?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/d1wLp250Yag" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/7678309128481679895/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=7678309128481679895" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/7678309128481679895?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/7678309128481679895?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/d1wLp250Yag/toc-identify-bottleneck.html" title="TOC / Identify the bottleneck" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2008/10/toc-identify-bottleneck.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUEFRHw_fyp7ImA9WxRWEkQ.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-5445682949828859455</id><published>2008-10-14T18:06:00.027+01:00</published><updated>2008-10-29T16:26:55.247Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-29T16:26:55.247Z</app:edited><title>Label verbose items to simplify back-references</title><content type="html">This is quite an obvious little pattern, but I think it's still worth documenting.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Some repetition is harmless&lt;/b&gt;&lt;br /&gt;When I'm writing an example of a required behaviour, I find that I often have to refer to something I've already mentioned. For example:&lt;br /&gt;&lt;blockquote style="background-color: #d9ffd9; padding: 12px; background-image: url('http://www.concordion.org/image/technique/Good.png'); background-repeat: no-repeat; background-position: top right;"&gt;Given the following names: &lt;b&gt;Charles, Naomi, Melissa, Arnold&lt;/b&gt;&lt;br /&gt;Searching for '&lt;b&gt;ar&lt;/b&gt;' should find: &lt;b&gt;Charles, Arnold&lt;/b&gt;&lt;/blockquote&gt;&lt;p&gt;Here, I have mentioned the names Charles and Arnold twice: once when describing the context and once when describing the expected outcome. This isn't a problem because I purposely kept the names short to make the example easy to follow.&lt;/p&gt;&lt;p&gt;&lt;b&gt;But repetition can become awkward&lt;/b&gt;&lt;br /&gt;If the values are long or complicated then the examples can become hard to read and maintain. For example:&lt;/p&gt;&lt;blockquote style="background-color: #ffd9d9; padding: 12px; background-image: url('http://www.concordion.org/image/technique/Bad.png'); background-repeat: no-repeat; background-position: top right;"&gt;Given the following addresses:&lt;blockquote&gt;18 Cedar Row, Enfield, Middx, EN8 9TT&lt;br /&gt;"The Grange", 177 Hounslow Road, Epping, Essex, HA10 4PL&lt;br /&gt;2b Armsfield Avenue, London, SE1 2BN&lt;br /&gt;80 Commercial Street, Aberdeen, AR19 1TB&lt;/blockquote&gt;Searching for '&lt;b&gt;ar&lt;/b&gt;' should find:&lt;blockquote&gt;18 Cedar Row, Enfield, Middx, EN8 9TT&lt;br /&gt;2b Armsfield Avenue, London, SE1 2BN&lt;br /&gt;80 Commercial Street, Aberdeen, AR19 1TB&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;b&gt;So, use labels for verbose values&lt;/b&gt;&lt;br /&gt;Labelling each item allows you to use the label, instead of the value, whenever you need to refer to it.&lt;/p&gt;&lt;blockquote style="background-color: #d9ffd9; padding: 12px; background-image: url('http://www.concordion.org/image/technique/Good.png'); background-repeat: no-repeat; background-position: top right;"&gt;Given the following addresses:&lt;blockquote&gt;&lt;b&gt;(1)&lt;/b&gt; 18 Cedar Row, Enfield, Middx, EN8 9TT&lt;br /&gt;&lt;b&gt;(2)&lt;/b&gt; "The Grange", 177 Hounslow Road, Epping, Essex, HA10 4PL&lt;br /&gt;&lt;b&gt;(3)&lt;/b&gt; 2b Armsfield Avenue, London, SE1 2BN&lt;br /&gt;&lt;b&gt;(4)&lt;/b&gt; 80 Commercial Street, Aberdeen, AR19 1TB&lt;/blockquote&gt;Searching for '&lt;b&gt;ar&lt;/b&gt;' should match addresses: &lt;b&gt;(1), (3), and (4)&lt;/b&gt;&lt;/blockquote&gt;&lt;p&gt;I call them &lt;i&gt;labels&lt;/i&gt; or &lt;i&gt;pseudo-identifiers&lt;/i&gt; to distinguish them from real identifiers in the system under test. For example, in the implementation we might have a database table called &lt;code style="font-size: 10pt"&gt;Address&lt;/code&gt; with an identifier column called &lt;code style="font-size: 10pt"&gt;addressId&lt;/code&gt;. But the identifiers we use in the examples are merely a way of making the example easier to read. They are not a reflection of any particular database model. Any mapping between real identifiers and pseudo-identifiers must always be handled behind the scenes in the fixture code.&lt;/p&gt;&lt;p&gt;The labels don't have to be numeric. They could be letters (A, B, C) or other more meaningful short strings.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Labels can also help you to hide details&lt;/b&gt;&lt;br /&gt;Another advantage of labels is that they can let you gloss over unnecessary details. For example:&lt;/p&gt;&lt;img src="http://www.davidpeterson.co.uk/image/misc/acceptance-test-pseudo-identifiers.png" style="border: 0px" alt="Example acceptance test showing use of pseudo-identifiers" /&gt;&lt;p&gt;Using labels for bookings (1, 2) and for booking references (A, B) means we don't need to go into any details of what we're booking or what the booking references look like. If the format of the booking references is important, we can cover that in another test, but, in this test, we're not locking ourselves into any particular format. All we're doing is demonstrating the rule: "Each booking is given a unique booking reference that can be used to look-up the booking."&lt;/p&gt;&lt;p&gt;The fixture code will have the following methods:&lt;/p&gt;&lt;pre style="font-size: 10pt; background-color: #f7f7f7;"&gt;&lt;br /&gt;&lt;b style="color: #7f0055"&gt;public class&lt;/b&gt; IdentifyingBookingsTest &lt;b style="color: #7f0055"&gt;extends&lt;/b&gt; ConcordionTestCase {&lt;br /&gt;&lt;br /&gt;    &lt;b style="color: #7f0055"&gt;public void&lt;/b&gt; makeBooking(String bookingNumber, String bookingRefAlias) {&lt;br /&gt;        ...&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    &lt;b style="color: #7f0055"&gt;public&lt;/b&gt; String lookupBooking(String bookingRefAlias) {&lt;br /&gt;        ...&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;Having this extra level of indirection may make the fixture code work harder, but that is not a problem. It is much better to put complexity and implementation-related assumptions in the fixture code, where we have powerful refactoring tools at our disposal, than to complicate the specification and make it more fragile.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-5445682949828859455?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/c2Vscn9HzCk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/5445682949828859455/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=5445682949828859455" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/5445682949828859455?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/5445682949828859455?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/c2Vscn9HzCk/acceptance-testing-pattern-pseudo.html" title="Label verbose items to simplify back-references" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2008/10/acceptance-testing-pattern-pseudo.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUECQ30-fip7ImA9WxRQFE0.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-3375993026919100789</id><published>2008-10-07T19:15:00.005+01:00</published><updated>2008-10-07T19:21:02.356+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-07T19:21:02.356+01:00</app:edited><title>Please apply the patch and reboot.</title><content type="html">&lt;img style="border: 0" src="http://www.davidpeterson.co.uk/image/cartoon/patch.jpg" alt="Cartoon showing two image of the same woman, with different footwear and an eye patch. The caption reads: 'Please apply the patch and reboot.'" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-3375993026919100789?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/qLiSLT4omGg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/3375993026919100789/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=3375993026919100789" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/3375993026919100789?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/3375993026919100789?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/qLiSLT4omGg/please-apply-patch-and-reboot.html" title="Please apply the patch and reboot." /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2008/10/please-apply-patch-and-reboot.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0ENSXw_cSp7ImA9WxdSEkQ.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-8052312355889166434</id><published>2008-05-19T22:17:00.021+01:00</published><updated>2008-05-20T17:08:18.249+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-20T17:08:18.249+01:00</app:edited><title>How do we widen agile adoption?</title><content type="html">&lt;p&gt;Millions of software projects still aren't being run in an agile way. What can we do to widen agile adoption? Let's look at marketing strategy...&lt;/p&gt;&lt;p&gt;&lt;b&gt;First: eXtreme Programming&lt;/b&gt;&lt;br /&gt;In the beginning there was eXtreme Programming. Actually, Tom Gilb created an iterative method at least 10 years before that, called "Evo", which was (and is) in many ways better than XP, but, being based around metrics, it didn't have much sex appeal and never took off. Whereas the "eXtreme" branding appealed to innovators, or at least got them talking, and helped to spread the word.&lt;/p&gt;&lt;div&gt;&lt;img src="http://www.davidpeterson.co.uk/image/chasm/1.png" style="border: 0px; padding: 16px" alt="Step 1" /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;Then: Rebranding as Agile&lt;/b&gt;&lt;br /&gt;The word "eXtreme" may have appealed to innovators but it didn't appeal to their managers, so a few &lt;a href="http://agilemanifesto.org/"&gt;clever people&lt;/a&gt; came up with a new word that would serve to encompass not just XP but a whole genre of methods. You might not want to be extreme, but who wouldn't want to be &lt;em&gt;agile&lt;/em&gt;?&lt;/p&gt;&lt;p&gt;This marketing masterstroke led to early adopters (media, telecoms, IT firms etc.) beginning to take on agile practices.&lt;div&gt;&lt;img src="http://www.davidpeterson.co.uk/image/chasm/2.png" style="border: 0px; padding: 16px" alt="Step 2" /&gt;&lt;/div&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;Today: The Chasm&lt;/b&gt;&lt;br /&gt;Unfortunately, at this point, agile adoption began to stutter. This is where we are now, and where we have been for the last few years. The vast majority of organizations still aren't using agile methods. It's like a chasm has opened up and we haven't worked out how to cross it.&lt;/p&gt;&lt;div&gt;&lt;img src="http://www.davidpeterson.co.uk/image/chasm/3.png" style="border: 0px; padding: 16px" alt="Step 3" /&gt;&lt;/div&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;So, what do we do?&lt;/b&gt;&lt;br /&gt;Clarke Ching believes &lt;a href="http://www.clarkeching.com/2008/05/there-is-no-agi.html"&gt;the chasm is a mirage &lt;/a&gt; and that another rebranding ("EverydayAgile") is all that's needed to cross it. Brian Marick, on the other hand, thinks the chasm is so wide we might as well &lt;a href="http://www.exampler.com/blog/2008/01/21/uncrossing-the-chasm/"&gt;throw in the towel&lt;/a&gt; and retreat to more innovative companies.&lt;/p&gt;&lt;p&gt;My view is that the issue is real and is too important for us to simply give up on. If you consider how much time and money is wasted around the world on software projects that deliver late and don't actually do what the customer needs, the mind boggles. We have been "&lt;a href="http://agilemanifesto.org/"&gt;uncovering better ways of delivering software&lt;/a&gt;"; it seems criminal not to help others do the same.&lt;/p&gt;&lt;p&gt;I'm not convinced that a rebranding is necessary but, if it is, I think "Lean" or "JIT" might be better candidates than "EverydayAgile". I can see the idea of "EverydayAgile" is to try to make agile seem less daunting, but I don't think this is the problem. Organizations aren't scared off by the word "agile". Quite the opposite! They're drawn to it, to the extent that they'll claim to be "agile" when they're absolutely not. They see "agile" as a synonym for quality. If we were to rebrand, the purpose should be to stop the brand being diluted to the point that no-one knows what it actually means. However, though aging, the &lt;a href="http://agilemanifesto.org/"&gt;agile manifesto&lt;/a&gt; still seems to be doing a sufficiently good job of maintaining a sense of the brand values.&lt;/p&gt;&lt;p&gt;What I think we should do is follow &lt;a href="http://geoffmoore.blogs.com/"&gt;Geoffrey Moore&lt;/a&gt;'s advice about crossing the chasm:&lt;br /&gt;&lt;blockquote style="font-style: italic; line-spacing: 130%"&gt;"The fundamental principle for crossing the chasm is to target a specific niche market as your point of attack and focus all your resources on achieving the dominant leadership position in that segment."&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;div&gt;&lt;img src="http://www.davidpeterson.co.uk/image/chasm/4.png" style="border: 0px; padding: 16px" alt="Step 4" /&gt;&lt;/div&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;Where should we focus?&lt;/b&gt;&lt;br /&gt;I suggest we focus on &lt;em&gt;investment banks&lt;/em&gt;. They're on the left-hand edge of the early majority. They're financially-savvy and IT-heavy, so an improvement will be noticed, but they are also large and bureaucratic. They pay well, they're influential, they want to adopt agile, but they just can't work out how.&lt;/p&gt;&lt;p&gt;Rather than generic Agile conferences, we should organise a string of global conferences about &lt;em&gt;Agile Investment Banking&lt;/em&gt;, we should have our big-wigs talk to their big-wigs, build agile tool support to meet their specific needs, and focus our entire community's effort on helping them to become agile.&lt;/p&gt;&lt;p&gt;After we have demonstrated a track-record of success in investment banks, we will have crossed the chasm, and convincing everyone else should be a lot easier. That's the theory anyway...&lt;/p&gt;&lt;br /&gt;&lt;div&gt;&lt;img src="http://www.davidpeterson.co.uk/image/chasm/5.png" style="border: 0px; padding: 16px" alt="Step 5" /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-8052312355889166434?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/6wm6tUVHK3Y" height="1" width="1"/&gt;</content><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/8052312355889166434?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/8052312355889166434?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/6wm6tUVHK3Y/how-do-we-widen-agile-adoption.html" title="How do we widen agile adoption?" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><feedburner:origLink>http://blog.davidpeterson.co.uk/2008/05/how-do-we-widen-agile-adoption.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkYHSHoyeSp7ImA9WxdTEks.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-5406283648187350081</id><published>2008-05-08T11:10:00.007+01:00</published><updated>2008-05-08T17:28:59.491+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-08T17:28:59.491+01:00</app:edited><title>A False Sense of Security</title><content type="html">&lt;img src="http://www.davidpeterson.co.uk/image/cartoon/safe.png" alt="Security Safe" style="border: 0; padding: 0px 0px 12px 12px; float: right;"/&gt;&lt;br /&gt;Sometimes when you're testing, it's easy to get carried away with little edge cases and forget about things that are much more important.&lt;br /&gt;&lt;br /&gt;I saw a real-life example recently at a conference: The security safe in my hotel bedroom was designed to take a laptop and had a small hole in the top for passing in a power cable, so you could charge your machine while you were out of the room. It seemed like a clever idea, but then the exploratory tester in me took over.&lt;br /&gt;&lt;br /&gt;Two minutes later I had successfully broken in without the keycode: I bent a wire coat hanger (handily provided by the hotel), poked it through the hole, hit the little red reset button on the inside edge of the door, keyed-in a new 6&amp;nbsp;digit code, and watched as the door swung open. &lt;br /&gt;&lt;br /&gt;Shielding around the reset button might have solved that issue, but in fact the whole idea was &lt;i&gt;fundamentally flawed&lt;/i&gt;: The way the hotel room worked was that the lights and electric power sockets in the room only switched on when you placed your door-card into a slot by the door. That meant that even if you left your laptop in the safe with its power cable attached, it wouldn't be charging while you were out.&lt;br /&gt;&lt;br /&gt;This is why customer-level acceptance tests are so important. You can unit test your 6&amp;nbsp;digit security lock to your heart's content, but it's a complete waste of time if you're not actually solving the customer's problem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-5406283648187350081?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/r31L2BDi4fg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/5406283648187350081/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=5406283648187350081" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/5406283648187350081?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/5406283648187350081?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/r31L2BDi4fg/false-sense-of-security.html" title="A False Sense of Security" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2008/05/false-sense-of-security.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0UHQHY9eyp7ImA9WxZaF0k.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-1371225360603521590</id><published>2008-05-02T16:04:00.006+01:00</published><updated>2008-05-02T16:13:51.863+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-02T16:13:51.863+01:00</app:edited><title>Concordion for Ruby and Maven</title><content type="html">&lt;b&gt;Concordion for Ruby&lt;/b&gt;&lt;br/&gt;Ben Goodspeed has written a very neat &lt;a href="http://code.google.com/p/rcor/"&gt;Ruby port of Concordion&lt;/a&gt; and packaged it as a &lt;a href="http://code.google.com/p/rcor/downloads/list"&gt;gem&lt;/a&gt;. There are currently some &lt;a href="http://code.google.com/p/rcor/wiki/DifferencesBetweenRcorAndConcordion"&gt;minor syntactical differences&lt;/a&gt; between the Java version and the Ruby version because the Ruby version doesn't do &lt;a href="http://www.concordion.org/Tutorial.html#executeUnusualSentences"&gt;lookahead variable bindings&lt;/a&gt; yet (Ben's working on that) but the core functionality is already implemented (set, execute, assertEquals, and verifyRows).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Maven Integration&lt;/b&gt;&lt;br/&gt;Several people requested that the Java version of Concordion be added to Maven repositories and thanks to &lt;a href="http://jmbeas.blogspot.com/"&gt;José Manuel Beas&lt;/a&gt;, Wang Yi Zhou, &lt;a href="http://www.jroller.com/habuma/"&gt;Craig Walls&lt;/a&gt;, and others, this is now done (instructions for usage with Maven are &lt;a href="http://code.google.com/p/concordion/wiki/MavenizedSamples"&gt;here&lt;/a&gt;). Concordion 1.3.0 has the same functionality as 1.2.0 but with Maven support.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-1371225360603521590?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/q7z4lvJFGbU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/1371225360603521590/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=1371225360603521590" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/1371225360603521590?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/1371225360603521590?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/q7z4lvJFGbU/concordion-for-ruby-and-maven.html" title="Concordion for Ruby and Maven" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2008/05/concordion-for-ruby-and-maven.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU4DSHY-eyp7ImA9WxRWEkQ.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-5454336496364319424</id><published>2008-04-14T20:08:00.019+01:00</published><updated>2008-10-29T16:32:59.853Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-29T16:32:59.853Z</app:edited><title>High-Trust Negotiation</title><content type="html">I enjoyed David Anderson's article "&lt;a href="http://www.agilemanagement.net/Articles/Papers/StopNegotiatingStartColla.html"&gt;Stop Negotiating, Start Collaborating&lt;/a&gt;" but the title doesn't make sense to me. Surely collaboration is a form of negotiation?&lt;br /&gt;&lt;br /&gt;The way I see it is that there is a scale of trust underpinning any negotiation: At the low-trust end, you have lawyers involved, you're not budging an inch, and your aim is to hang your opponent out to dry. At the high-trust end, you're chatting over a cup of coffee. You've both got goals, but you're not going to screw each other over because the long-term relationship matters more to both of you than anything else. At this end of the scale you're still negotiating but it's a collaborative effort; you're trying to find solutions that will work out well for both of you.&lt;br /&gt;&lt;br /&gt;&lt;img style="padding: 16px; border: 0px" src="http://www.davidpeterson.co.uk/image/misc/FormsOfNegotiation.png" alt="Forms of Negotiation" /&gt;&lt;br /&gt;&lt;br /&gt;Negotiation isn't the problem. Lack of trust is the problem and there are no quick fixes. Building trust is about building relationships and that takes time.&lt;br /&gt;&lt;br /&gt;Transparency helps - in that it's tricky to build a relationship with someone who won't give any information away - but too much transparency can actually make decisions harder:&lt;br /&gt;&lt;div style="background-color: #e5e5e5; padding: 12px 24px 12px 24px;"&gt;&lt;b&gt;Manager:&lt;/b&gt;&lt;div style="padding-left: 72px"&gt;Jim, we'd like to hire you. The most we can offer you is $250K. I have been open with you. Now please be open with me: What is the minimum you would accept?&lt;/div&gt;&lt;br /&gt;&lt;b&gt;Jim:&lt;/b&gt;&lt;div style="padding-left: 72px"&gt;&lt;i&gt;Erm... well, the minimum I would accept is $100K, but obviously I'd like more than that.&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;It would be ridiculous to expect the candidate to say that, but, if he did, how do you resolve the situation? Whatever you do, someone's going to feel unhappy knowing they could have done better out of the deal.&lt;/p&gt;&lt;p&gt;People aren't robots. There's psychology at play and personal goals and emotions and that means, no matter what you might wish, collaboration is still negotiation, but a high-trust form.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-5454336496364319424?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/Ccii7_cDatc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/5454336496364319424/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=5454336496364319424" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/5454336496364319424?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/5454336496364319424?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/Ccii7_cDatc/high-trust-negotiation.html" title="High-Trust Negotiation" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2008/04/high-trust-negotiation.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0ICQH4zfyp7ImA9WxZWFUQ.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-2482824208183804654</id><published>2008-03-15T16:25:00.008Z</published><updated>2008-03-15T16:46:01.087Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-15T16:46:01.087Z</app:edited><title>Concordion 1.2.0</title><content type="html">I've released a new version of &lt;a href="http://www.concordion.org"&gt;Concordion&lt;/a&gt;.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Support for full set of JUnit4.4 annotations (&lt;i&gt;@Before, @After&lt;/i&gt; etc.)&lt;/li&gt;&lt;li&gt;New command: &lt;b&gt;assertTrue&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;For example, this instrumented specification:&lt;pre style="font-size: 10pt; background-color: #f7f7f7; padding: 4px;"&gt;&amp;lt;p&amp;gt;&lt;br /&gt;    The first name &amp;lt;span concordion:set="#firstName"&amp;gt;Bob&amp;lt;/span&amp;gt;,&lt;br /&gt;    &amp;lt;span &lt;b&gt;concordion:assertTrue="#firstName.startsWith(#letter)"&lt;/b&gt;&amp;gt;&lt;br /&gt;    starts with the letter &amp;lt;b concordion:set="#letter"&amp;gt;B&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;.&lt;br /&gt;&amp;lt;/p&amp;gt;&lt;/pre&gt;Will result in the following output:&lt;br /&gt;&lt;img style="border: 0" alt="Success" src="http://www.davidpeterson.co.uk/image/misc/concordion-1.2.0-assertTrue-success.png"/&gt;&lt;br /&gt;&lt;br /&gt;A failure would look like this:&lt;br /&gt;&lt;img style="border: 0" alt="Failure" src="http://www.davidpeterson.co.uk/image/misc/concordion-1.2.0-assertTrue-failure.png"/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-2482824208183804654?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/P9KTUhqCj9U" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/2482824208183804654/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=2482824208183804654" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/2482824208183804654?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/2482824208183804654?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/P9KTUhqCj9U/concordion-120.html" title="Concordion 1.2.0" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2008/03/concordion-120.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkADR30yeip7ImA9WxZWFU8.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-6515429463856834318</id><published>2008-03-13T12:21:00.011Z</published><updated>2008-03-14T19:59:36.392Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-14T19:59:36.392Z</app:edited><title>Big Hairy Tables</title><content type="html">I like Keith Braithwaite's "software gauges" metaphor. As &lt;a href="http://peripateticaxiom.blogspot.com/2007/09/gauges.html"&gt;he explains&lt;/a&gt;, a gauge is a shortcut for deciding whether something passes or fails some criteria. For example, if your bag fits inside the metal cage at an airport then it can be taken onboard as hand luggage. You don't need to use a tape measure. What's interesting about gauges is that you don't necessarily need to be able to articulate "the rules"; if you need to know the rules you can infer them from the gauge.&lt;br /&gt;&lt;br /&gt;However, I'm not convinced with what &lt;a href="http://peripateticaxiom.blogspot.com/2008/03/tests-and-gauges.html"&gt;Keith says&lt;/a&gt; about trader spreadsheets making good gauges. Obviously he's had success with them, so they definitely can be made to work, but would they have worked even better another way? Basically what it boils down to is that I like tables; I just don't like &lt;span style="font-style:italic;"&gt;big hairy tables&lt;/span&gt;!&lt;br /&gt;&lt;br /&gt;If the hand-luggage cage can be taken as an example of good practice then some of the properties of a good gauge appear to be: sturdy and reliable; correct enough for all practical purposes; obvious; unambiguous; quick to use; and simple to understand by the gauge user.&lt;br /&gt;&lt;br /&gt;The spreadsheets Keith showed me contained a large number of sparsely populated columns of denormalised data with lots of magic numbers and magic strings. This doesn't seem to stack up well against the list of desirable traits for a gauge. They're not designed with the gauge user in mind. If your domain model doesn't fit the gauge, is it because the model is wrong? Or the gauge is wrong? Or your interpretation of the gauge is wrong? With so many moving parts, it's got to be difficult to work out, even with help from the traders.&lt;br /&gt;&lt;br /&gt;Isn't it better to treat the spreadsheets as a starting point rather than an ending point? And then have someone skilled at analysis and abstraction work with the traders and extract smaller, more practical gauges. There's nothing to stop you holding these gauges in spreadsheets too. I have a lot of respect for the customer, but I don't see why, just because the traders have written a spreadsheet, you can't help them improve it. They've got their skills you've got yours.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-6515429463856834318?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/4FRDKfgILOI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/6515429463856834318/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=6515429463856834318" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/6515429463856834318?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/6515429463856834318?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/4FRDKfgILOI/big-hairy-tables.html" title="Big Hairy Tables" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2008/03/big-hairy-tables.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04HSHw8eyp7ImA9WxZWEEQ.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-5247658967136994055</id><published>2008-03-09T17:10:00.009Z</published><updated>2008-03-09T19:45:39.273Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-09T19:45:39.273Z</app:edited><title>Acceptance Test Driven Development</title><content type="html">Most of the examples on the &lt;a href="http://www.concordion.org"&gt;Concordion website&lt;/a&gt; are technical in nature, so I've put together a short business-focused example. Please &lt;a href="http://www.concordion.org/Example.html"&gt;take a look&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I'm not trying to push Concordion on you. You can do something similar with other test frameworks. It's really the approach that I'm trying to get across: focusing the acceptance tests on goals, not solutions; and decomposing behaviours, keeping each test as isolated and simple as you can.&lt;br /&gt;&lt;br /&gt;While I'm here, let me join in the &lt;a href="http://www.testing.com/cgi-bin/blog/2003/08/21#agile-testing-project-1"&gt;2x2 matrix&lt;/a&gt; &lt;a href="http://www.testingreflections.com/node/view/6704"&gt;fun&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;&lt;img style="border: 0px" alt="2x2 Matrix: Abstract vs Concrete / Goal vs Solution" src="http://www.davidpeterson.co.uk/image/misc/GoalOriented.png"/&gt;&lt;br /&gt;&lt;br /&gt;The user-interface (UI) of an application is a solution, not a goal. I often see people writing test scripts in terms of direct user interface interactions (e.g. using a record/playback/verify tool like Selenium) unaware that by doing so they're locking themselves into a particular design.&lt;br /&gt;&lt;br /&gt;If, instead, they &lt;a href="http://www.concordion.org/Technique.html"&gt;hid the scripting&lt;/a&gt; behind goal-oriented acceptance tests they would leave themselves a lot more freedom to change the solution. I guess not all teams need that kind of freedom. But I wonder how many even know there's a choice?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-5247658967136994055?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/pPiRtmTYgWk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/5247658967136994055/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=5247658967136994055" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/5247658967136994055?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/5247658967136994055?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/pPiRtmTYgWk/acceptance-test-driven-development.html" title="Acceptance Test Driven Development" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2008/03/acceptance-test-driven-development.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEEGQnw-fCp7ImA9WxZRFkg.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-4252474055805754741</id><published>2008-02-09T20:31:00.000Z</published><updated>2008-02-10T15:17:03.254Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-02-10T15:17:03.254Z</app:edited><title>What do I mean by a "Scripting DSL"?</title><content type="html">I have had a couple of e-mail questions recently, from people who have read the &lt;a href="http://www.concordion.org"&gt;Concordion&lt;/a&gt; documentation, asking for more detail about what I mean by a DSL (Domain-Specific Language) for scripting, as shown in this diagram:&lt;br /&gt;&lt;br /&gt;&lt;img border="0" style="border: 0px;" src="http://www.concordion.org/image/technique/SpecFixtureScriptingSystem.png"/&gt;&lt;br /&gt;I think it's easiest to explain with a realistic implementation of a fixture:&lt;br /&gt;&lt;pre style="font-size: 10pt"&gt;&lt;br /&gt;&lt;b&gt;public&lt;/b&gt; String getGreetingFor(String firstName) {&lt;br /&gt;    User user = &lt;b&gt;new&lt;/b&gt; UserBuilder()&lt;br /&gt;        .withReasonableDefaults()&lt;br /&gt;        .withFirstName(firstName)&lt;br /&gt;        .build();&lt;br /&gt;    BrowserSession session = &lt;b&gt;new&lt;/b&gt; BrowserSession();&lt;br /&gt;    &lt;b&gt;new&lt;/b&gt; UserAdminAction(session).setUp(user);&lt;br /&gt;    &lt;b&gt;new&lt;/b&gt; LoginDriver(session).login(user);&lt;br /&gt;    &lt;b&gt;return new&lt;/b&gt; HomePageDriver(session).scrapeGreeting()&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;In this case, the DSL is made up of the Builder, Action and Driver classes. These implement and hide all the dirty work of setting up the user and navigating around the website.&lt;br /&gt;&lt;br /&gt;The Driver classes extend an AbstractDriver class. The abstract base class provides protected methods for clicking on links, scraping the contents of elements, typing text, selecting radio buttons etc. &lt;br /&gt;&lt;pre style="font-size: 10pt"&gt;&lt;br /&gt;&lt;b&gt;public abstract class&lt;/b&gt; AbstractDriver {&lt;br /&gt;&lt;br /&gt;    &lt;b&gt;private&lt;/b&gt; BrowserSession session;&lt;br /&gt;&lt;br /&gt;    &lt;b&gt;public&lt;/b&gt; AbstractDriver(BrowserSession session) {&lt;br /&gt;        this.setSession(session);&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    &lt;b&gt;protected&lt;/b&gt; HtmlPage getHtmlPage() {&lt;br /&gt;        &lt;b&gt;return&lt;/b&gt; session.getHtmlPage();&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    &lt;b&gt;protected&lt;/b&gt; HtmlElement getElement(String id) {&lt;br /&gt;        &lt;b&gt;return&lt;/b&gt; getHtmlPage().getHtmlElementById(id);&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    &lt;b&gt;protected&lt;/b&gt; String scrapeText(String id) {&lt;br /&gt;        &lt;b&gt;return&lt;/b&gt; getElement(id).asText();&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    &lt;b&gt;protected&lt;/b&gt; void click(String id) {&lt;br /&gt;        ((ClickableElement) getElement(id)).click();&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    // etc.&lt;br /&gt;&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;The subclasses use these methods, but do not reveal them publicly. The public interface is at a higher level of abstraction.&lt;br /&gt;&lt;pre style="font-size: 10pt"&gt;&lt;br /&gt;&lt;b&gt;public class&lt;/b&gt; HomePageDriver &lt;b&gt;extends&lt;/b&gt; AbstractDriver {&lt;br /&gt;&lt;br /&gt;    &lt;b&gt;public&lt;/b&gt; HomePageDriver(BrowserSession session) {&lt;br /&gt;        super(session);&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    &lt;b&gt;public&lt;/b&gt; String scrapeGreeting() {&lt;br /&gt;        &lt;b&gt;return&lt;/b&gt; scrapeText(HomePage.GREETING_ID);&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    &lt;b&gt;public void&lt;/b&gt; clickSearch() {&lt;br /&gt;        click(HomePage.SEARCH_LINK_ID);&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    // etc.&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;Actions encapsulate a series of driver clicks to perform some higher-level action and remove duplication across tests. For example, behind the scenes the UserAdminAction may use a LoginDriver, UserAdminPageDriver, UserDetailsPageDriver, LogoutDriver. Actions may be nested.&lt;br /&gt;&lt;br /&gt;You should also read Nat Pryce's series of blog posts on &lt;a href="http://nat.truemesh.com/archives/000714.html"&gt;Test Data Builders&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-4252474055805754741?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/LUNjt-wn4fo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/4252474055805754741/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=4252474055805754741" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/4252474055805754741?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/4252474055805754741?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/LUNjt-wn4fo/what-do-i-mean-by-scripting-dsl.html" title="What do I mean by a &quot;Scripting DSL&quot;?" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2008/02/what-do-i-mean-by-scripting-dsl.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEQMQXk8cCp7ImA9WxZSFEg.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-3335321671784184515</id><published>2008-01-27T17:29:00.000Z</published><updated>2008-01-27T17:53:00.778Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-01-27T17:53:00.778Z</app:edited><title>Concordion 1.1.0</title><content type="html">I've released a new version of my Java acceptance testing framework: &lt;a href="http://www.concordion.org"&gt;Concordion&lt;/a&gt;. The main new feature is support for &lt;a href="http://www.junit.org"&gt;JUnit&amp;nbsp;4&lt;/a&gt; test runners.&lt;br /&gt;&lt;br /&gt;For example this &lt;code&gt;Demo.html&lt;/code&gt; specification:&lt;br /&gt;&lt;pre&gt;&amp;lt;html &lt;b&gt;xmlns:concordion="http://www.concordion.org/2007/concordion"&lt;/b&gt;&amp;gt;&lt;br /&gt;    &amp;lt;body&amp;gt;&lt;br /&gt;        &amp;lt;p&amp;gt;&lt;br /&gt;            The greeting for user &amp;lt;span &lt;b&gt;concordion:set="#firstName"&amp;gt;Bob&amp;lt;&lt;/b&gt;/span&amp;gt;&lt;br /&gt;            will be:&lt;br /&gt;            &amp;lt;span &lt;b&gt;concordion:assertEquals="greetingFor(#firstName)"&lt;/b&gt;&amp;gt;Hello Bob!&amp;lt;/span&amp;gt;&lt;br /&gt;        &amp;lt;/p&amp;gt;&lt;br /&gt;    &amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Can be run with the following JUnit 4 test case:&lt;br /&gt;&lt;pre&gt;&lt;b&gt;import&lt;/b&gt; org.concordion.integration.junit4.ConcordionRunner;&lt;br /&gt;&lt;b&gt;import&lt;/b&gt; org.junit.runner.RunWith;&lt;br /&gt;&lt;br /&gt;@RunWith(ConcordionRunner&lt;b&gt;.class&lt;/b&gt;)&lt;br /&gt;&lt;b&gt;public class&lt;/b&gt; DemoTest {&lt;br /&gt;&lt;br /&gt;    &lt;b&gt;public&lt;/b&gt; String greetingFor(String firstName) {&lt;br /&gt;        &lt;b&gt;return&lt;/b&gt; String.format("Hello %s!", firstName);&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;And will result in the following output:&lt;br /&gt;&lt;img border="0" style="border: 0px" alt="Concordion 1.1.0" src="http://www.davidpeterson.co.uk/image/misc/concordion-1.1.0-results.png" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-3335321671784184515?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/0qwB1r19LUc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/3335321671784184515/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=3335321671784184515" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/3335321671784184515?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/3335321671784184515?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/0qwB1r19LUc/concordion-110.html" title="Concordion 1.1.0" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2008/01/concordion-110.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkYHQn48fSp7ImA9WxZSE0s.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-2582849245307693753</id><published>2008-01-26T16:08:00.000Z</published><updated>2008-01-26T16:15:33.075Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-01-26T16:15:33.075Z</app:edited><title>There's only one thing for it...</title><content type="html">&lt;img border="0" style="border: 0px" alt="There's only one thing for it... We'll have to stop measuring." src="http://www.davidpeterson.co.uk/image/cartoon/stop-measuring.png"/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-2582849245307693753?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/PpNWJzYrLYU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/2582849245307693753/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=2582849245307693753" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/2582849245307693753?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/2582849245307693753?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/PpNWJzYrLYU/theres-only-one-thing-for-it-well-have.html" title="There's only one thing for it..." /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2008/01/theres-only-one-thing-for-it-well-have.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUEERHo-eyp7ImA9WB9bGEU.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-6160459714774348261</id><published>2007-12-05T20:56:00.000Z</published><updated>2007-12-28T23:13:25.453Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-12-28T23:13:25.453Z</app:edited><title>Groupthink</title><content type="html">Being an agile developer in a largely waterfall organisation has reminded me of a game we played in one of my MBA lectures where we were put into groups and asked to solve a problem.&lt;br /&gt;&lt;br /&gt;One guy in one of the groups (unbeknownst to us) had been primed by the lecturer to disagree with every idea that his group came up with. At the end of the session, that group had markedly better results than all the other groups. The constant voice of dissent had helped them to uncover their assumptions. &lt;br /&gt;&lt;br /&gt;Of course, before revealing the results, the lecturer asked each group to vote a person out and the disagreement-guy was unanimously given the boot.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-6160459714774348261?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/4GT76RwTFao" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/6160459714774348261/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=6160459714774348261" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/6160459714774348261?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/6160459714774348261?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/4GT76RwTFao/avoiding-groupthink.html" title="Groupthink" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2007/12/avoiding-groupthink.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0MMQ3g_eCp7ImA9WB9VEU0.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-5349962042977667583</id><published>2007-11-26T20:15:00.000Z</published><updated>2007-11-26T20:38:02.640Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-11-26T20:38:02.640Z</app:edited><title>Knowing When to Refactor</title><content type="html">You're in the middle of implementing some new functionality when you stumble across some poorly written code. Fixing it properly will take some time and, for the stuff you're working on, you can get away with making a couple of tweaks. What should you do? Refactor it now? Or leave it for another time? If so, when?&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.citconf.com/wiki/index.php?title=Douglas_Squirrel"&gt;Douglas Squirrel&lt;/a&gt; told me about a neat solution that I hadn't heard of before. The idea is that the first time you come across some smelly code you write a comment that says &lt;code&gt;FIXME&lt;/code&gt;. Each time you encounter the code again, or someone else does, an extra &lt;code&gt;X&lt;/code&gt; is added so it becomes &lt;code&gt;FIXXME&lt;/code&gt;, &lt;code&gt;FIXXXME&lt;/code&gt; etc. By the time the comment screams &lt;code&gt;FIXXXXXXXME&lt;/code&gt;, you know what you have to do!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-5349962042977667583?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/-1bxEvVUEng" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/5349962042977667583/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=5349962042977667583" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/5349962042977667583?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/5349962042977667583?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/-1bxEvVUEng/knowing-when-to-refactor.html" title="Knowing When to Refactor" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2007/11/knowing-when-to-refactor.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkMDRnw-cSp7ImA9WB9aE0s.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-2347718461367084784</id><published>2007-11-17T19:07:00.000Z</published><updated>2008-01-03T12:47:57.259Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-01-03T12:47:57.259Z</app:edited><title>UNICOM Agile Conference - February 2008</title><content type="html">I will be speaking about &lt;span style="font-style: italic;"&gt;Acceptance Test-Driven Development&lt;/span&gt; at the &lt;a href="http://www.unicom.co.uk/product_detail.asp?prdid=1547"&gt;UNICOM agile conference&lt;/a&gt; in London, 12/13 February 2008. The conference has a good line-up of speakers including &lt;a href="http://duncanpierce.org/"&gt;Duncan Pierce&lt;/a&gt;, &lt;a href="http://peripateticaxiom.blogspot.com/"&gt;Keith Braithwaite&lt;/a&gt;, and &lt;a href="http://twelve71.typepad.com/rachel/"&gt;Rachel Davies&lt;/a&gt;. Early-bird fees are on offer till 18th January.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update&lt;/b&gt;: If you're interested in attending, &lt;a href="mailto:david@crowdsoft.com"&gt;contact me&lt;/a&gt;. I can probably get you a discount.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-2347718461367084784?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/CGSN-jgYLkU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/2347718461367084784/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=2347718461367084784" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/2347718461367084784?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/2347718461367084784?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/CGSN-jgYLkU/unicom-agile-conference-february-2008.html" title="UNICOM Agile Conference - February 2008" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2007/11/unicom-agile-conference-february-2008.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkYEQn84fCp7ImA9WB9XGEw.&quot;"><id>tag:blogger.com,1999:blog-3933266989882835478.post-3695805646107272681</id><published>2007-06-28T18:57:00.000+01:00</published><updated>2007-11-11T19:41:43.134Z</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-11-11T19:41:43.134Z</app:edited><title>Tapestry 5 (Alpha)</title><content type="html">&lt;p&gt; I've been working with &lt;a href="http://tapestry.apache.org/tapestry5/"&gt;Tapestry 5&lt;/a&gt;, for a few weeks now, and I'm loving it. It's a big step up from Tapestry 4 and I think it could become a realistic competitor to Ruby on Rails. It has similar characteristics: convention over configuration and an almost religious devotion by its creator, &lt;a href="http://tapestryjava.blogspot.com/"&gt;Howard Lewis-Ship&lt;/a&gt;, to driving out duplication. &lt;/p&gt;  &lt;p&gt; Sometimes he possibly goes too far. For example, if your page class is &lt;code&gt;/article/ArticleEdit&lt;/code&gt; the duplication of the word "article" is removed from the URL, so the URL becomes &lt;code&gt;/article/edit&lt;/code&gt;. It seems like an improvement, but actually introduces ambiguity and has caused confusion, judging by queries on the mailing list. &lt;/p&gt;    &lt;p&gt;At the moment, you'd be taking a risk using Tapestry 5 in a production application. It's still "alpha" and unstable both in terms of the API, which hasn't fully settled down, and in terms of defects: There are lots of minor, and a handful of more serious, defects reported in JIRA. But if you're developing a non-mission-critical web application you might want to give it some serious consideration. It's already very good and only going to get better. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3933266989882835478-3695805646107272681?l=blog.davidpeterson.co.uk'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/david_peterson/~4/s-1-FHBhTE8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://blog.davidpeterson.co.uk/feeds/3695805646107272681/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=3933266989882835478&amp;postID=3695805646107272681" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/3695805646107272681?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3933266989882835478/posts/default/3695805646107272681?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/david_peterson/~3/s-1-FHBhTE8/ive-been-working-with-tapestry-5-for.html" title="Tapestry 5 (Alpha)" /><author><name>David Peterson</name><uri>http://www.blogger.com/profile/03475136061061572446</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01215506581573414240" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://blog.davidpeterson.co.uk/2007/11/ive-been-working-with-tapestry-5-for.html</feedburner:origLink></entry></feed>
