<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Farr Side</title>
	<atom:link href="http://ericfarr.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://ericfarr.net</link>
	<description>Eric Farr - Agile Software Developer, Architect, and Leader in .NET and in Mobile.</description>
	<lastBuildDate>Thu, 19 Jan 2012 03:55:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Lightweight Context/Specification BDD in C#</title>
		<link>http://ericfarr.net/lightweight-contextspecification-bdd-in-c/</link>
		<comments>http://ericfarr.net/lightweight-contextspecification-bdd-in-c/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 03:55:05 +0000</pubDate>
		<dc:creator>efarr</dc:creator>
				<category><![CDATA[Agile]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[BDD]]></category>
		<category><![CDATA[TDD]]></category>

		<guid isPermaLink="false">http://ericfarr.net/lightweight-contextspecification-bdd-in-c/</guid>
		<description><![CDATA[Behavior-Driven Development (BDD) provides all of the engineering benefits of traditional Test-Driven Development (TDD) while additionally resulting in a specification that non-developers can read and validate. At its heart, BDD transforms the tests of TDD into specifications. Those specifications are &#8230; <a href="http://ericfarr.net/lightweight-contextspecification-bdd-in-c/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Behavior_Driven_Development">Behavior-Driven Development</a> (BDD) provides all of the engineering benefits of traditional <a href="http://en.wikipedia.org/wiki/Test-driven_development">Test-Driven Development</a> (TDD) while additionally resulting in a specification that non-developers can read and validate. At its heart, BDD transforms the <em>tests</em> of TDD into <em>specifications</em>. Those specifications are expressed in English sentences that are expressed in business value as opposed to coding or engineering terms.</p>
<p>The most popular structure for BDD today is called the Gherkin format and follows a Given/When/Then format, like…</p>
<blockquote><p>Given a new bowling game<br />When all frames are strikes<br />Then the score should be 300</p>
</blockquote>
<p>There are frameworks like <a href="http://specflow.org/">SpecFlow</a> to help you arrange your specifications (test) into this format. However, I find this format awkward and forced. I prefer the simpler format known as Context/Specification (aka When/Should)…</p>
<blockquote><p>When all frames are strikes<br />Should have a score of 300</p>
</blockquote>
<p>There are frameworks, like <a href="https://github.com/machine/machine.specifications">MSpec</a>, that attempt to make the specifications read more like English sentences. However, I find that these frameworks get in the way as much as they help. It is also nice to be able to write readable tests with just PONU (plain old NUnit). Over time, I’ve developed a convention that I find easy to write and easy to read. I’ve also developed a tool&nbsp; that turns the tests into a markdown file that can be turned into a pretty HTML report.</p>
<p>To show the approach at work, I present some snippets from a hypothetical order pricing system I created as a “developer test” provided by a prospective employer last summer. Here is what I was given:</p>
<table border="2" cellspacing="0" cellpadding="2" width="600">
<tbody>
<tr>
<td valign="top" width="600">
<p><b>Instructions</b>: Build a system that will meet the following requirements. You may make assumptions if any requirements are ambiguous or vague but you must state the assumptions in your submission.
<p><b>Overview</b>: You will be building an order calculator that will provide tax and totals. The calculator will need to account for promotions, coupons, various tax rule, etc&#8230; You may assume that the database and data-access is already developed and may mock the data-access system. No UI elements will be built for this test.
<p><b>Main Business Entities</b>:
<ul>
<li>Order: A set of products purchased by a customer.
<li>Product: A specific item a customer may purchase.
<li>Coupon: A discount for a specific product valid for a specified date range.
<li>Promotion: A business wide discount on all products valid for a specified date range.</li>
</ul>
<p>*Not all entities are listed – you may need to create additional models to complete the system.
<p><b>Business Rules</b>:
<ul>
<li>Tax is calculated per state as one of the following:
<ul>
<li>A simple percentage of the order total.
<li>A flat amount per sale.</li>
</ul>
<li>Products categorized as ‘Luxury Items’ are taxed at twice the normal rate in the following states
<ul>
<li>FL
<li>NC
<li>CA</li>
</ul>
<li>Tax is normally calculated after applying coupons and promotional discounts. However, in the following states, the tax must be calculated prior to applying the discount:
<ul>
<li>FL
<li>NM
<li>NV</li>
</ul>
<li>In CA, military members do not pay tax.</li>
</ul>
<p><b>Requirements</b>:
<p>Adhering to the business rules stated previously:
<ul>
<li>The system shall calculate the total cost of an order.
<li>The system shall calculate the pre-tax cost of an order.
<li>The system shall calculate the tax amount of an order.</li>
</ul>
<p><b>Deliverables</b>:
<ul>
<li>A .NET solution (you may choose either C# or VB) containing the source code implementing the business rules.
<li>Unit tests (you may choose the unit testing framework).
<li>A list of assumptions made during the implementation and a relative assessment of risk associated with those assumptions.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>You can see that there are quite a few specifications here. It’s a perfect scenario for a BDD approach. Lets take a look at the specification that most states charge taxes on the discounted price, while a few states require taxes to be calculated on the original price.</p>
<style type="text/css">.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
</style>
<p>Here is a specification that a standard tax state calculates taxes on the discounted price…</p>
<pre class="csharpcode"><span class="kwrd">namespace</span> Acme.Tests.ConcerningCoupons
{
    [TestFixture]
    <span class="kwrd">public</span> <span class="kwrd">class</span> When_coupon_is_applied_to_item_on_order_in_standard_tax_state
    {
        <span class="kwrd">private</span> Order _order;
        [TestFixtureSetUp] <span class="kwrd">public</span> <span class="kwrd">void</span> Context()
        {
            Product product = <span class="kwrd">new</span> Product(10);
            Coupon coupon = CreateCoupon.For(product).WithDiscountOf(.5m);
            _order = CreateOrder.Of(product).Apply(coupon).In(StateOf.NC);
        }

        [Test] <span class="kwrd">public</span> <span class="kwrd">void</span> Should_calculate_tax_on_discounted_price()
        {
            _order.Tax.ShouldEqual(.25m);
        }
    }
}</pre>
<p>You can see that the test fixture class name defines the context (the <em>when</em>) The test method name specifies the specification (the <em>should</em>). The Context method sets us the context in the class name. Also note the ConcerningCoupons in the namespace. This allows us to categorize the specification. </p>
<p>Here is the code that specifies the prediscount tax states…</p>
<pre class="csharpcode"><span class="kwrd">namespace</span> Acme.Tests.ConcerningCoupons
{
    [TestFixture]
    <span class="kwrd">public</span> <span class="kwrd">class</span> When_coupon_is_applied_to_item_on_order_in_prediscount_tax_state
    {
        <span class="kwrd">private</span> Order _order;
        [TestFixtureSetUp] <span class="kwrd">public</span> <span class="kwrd">void</span> Context()
        {
            Product product = <span class="kwrd">new</span> Product(10);
            Coupon coupon = CreateCoupon.For(product).WithDiscountOf(.5m);
            _order = CreateOrder.Of(product).Apply(coupon).In(StateOf.FL);
        }

        [Test] <span class="kwrd">public</span> <span class="kwrd">void</span> Should_calculate_tax_on_full_price()
        {
            _order.Tax.ShouldEqual(.50m);
        }
    }
}</pre>
<style type="text/css">.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
</style>
<p>Now take a look at a section of the report generated from the tests…</p>
<p><font color="#000000" face="Consolas"></font></p>
<style type="text/css">.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
</style>
<p><a href="http://ericfarr.net/wp-content/uploads/2012/01/orders1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="orders" border="0" alt="orders" src="http://ericfarr.net/wp-content/uploads/2012/01/orders_thumb.png" width="568" height="772"></a></p>
<p>Anyone can now compare the generated report to the original specification to verify we hit the mark. It’s a little more work to structure your tests this way, but the benefits are worth it.</p>
<p>The full source for the sample and the report generator are available <a href="https://github.com/efarr/Simple-CS-BDD">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ericfarr.net/lightweight-contextspecification-bdd-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lunch with Uncle Bob</title>
		<link>http://ericfarr.net/lunch-with-uncle-bob/</link>
		<comments>http://ericfarr.net/lunch-with-uncle-bob/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 20:43:54 +0000</pubDate>
		<dc:creator>efarr</dc:creator>
				<category><![CDATA[Agile]]></category>
		<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[clean code]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[solid]]></category>
		<category><![CDATA[teams]]></category>
		<category><![CDATA[Uncle Bob]]></category>

		<guid isPermaLink="false">http://ericfarr.net/lunch-with-uncle-bob/</guid>
		<description><![CDATA[Ever since I stumbled across the original C++ Report articles that have become known as the SOLID principles, I have been a disciple of Robert Martin (aka Uncle Bob). He is a leader within the agile and software craftsmanship movements. &#8230; <a href="http://ericfarr.net/lunch-with-uncle-bob/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Robert_Cecil_Martin"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top: 0px; border-right: 0px; padding-top: 0px" title="unclebob" border="0" alt="unclebob" align="right" src="http://ericfarr.net/wp-content/uploads/2012/01/unclebob.jpg" width="108" height="158"></a>
<p>Ever since I stumbled across the original <em>C++ Report</em> articles that have become known as the <a href="http://ericfarr.net/solid-what-is-old-is-new-again/">SOLID principles</a>, I have been a disciple of Robert Martin (aka Uncle Bob). He is a leader within the <a href="http://agilemanifesto.org/">agile</a> and <a href="http://manifesto.softwarecraftsmanship.org/">software craftsmanship</a> movements. He has as good a sense of what makes good software as anyone currently writing and teaching. If he thinks it’s worth writing, then it’s worth reading.</p>
<p>I’m not usually a fan of video for learning. I like the random access referenceability of books and I like the on-the-go accessibility of audio recordings. I find video to be the worst of both worlds: I cannot flip to the a particular page or go at my own pace, nor can I consume it while driving or mowing the lawn. Further, there are so many good conference videos available for free that I find it difficult to justify paying for video content.</p>
<p><a href="http://www.cleancoders.com/"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 17px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top: 0px; border-right: 0px; padding-top: 0px" title="clean_code" border="0" alt="clean_code" align="left" src="http://ericfarr.net/wp-content/uploads/2012/01/clean_code.png" width="208" height="208"></a>However, when Uncle Bob began releasing the <a href="http://www.cleancoders.com/">Clean Code video series</a>, I thought I’d at least check them out. I found them to be so good, that I’m now having my development team watch them together over lunch hours. Uncle Bob does a great job teaching (and preaching) the techniques that lead to clean, maintainable software. As we watch the sessions together, we are creating a common baseline of understanding that we can all refer to as we work together. </p>
<p>I highly recommend them for any software development team that is looking to get better (and if your team is not working to get better, it is on it’s way to <a href="http://ericfarr.net/why-software-will-always-be-hard-part-2/">obsolescence</a>).&nbsp; If you have trouble justifying the cost ($12 per viewer per video) to management, have them take a look at <a href="http://www.cleancoders.com/promotions/the_business_case">this excellent explanation</a> of the value of software craftsmanship and professionalism.</p>
]]></content:encoded>
			<wfw:commentRss>http://ericfarr.net/lunch-with-uncle-bob/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Outstanding Summary of Domain Driven Design</title>
		<link>http://ericfarr.net/outstanding-summary-of-domain-driven-design/</link>
		<comments>http://ericfarr.net/outstanding-summary-of-domain-driven-design/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 18:12:05 +0000</pubDate>
		<dc:creator>efarr</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Domain Driven Design]]></category>
		<category><![CDATA[DDD]]></category>

		<guid isPermaLink="false">http://ericfarr.net/outstanding-summary-of-domain-driven-design/</guid>
		<description><![CDATA[I just came across the best magazine-article-length summary of DDD that I’ve ever seen. If you’ve heard of DDD, but not ready to commit to reading the whole Blue Book, check out Dan Haywood’s An Introduction to Domain Driven Design. &#8230; <a href="http://ericfarr.net/outstanding-summary-of-domain-driven-design/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I just came across the best magazine-article-length summary of DDD that I’ve ever seen. If you’ve heard of DDD, but not ready to commit to reading the whole <a href="http://www.amazon.com/Domain-Driven-Design-Tackling-Complexity-Software/dp/0321125215">Blue Book</a>, check out Dan Haywood’s <a href="http://www.methodsandtools.com/archive/archive.php?id=97">An Introduction to Domain Driven Design</a>. It is clear, concise, and remarkably comprehensive for all of it’s brevity. It also makes for a great refresher.</p>
]]></content:encoded>
			<wfw:commentRss>http://ericfarr.net/outstanding-summary-of-domain-driven-design/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Commoditization of Transactions</title>
		<link>http://ericfarr.net/the-commoditization-of-transactions/</link>
		<comments>http://ericfarr.net/the-commoditization-of-transactions/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 01:50:42 +0000</pubDate>
		<dc:creator>efarr</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://ericfarr.net/the-commoditization-of-transactions/</guid>
		<description><![CDATA[I’ve written in the past about how the relentless march of progress in software has made yesterday’s innovations today’s commodity. This article from HBR captures the essence of how the software landscape is in the process of making traditional, data-oriented, &#8230; <a href="http://ericfarr.net/the-commoditization-of-transactions/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dachisgroup.com/2011/06/moving-beyond-systems-of-record-to-systems-of-engagement/"><img src="http://www.dachisgroup.com/wp-content/uploads/2011/06/systems_of_record_systems_of_engagement.png"></a></p>
<p>I’ve <a href="http://ericfarr.net/why-software-will-always-be-hard-part-2/">written in the past</a> about how the relentless march of progress in software has made yesterday’s innovations today’s commodity.</p>
<p>This <a href="http://blogs.hbr.org/cs/2011/10/moving_from_transaction_to_eng.html">article from HBR</a> captures the essence of how the software landscape is in the process of making traditional, data-oriented, system-of-record, transactional systems into commodity systems. Companies that have made a living with these traditional systems are going to wake up very shortly and find that their <em>customers</em> have become someone else’s <em>community participants</em>.</p>
<p>The combination of ubiquitous mobile connection, cloud computing, and the general adoption of social media is in the process of changing the expectations of software users. Keeping their data safe is no longer enough. They now expect (or soon will) a more immersive experience.</p>
<p>This doesn’t mean a link to a Facebook fan page that is merely a shallow marketing ploy. Users expect that their hosted application will allow them to interact with all of the other uses of your software (see <a href="http://www.spiceworks.com/">Spiceworks</a> as the best example of this). They expect that the software they run their business on enlists them into the community of users of your software. Don’t have a “community” of users? Your competition soon will.</p>
]]></content:encoded>
			<wfw:commentRss>http://ericfarr.net/the-commoditization-of-transactions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DDD Anti-Pattern #4: Allowing Implementation Decisions to Drive the Domain Model</title>
		<link>http://ericfarr.net/ddd-anti-pattern-4-allowing-implementation-decisions-to-drive-the-domain-model/</link>
		<comments>http://ericfarr.net/ddd-anti-pattern-4-allowing-implementation-decisions-to-drive-the-domain-model/#comments</comments>
		<pubDate>Sat, 24 Sep 2011 12:19:24 +0000</pubDate>
		<dc:creator>efarr</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Domain Driven Design]]></category>
		<category><![CDATA[DDD]]></category>
		<category><![CDATA[OO]]></category>

		<guid isPermaLink="false">http://ericfarr.net/ddd-anti-pattern-4-allowing-implementation-decisions-to-drive-the-domain-model/</guid>
		<description><![CDATA[This is the last (for now) in my series of lessons learned building a complex product from the ground up following the principles of Domain Driven Design. The Field Service domain is all about getting people to Locations to perform &#8230; <a href="http://ericfarr.net/ddd-anti-pattern-4-allowing-implementation-decisions-to-drive-the-domain-model/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is the last (for now) in my series of lessons learned building a complex product from the ground up following the principles of Domain Driven Design.</p>
<p><a href="http://ericfarr.net/wp-content/uploads/2011/09/Appointment-to-WorkOrder.png"><img style="background-image: none; border-right-width: 0px; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Appointment to WorkOrder" border="0" alt="Appointment to WorkOrder" align="left" src="http://ericfarr.net/wp-content/uploads/2011/09/Appointment-to-WorkOrder_thumb.png" width="244" height="124"></a>
<p>The Field Service domain is all about getting people to Locations to perform Activities. The Activities and the Location are defined by a Work Order. The person performing the Activities (and possibly the time) are defined by an Appointment. You can think of the Work Order as the <em>what</em> and <em>where</em> and the Appointment as the <em>who</em> and <em>when</em>.</p>
<p><a href="http://ericfarr.net/wp-content/uploads/2011/09/Many-Appointments-to-WorkOrder.png"><img style="background-image: none; border-right-width: 0px; margin: 0px 0px 0px 5px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Many Appointments to WorkOrder" border="0" alt="Many Appointments to WorkOrder" align="right" src="http://ericfarr.net/wp-content/uploads/2011/09/Many-Appointments-to-WorkOrder_thumb.png" width="244" height="139"></a>
<p>The model is simple as long as there is one Work Order and one Appointment. In fact, you’d be tempted to combine them into one entity. However, things get more complicated when you have one Work Order that requires multiple Appointments to complete it. It might be two technicians at one time or the same technician on two different visits or multiple technicians over multiple visits.</p>
<p><a href="http://ericfarr.net/wp-content/uploads/2011/09/Activities-to-Appointment-to-WorkOrder.png"><img style="background-image: none; border-right-width: 0px; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Activities to Appointment to WorkOrder" border="0" alt="Activities to Appointment to WorkOrder" align="left" src="http://ericfarr.net/wp-content/uploads/2011/09/Activities-to-Appointment-to-WorkOrder_thumb.png" width="244" height="236"></a></p>
<p>In these cases, we are splitting the Activities of the Work Order over multiple Appointments. Some of the Activities are associated with one Appointment and some with another.</p>
<p>The Work Order is complete when all Activities over all Appointments are complete. Not too complicated.</p>
<p>Now also imagine that a technician goes out on one Appointment but services more than Work Order.<a href="http://ericfarr.net/wp-content/uploads/2011/09/Activities-to-Appointment-to-WorkOrder-2.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Activities to Appointment to WorkOrder 2" border="0" alt="Activities to Appointment to WorkOrder 2" align="right" src="http://ericfarr.net/wp-content/uploads/2011/09/Activities-to-Appointment-to-WorkOrder-2_thumb.png" width="244" height="231"></a></p>
<p>In simplest terms, we have a many-to-many between Appointments and Work Orders. You can imagine the twisted case where a given Appointment services two different Work Orders, and each of those Work Orders has other Appointments serving them. </p>
<p>We’ve all implemented many-to-many relationships in databases and in object models. However, this situation is a little different because of the role of the Activity. The linkage between the Appointment and the Work Order is through their association with a common Activity.</p>
<p><a href="http://ericfarr.net/wp-content/uploads/2011/09/Appointment-to-WorkOrder-through-Activity.png"><img style="background-image: none; border-right-width: 0px; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Appointment to WorkOrder through Activity" border="0" alt="Appointment to WorkOrder through Activity" align="left" src="http://ericfarr.net/wp-content/uploads/2011/09/Appointment-to-WorkOrder-through-Activity_thumb.png" width="244" height="239"></a>A given Activity is associated with one Work Order and one Appointment. We can now traverse that relationship to discover the relationship between Appointment and Work Order.</p>
<p>We simply have Work Orders with collections of Activities and Appointments with collections of Activities. With that, the complex relationship between Appointment and Work Order is completely modeled, with no redundant connections (like something directly linking Appointments and Work Orders). I thought this was pretty cool. And it was.</p>
<p>But here is where the problem comes in… In the real world, Appointments really are associated with Work Orders—and not just by the happenstance of common Activities. (One could argue this actually is true because you would only schedule an Appointment to service a Work Order if there was some Activity to perform, but this is not how anyone thinks about the relationship.)</p>
<p>With our model, to answer the question “Where does this Appointment take place?” we have to go to one of the Activities in our collection, navigate to its Work Order, and look at its Location property. This not a big deal to do in code, and we can even put a property on the Appointment that hides this messiness and gives the illusion that an Appointment has a Location. But this is not the only difficulty.</p>
<p>Try looking in our database to see what Work Order a given Appointment is associated with. You have to go to the Activity table and find all the Activities associated with this Work Order, then look at the Work Order column of those Activities to find the ID(s) of the Work Order(s). One day I tried to create a view that shows an Appointment and its first Work Order (there was only ever one Work Oder per Appointment in practice). I gave up after 20 minutes.</p>
<p>Now imagine explaining this model to a programmer trying to integrate with our system. Its possible, but there is much more confusion than you’d like. </p>
<p>We had a technically tight and elegant implementation, but it ended up obscuring one of the most fundamental relationships in our domain. </p>
<h3>Remedy</h3>
<p>As much as we liked the normalization of our current implementation, the team decided that it would be better to model the relationship between Appointment and Work Order explicitly. If we had focused more on the domain and less on the cleverness of the implementation, we could have avoided this rework of the design.</p>
]]></content:encoded>
			<wfw:commentRss>http://ericfarr.net/ddd-anti-pattern-4-allowing-implementation-decisions-to-drive-the-domain-model/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>11 Reasons You Want Mobility Experience Before Building a Mobile HTML5 Application</title>
		<link>http://ericfarr.net/11-reasons-you-want-mobility-experience-before-building-a-mobile-html5-application/</link>
		<comments>http://ericfarr.net/11-reasons-you-want-mobility-experience-before-building-a-mobile-html5-application/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 11:25:00 +0000</pubDate>
		<dc:creator>efarr</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[cross-platform]]></category>
		<category><![CDATA[html5]]></category>

		<guid isPermaLink="false">http://ericfarr.net/11-reasons-you-want-mobility-experience-before-building-a-mobile-html5-application/</guid>
		<description><![CDATA[Two forces have converged: 1) Mobility has gone from an optional differentiator to an expected component of any software offering, and 2) HTML5 has been crowned as the solution that will solve the cross-platform problem that Java, Flash, and Silverlight &#8230; <a href="http://ericfarr.net/11-reasons-you-want-mobility-experience-before-building-a-mobile-html5-application/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://ericfarr.net/wp-content/uploads/2011/09/HTML5_Logo.png"><img style="background-image: none; border-right-width: 0px; margin: 0px 3px 3px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="HTML5_Logo" border="0" alt="HTML5_Logo" align="right" src="http://ericfarr.net/wp-content/uploads/2011/09/HTML5_Logo_thumb.png" width="260" height="260"></a>
<p>Two forces have converged: 1) Mobility has gone from an optional differentiator to an expected component of any software offering, and 2) HTML5 has been crowned as the solution that will solve the cross-platform problem that Java, Flash, and Silverlight failed to solve before it.</p>
<p>This collision of forces has turned HTML5 into a buzzword with a life of its own. In fact, it appears to be on its way to becoming as detached from reality as the all-time-champion of promising technology turned meaningless buzzword: SOA.</p>
<p>Don’t get me wrong, I believe HTML5 is the best current answer to cross-platform mobile software. Before recommending to my executive management that we build our cross-platform offering in JavaScript, using the family of features loosely known as HTML5, I looked at pure native, cross-platform native with Mono, frameworks like Titanium.&nbsp; I made that recommendation before HTML5 became the cool thing to do, and I haven’t regretted it for a second.</p>
<p>A sure sign that a technology has reached fad level is when articles start to appear pointing out that said new technology will not, in fact, usher in world peace. Such an article was the popular <a href="http://images.infoworld.com/d/html5/11-hard-truths-about-html5-169665">11 hard truths about HTML5</a>.</p>
<p>The title was a little ominous and I began to read it with some trepidation, as we were still a couple of months away from being ready to ship our HTML5 client application. However, as I read, I was comforted by the fact that although all 11 truths were valid challenges, our team had faced and dealt with each of them. </p>
<p>The article lays out eleven challenges when building an HTML5 application:</p>
<ol>
<li>Security is a nightmare.
<li>Local data storage is limited
<li>Local data can be manipulated.
<li>Offline apps are a nightmare to sync.
<li>The cloud owes you nothing.
<li>Forced upgrades aren&#8217;t for everyone.
<li>Web Workers offer no prioritization.
<li>Format incompatibilities abound.
<li>Implementations are browser-dependent.
<li>Hardware idiosyncrasies bring new challenges.
<li>Politics as usual.</li>
</ol>
<p>It’s a scary list, and they are all true. My team was able to handle and mitigate each of these challenges largely because we had years of experience building native mobile applications and desktop Web applications and much of what we learned there applied in the HTML5 world.</p>
<p>If you don’t have solid answers for each of these challenges, you really ought to get someone on the team who has confidence in dealing with each of them.</p>
<p>You can check my current availability <a href="http://ericfarr.net/availability/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ericfarr.net/11-reasons-you-want-mobility-experience-before-building-a-mobile-html5-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sprint Planning and Decision Fatigue</title>
		<link>http://ericfarr.net/sprint-planning-and-decision-fatigue/</link>
		<comments>http://ericfarr.net/sprint-planning-and-decision-fatigue/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 14:01:49 +0000</pubDate>
		<dc:creator>efarr</dc:creator>
				<category><![CDATA[Agile]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[decisions]]></category>
		<category><![CDATA[Kanban]]></category>
		<category><![CDATA[planning]]></category>
		<category><![CDATA[scrum]]></category>

		<guid isPermaLink="false">http://ericfarr.net/sprint-planning-and-decision-fatigue/</guid>
		<description><![CDATA[This article explores the physiological and psychological effects of fatigue brought on by making decisions. The fatigue that comes from making decision after decision immediately reminded me of my team’s Scrum sprint planning days. The Scrum method breaks software development &#8230; <a href="http://ericfarr.net/sprint-planning-and-decision-fatigue/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nytimes.com/2011/08/21/magazine/do-you-suffer-from-decision-fatigue.html" target="_blank"><img src="http://graphics8.nytimes.com/images/2011/08/21/magazine/21fatigue_span/21fatigue_span-articleLarge-v2.jpg"></a></p>
<p><a href="http://www.nytimes.com/2011/08/21/magazine/do-you-suffer-from-decision-fatigue.html" target="_blank">This article</a> explores the physiological and psychological effects of fatigue brought on by making decisions. The fatigue that comes from making decision after decision immediately reminded me of my team’s Scrum sprint planning days.</p>
<p>The Scrum method breaks software development into iterative cycles called sprints. Our sprints were the highly typical two weeks in length. The idea is that two weeks is a short enough planning horizon that we can pull in enough work from the backlog to fill that time period. Then we demo what we’ve done to the various stakeholders in the company, adjust existing backlog priorities, plan another sprint, and on it goes.</p>
<p>Sprint planning day looked something like this…</p>
<blockquote><p><strong>9:00 Demos</strong> (any stories that haven’t been shown yet)</p>
<p><strong>9:30 Close out the Previous Sprint</strong> (closing stories in VersionOne, splitting any unfinished stories, etc.)</p>
<p><strong>10:00 Retrospective</strong> (look back over the prior sprint and identify things that worked well that we want to do more of, what didn’t work so well, and identify any impediments to progress)</p>
<p><strong>10:45 Start Sprint Planning (Story Breakdown) </strong></p>
<p><strong>1:30 Finish Sprint Planning (Story Breakdown)</strong></p>
</blockquote>
<p>We often wouldn’t finish sprint planning until after 4:30.&nbsp; </p>
<h3>Story Breakdown</h3>
<p>Sprint planning is the process of taking the high-level stories and breaking them down into tasks. We did this as a team; so, we had everyone’s input and everyone knew how we were going to go about implementing each story. This is vital to maintaining a team approach to building the product. </p>
<p>This story breakdown, however, is the hardest part of the whole sprint. We have to make decision after decision about how we are going to implement a feature… </p>
<blockquote><p>Will there be a new database table? Will it be a variant of some existing feature or something new? Is there some new UI element that we haven’t tackled before? and so on.</p>
</blockquote>
<p> Then for every decision, we have one more decision: how long do we think it will take.</p>
<p>I believe the hardest part is that we move from one decision to the next without actually <em>doing</em> anything. We are simply adding our decisions to the inventory to be acted on over the next two week. This makes the decision fatigue factor even greater.</p>
<p>By the time we got to 3:00 or 3:30 the team would often be so fatigued that we would start placing two tasks on each story: <em>Plan it</em> and <em>Do it</em>. During the sprint, if we came across a story with a “Do it” task, it was a safe bet that it was planned late in the day.</p>
<h3>Remedy</h3>
<p>I can see two ways to reduce the decision fatigue that comes with Scrum planning day: 1) reduce the Sprint length, or 2) don’t do Scrum. </p>
<p>For most teams doing Scrum, I think shrinking the Sprint length to one week will reduce the planning day fatigue. Our team, for other reasons, <a href="http://ericfarr.net/shifting-from-scrum-to-kanban/">switched to a Kanban</a> continuous flow model. Under that model, we did the story breakdown as the queue of planned stories got low. It was never two weeks worth at one time, and we had fewer “Do it” tasks.</p>
]]></content:encoded>
			<wfw:commentRss>http://ericfarr.net/sprint-planning-and-decision-fatigue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DDD Anti-Pattern #3: Not Taking Bounded Contexts Seriously</title>
		<link>http://ericfarr.net/ddd-anti-pattern-3-not-taking-bounded-contexts-seriously/</link>
		<comments>http://ericfarr.net/ddd-anti-pattern-3-not-taking-bounded-contexts-seriously/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 11:02:58 +0000</pubDate>
		<dc:creator>efarr</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Domain Driven Design]]></category>
		<category><![CDATA[bounded context]]></category>
		<category><![CDATA[Compact Framework]]></category>
		<category><![CDATA[DDD]]></category>
		<category><![CDATA[DRY]]></category>
		<category><![CDATA[Event Aggregator]]></category>
		<category><![CDATA[Jurassic Park]]></category>
		<category><![CDATA[Repository]]></category>

		<guid isPermaLink="false">http://ericfarr.net/ddd-anti-pattern-3-not-taking-bounded-contexts-seriously/</guid>
		<description><![CDATA[My team had the challenge of building a field service automation application that would run on Windows Mobile devices. Availability of the Compact Framework meant that most code that would run on the server would also run on the device. &#8230; <a href="http://ericfarr.net/ddd-anti-pattern-3-not-taking-bounded-contexts-seriously/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>My team had the challenge of building a field service automation application that would run on Windows Mobile devices. Availability of the <a href="http://en.wikipedia.org/wiki/.NET_Compact_Framework" target="_blank">Compact Framework</a> meant that most code that would run on the server would also run on the device. This meant that we could build one domain object model and deploy it on the server and on the client. But in <a href="http://en.wikiquote.org/wiki/Jurassic_Park_(film)" target="_blank">Jurassic Park</a> fashion, we were so preoccupied with the fact that we <em>could</em>, we didn’t spend enough time asking if we <em>should</em>.</p>
<h3>The Advantage We Got</h3>
<p>We used the <a href="http://martinfowler.com/eaaCatalog/repository.html" target="_blank">Repository pattern</a> and built our domain model out of plain old CLR objects (POCOs). This meant that we could have the same rich domain model both on the client where the user is interacting through a UI and on the sever where changes from the field and from host system integrations are being processed. This allowed us to keep our code <a href="http://c2.com/cgi/wiki?DontRepeatYourself" target="_blank">DRY</a>. There was no repetition among the entities, behaviors, relationships between entities, and tests. We never had to worry about model inconsistencies between the client and the server. It seemed like a big win, and in some ways it was.</p>
<h3>The Price We Paid</h3>
<p>As we built out the product, we saw that the object model’s usage patterns were not the same on the client as on the server. We ended up with behavior that only applied on the client or on the server. </p>
<p>In an effort to keep from putting code into our domain that would not be relevant on both the client and server, we started putting logic into little services that work with the domain. Most of this logic was on the client side and got applied through use of the <a href="http://martinfowler.com/eaaDev/EventAggregator.html" target="_blank">Event Aggregator</a> pattern. This worked, but tended to impoverish the domain model itself.</p>
<h3>Fixing It</h3>
<p>The problem largely fixed itself when Windows Mobile became irrelevant almost overnight. We rebuilt the client in JavaScript that runs on most modern browsers. This gave us a do-over opportunity and removed the option of sharing model code between the server and client.</p>
<p>If I had the Windows Mobile situation to do over again, I would be more careful to define a common structure that the client and server could share, but compose behaviors relevant to the client and server within each of those contexts.</p>
]]></content:encoded>
			<wfw:commentRss>http://ericfarr.net/ddd-anti-pattern-3-not-taking-bounded-contexts-seriously/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Split the Team or Split the Backlog?</title>
		<link>http://ericfarr.net/split-the-team-or-split-the-backlog/</link>
		<comments>http://ericfarr.net/split-the-team-or-split-the-backlog/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 00:44:38 +0000</pubDate>
		<dc:creator>efarr</dc:creator>
				<category><![CDATA[Agile]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[pair programming]]></category>
		<category><![CDATA[scrum]]></category>
		<category><![CDATA[teams]]></category>

		<guid isPermaLink="false">http://ericfarr.net/split-the-team-or-split-the-backlog/</guid>
		<description><![CDATA[Small software companies often find themselves trying to do too much with too little. This was certainly the case at Agentek. At one point earlier this year, we had a problem… We were not finished with the current release (call &#8230; <a href="http://ericfarr.net/split-the-team-or-split-the-backlog/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Small software companies often find themselves trying to do too much with too little. This was certainly the case at Agentek. At one point earlier this year, we had a problem… We were not finished with the current release (call it release A), but we could not wait until it was finished to get a start on our next release (call it release B). There was too much unknown involved in release B. We had to get started on it. At the same time, we had just committed to ourselves that we would not leave our customers with anymore half-finished releases. What to do?</p>
<p>Our team had four fully dedicated developers, a tester, and me. We needed to dedicate 25% of our time to release B. The first option was to simply <strong>intersperse the backlog</strong> with stories from release A and release B…</p>
<p><a href="http://ericfarr.net/wp-content/uploads/2011/08/Backlog-11.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="Interspersed Backlog" src="http://ericfarr.net/wp-content/uploads/2011/08/Backlog-1_thumb1.png" alt="Interspersed Backlog" width="144" height="450" border="0" /></a></p>
<p align="center"><em><strong>Interspersed Backlog</strong></em></p>
<p>There were two problems with the interspersed backlog. First, release A has a good bit of reactive work; so, the backlog is unpredictable and tends to consume the entire team’s attention. Second, since stories vary in actual effort to complete, we cannot really gauge or control what percentage of our capacity is applied to each effort.</p>
<p>The next idea, was to <strong>split the team</strong> and apply 25% of the people to release B….</p>
<p><a href="http://ericfarr.net/wp-content/uploads/2011/08/Backlog-21.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="Split the Team" src="http://ericfarr.net/wp-content/uploads/2011/08/Backlog-2_thumb1.png" alt="Split the Team" width="341" height="450" border="0" /></a></p>
<p align="center"><em><strong>Split the Team</strong></em></p>
<p>This is the mathematically cleanest solution and the option that traditional software managers would probably pick every time. However, this option has major disadvantages…</p>
<ol>
<li>Only one developer will know anything about how release B was implemented.</li>
<li>The many advantages of pairing are lost on both efforts because we have only one developer on release B and an odd number on release A.</li>
</ol>
<p>This option really just throws the team-based approach to building software out the window; so, not an option for us.</p>
<p>Next thought was to create <strong>two separate backlogs</strong>….</p>
<p><a href="http://ericfarr.net/wp-content/uploads/2011/08/Backlog-3.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border-width: 0px;" title="Split the Backlog" src="http://ericfarr.net/wp-content/uploads/2011/08/Backlog-3_thumb.png" alt="Split the Backlog" width="247" height="480" border="0" /></a></p>
<p align="center"><em><strong>Split the Backlog</strong></em></p>
<p>This makes the problem we are trying to solve clearer, but we still have the problem of how do we stay united as a team, yet timebox each backlog.</p>
<p>The next step was to designate days of the week for servicing each backlog. To give the forward-looking release one fourth of our capacity, we dedicated one pair to that backlog for half of the week. To simplify things, and give it a little more than 25%, went ahead and gave it three full days instead of two and a half. So this is what things looked like…</p>
<p><a href="http://ericfarr.net/wp-content/uploads/2011/08/Backlog-61.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="Split the Backlog and the Week" src="http://ericfarr.net/wp-content/uploads/2011/08/Backlog-6_thumb1.png" alt="Split the Backlog and the Week" width="517" height="500" border="0" /></a></p>
<p align="center"><em><strong>Split the Backlog and the Week</strong></em></p>
<p>We rotated the release B pair so that there would always be one person that worked on that last week for continuity and one new person.</p>
<p>In our first retrospective after we finished release A (and moved onto release B fulltime), the team was convinced of a few things:</p>
<ol>
<li>One team working on two releases at once is hard.</li>
<li>Keeping the team together was really important.</li>
<li>Splitting the backlogs and the week turned out to be a great way to do both at the same time.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://ericfarr.net/split-the-team-or-split-the-backlog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DDD Anti-Pattern #2: Not Getting the Whole Team Educated on DDD Early Enough</title>
		<link>http://ericfarr.net/ddd-anti-pattern-2-not-getting-the-whole-team-educated-on-ddd-early-enough/</link>
		<comments>http://ericfarr.net/ddd-anti-pattern-2-not-getting-the-whole-team-educated-on-ddd-early-enough/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 00:52:17 +0000</pubDate>
		<dc:creator>efarr</dc:creator>
				<category><![CDATA[Agile]]></category>
		<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Domain Driven Design]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Agentek]]></category>
		<category><![CDATA[DDD]]></category>
		<category><![CDATA[training]]></category>

		<guid isPermaLink="false">http://ericfarr.net/ddd-anti-pattern-2-not-getting-the-whole-team-educated-on-ddd-early-enough/</guid>
		<description><![CDATA[The two challenges that drew me to Agentek in late 2008 were interrelated in the same way that the proverbial chicken and egg are. We had to build a complex, composite, occasionally connected, enterprise mobility application to replace the prior &#8230; <a href="http://ericfarr.net/ddd-anti-pattern-2-not-getting-the-whole-team-educated-on-ddd-early-enough/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The two challenges that drew me to Agentek in late 2008 were interrelated in the same way that the proverbial chicken and egg are. We had to build a complex, composite, occasionally connected, enterprise mobility application to replace the prior practice of custom, one-off solutions. At the same time, we had to bring the existing development group up to speed on current software techniques, practices, patterns, and processes.</p>
<p>I couldn’t hold off on designing and building the new product until everyone had gotten the DDD religion. In reality, I don’t think I would have done that even if I had the luxury of that kind of time. Concepts like DDD are best learned by doing them with someone who has done it before. Reading books and hearing presentations can get you excited about them, but only doing them helps you actually learn them.</p>
<p>As I prepared for the first meetings with the domain experts (folks from across the organization who had implemented multiple custom solutions and had a good sense of the domain of our new product), I sent out a copy of <a href="http://www.infoq.com/minibooks/domain-driven-design-quickly" target="_blank">Domain Driven Design Quickly</a>. I wanted to give them as much of an idea of what I was after as possible up front, but it mostly came down to me explaining it as we were doing it.</p>
<p>We had some great sessions. The white board photos we made in those early days formed a remarkably useful and resilient core of the domain model that is still reflected in the product today. We hashed out much of the [soon to be] ubiquitous language, and we all had a vision of what the new product would be.</p>
<p>Shortly after this, we hired a big DDD advocate (I’m still amazed at our good fortune in finding him. They are rare now, even more so in 2009). With Jarrel and me on the development team, we spread the DDD mindset organically as we built out the product. This seemed like a good and pragmatic approach.</p>
<p>In late 2010/early 2011, the entire development organization went through the <a title="Domain Driven Design by Eric Evans" href="http://www.amazon.com/Domain-Driven-Design-Tackling-Complexity-Software/dp/0321125215/" target="_blank">blue book</a>, chapter by chapter, discussing the pros and cons of Evans’ approach, where we’ve been effective, and where we haven’t.</p>
<p>What I learned was loud and clear: We would have had a better product and stayed out of the technological weeds much better if we had formally gone through the DDD material in 2009 instead of 2011. I underestimated how much more effective the team would have been if we took the time to build a common foundation of the DDD concepts. It didn’t mean we had to hold anything up. I just should have made it a priority earlier. I wont make that mistake again.</p>
]]></content:encoded>
			<wfw:commentRss>http://ericfarr.net/ddd-anti-pattern-2-not-getting-the-whole-team-educated-on-ddd-early-enough/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

