<?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>f3yourmind &#187; architecture</title>
	<atom:link href="http://aslamkhan.net/tag/architecture/feed/" rel="self" type="application/rss+xml" />
	<link>http://aslamkhan.net</link>
	<description>Ubuntu coding ... for your friends</description>
	<lastBuildDate>Mon, 24 Oct 2011 07:07:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Stay in bed or come to SGZA</title>
		<link>http://aslamkhan.net/events/stay-in-bed-or-come-to-sgza/</link>
		<comments>http://aslamkhan.net/events/stay-in-bed-or-come-to-sgza/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 21:41:55 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[scrum]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=544</guid>
		<description><![CDATA[I will be hosting a 3 hour session at the South African Scrum Gathering titled &#8220;Live your principles or stay in bed&#8221;.  You can read the abstract here.  In my opinion, there is far too little focus on software development itself in Scrum.  So, this is unashamedly a developer session.  I will be present various [...]]]></description>
			<content:encoded><![CDATA[<p>I will be hosting a 3 hour session at the South African Scrum Gathering titled &#8220;Live your principles or stay in bed&#8221;.  You can read the abstract <a href="http://www.scrum.org.za/gathering-2/speaker-information">here</a>.  In my opinion, there is far too little focus on software development itself in Scrum.  So, this is unashamedly a developer session.  I will be present various snippets of code, and we will &#8220;live our principles&#8221; to transform the code into something that is less messy.</p>
<p>I often hear developers, and managers too, saying &#8220;It&#8217;s so much easier without, so why bother?&#8221;.  Well, design is hard.  Applying principles for life is harder.  But if you are professional developer and have a conscience about your design, your code, and your product then &#8220;an easy life without principles&#8221; is not an option.</p>
<p>If you are planning to come along, bring your laptop with your development environment.  I will likely have code samples in Java, C#, Ruby, Javascript, and even, yup, Basic (well, maybe).  All the samples should be very readable and you could easily translate them to something equivalent in your language pretty easily.  Better still, bring some of your own code along, that you want to share.</p>
<p>In reality, this is stuff that Scrum does not teach you, but need to know to avoid Scrum burnout.  Looking back, I should have done something like this sooner.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Faslamkhan.net%2Fevents%2Fstay-in-bed-or-come-to-sgza%2F&amp;title=Stay%20in%20bed%20or%20come%20to%20SGZA" id="wpa2a_2"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/events/stay-in-bed-or-come-to-sgza/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>You can&#8217;t let Scrum die</title>
		<link>http://aslamkhan.net/software-development/you-cant-let-scrum-die/</link>
		<comments>http://aslamkhan.net/software-development/you-cant-let-scrum-die/#comments</comments>
		<pubDate>Wed, 19 Jan 2011 00:06:36 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[intentions]]></category>
		<category><![CDATA[scrum]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[zen]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=481</guid>
		<description><![CDATA[In my last post I said we should let Scrum die.  We can&#8217;t let Scrum die.  It doesn&#8217;t behave like that.  It will only die off its own accord if we die first and then it dies because it has no reason to exist.  So you got to kill it.  Here&#8217;s why (again?). Software development is [...]]]></description>
			<content:encoded><![CDATA[<p>In my last <a href="http://aslamkhan.net/software-development/let-scrum-die/">post</a> I said we should let Scrum die.  We can&#8217;t <em>let</em> Scrum die.  It doesn&#8217;t behave like that.  It will only die off its own accord if we die first and then it dies because it has no reason to exist.  So you got to kill it.  Here&#8217;s why (again?).</p>
<p>Software development is about people and the way people work alone and together.  People create code in software development.  Without that code, these people don&#8217;t exist; they have no purpose.  Code is the creation of the people, and people live off this code.  When the code is good, then life is good.  When the code is poisonous, then people start dying slowly.  When the smell of death is in the air, they look for help.  Some stare into the mirror called Scrum. They see themselves and the way they behave.  It&#8217;s an ugly sight.  They realise that they should behave better.  After all, software is about the way people work alone and together.</p>
<p>Regularly looking into the Scrum mirror, they improve their behavior over time, and everyone is happier than the moment before.  That&#8217;s a nice view.  Just look in the mirror and it looks good.  Very rarely do they also look again through the window into the fields of code that feeds them.  The poison is still coursing through their veins.  They will die, eventually &#8230; by the host that they created that was supposed to nourish them.  The only way to survive is to deal with the fields of code.  Get rid of the toxins.  There are two fundamental ways<em>(*)</em> that you can get rid of toxins: (a) eliminate duplication, and (b) make the code as you wish it to be.</p>
<p>If they just stare into the mirror and hardly ever look out the window, they will just exist on the p<a href="http://aslamkhan.net/software-development/let-scrum-die/">lateau of complacency</a>.  In order to avoid that state of being, they need to focus on the fields of code.  The urge to look in the mirror is strong, and as useful as it was, it becomes a very unbalanced state of existence.</p>
<p>So, look in the mirror, but look through the window too.  Create fields of code without toxins so that you provide nourishment for the next person.  That is <a href="http://programmer.97things.oreilly.com/wiki/index.php/Ubuntu_Coding_for_Your_Friends">ubuntu coding</a>.</p>
<p>Actually, the only mirror you need is the person working next to you.</p>
<p><em><span>(*) Think deeply about these two fundamental things and try it out.  Everything else will fall into place from this. For example, the act of eliminating duplication forces you to consider where to locate a single piece of code, how it should be used and where it can be used, etc.  That is design and architecture.  With duplication, you don&#8217;t need to consider any of those things.  That&#8217;s toxic.</span></em></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fyou-cant-let-scrum-die%2F&amp;title=You%20can%26%238217%3Bt%20let%20Scrum%20die" id="wpa2a_4"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/you-cant-let-scrum-die/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Let Scrum die</title>
		<link>http://aslamkhan.net/software-development/let-scrum-die/</link>
		<comments>http://aslamkhan.net/software-development/let-scrum-die/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 23:44:12 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[scrum]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=466</guid>
		<description><![CDATA[I live in Cape Town, South Africa.  Apart from the great beaches, a mountain in the middle of the city, good food, and good wine there is a feeling of enthusiasm for agile software development in this town.  It&#8217;s been around for a while but really started getting all hot and sweaty with the Scrum [...]]]></description>
			<content:encoded><![CDATA[<p>I live in Cape Town, South Africa.  Apart from the great beaches, a mountain in the middle of the city, good food, and good wine there is a feeling of enthusiasm for agile software development in this town.  It&#8217;s been around for a while but really started getting all hot and sweaty with the Scrum wave.  I estimate that it&#8217;s been at least 2 to 3 years since some teams in Cape Town adopted Scrum.  Of course, there are teams adopting Scrum in this community every year.  That&#8217;s all good, but I&#8217;m afraid it&#8217;s shaping to be just like <a href="http://www.google.co.za/images?q=table+mountain&amp;hl=en&amp;prmd=ivnsu&amp;source=lnms&amp;tbs=isch:1&amp;ei=xq00TbmBD4GcOpmlrbUC&amp;sa=X&amp;oi=mode_link&amp;ct=mode&amp;cd=2&amp;ved=0CBUQ_AUoAQ&amp;biw=1352&amp;bih=682">Table Mountain</a>.</p>
<p><a href="http://aslamkhan.net/wp-content/uploads/2011/01/scrum-early-years2.png"><img class="aligncenter size-full wp-image-470" title="scrum-early-years" src="http://aslamkhan.net/wp-content/uploads/2011/01/scrum-early-years2.png" alt="" width="539" height="338" /></a></p>
<p style="text-align: left;">Regardless of the hyper-performing tagline of Scrum, each team settles down to something with which everyone is comfortable.  The big change that has happened is that of changed behaviour.  Scrum does that &#8211; it alters behaviours.  When everyone plays by the rules (i.e. they behave consistently) then you don&#8217;t have chaos.  It&#8217;s better than better &#8211; it&#8217;s just nice!  It is very comfortable.  But I see signs of chaos not far away again.  This is what is happening and it is almost without exception here in Cape Town.  Some are off the table top already.</p>
<p style="text-align: center;">
<p style="text-align: left;"><a href="http://aslamkhan.net/wp-content/uploads/2011/01/scrum-death-years1.png"><img class="aligncenter size-full wp-image-471" title="scrum-death-years" src="http://aslamkhan.net/wp-content/uploads/2011/01/scrum-death-years1.png" alt="" width="539" height="294" /></a>Let me make the Scrumvangelists feel better for a brief moment.  Scrum won&#8217;t kill you  - <em>directly</em>, but your adoption of Scrum can kill you if you ignore one thing &#8211; your code base.  It is a code base out of control that leads to certain death, and Scrum won&#8217;t be the saviour this time.  Bringing your code base under control is not easy.  It is all about architecture, design and changing your style of development to live the principles that end up characterising good code.  I don&#8217;t need to tell you what you need to do.  It&#8217;s been told so many times &#8211; TDD, refactoring, continuous delivery, single code base, etc.  At the code face it&#8217;s SOLID and DRY and lots more.</p>
<p>The plateau of complacency is an interesting place.  We may think we are collaborating but in reality we have just found a way to work together without causing chaos.  I call it co-operation.  It&#8217;s just keeping chaos under control so that we can make the sprint, again and again and again.  A sure sign of being on the plateau is when we can&#8217;t get rid of our Scrum master.  When we work the Scrum master out of the system, then the team will need to take on more on it&#8217;s shoulders.</p>
<p>A major limiting factor to get off the plateau will be the people on the development team.  Hyper-performing teams have talented developers(*) that are able to design and express that design in code without breaking their principles.  A team that is unable to bring a code base under control will compensate by leaning on a scrum master for support.</p>
<p><a href="http://aslamkhan.net/wp-content/uploads/2011/01/scrum-unwanted.png"><img class="aligncenter size-full wp-image-472" title="scrum-unwanted" src="http://aslamkhan.net/wp-content/uploads/2011/01/scrum-unwanted.png" alt="" width="539" height="316" /></a></p>
<p>In the journey of dramatic improvements to bring your code base under control, there are few things that you should take notice off.</p>
<ul>
<li>An architecture will emerge that supports the design of the resident parts.  Things fit together beneficially.</li>
<li>The code base will get smaller and the team will shrink to about 2 or 3 people.</li>
<li>Each developer will take on greater responsibility and will find it difficult to break core principles.  The act of living those principles will result in a values that don&#8217;t need to be listed on a poster on the wall.</li>
<li>The scrum master will become redundant.</li>
<li>The product owner will do more by working directly with the developers.</li>
</ul>
<p>Then you won&#8217;t need Scrum, because the code base is under control, developers represent the interest of their customers, and the bottleneck is now at the customer.</p>
<p>Am I being idealistic?  No, it&#8217;s about pragmatic decisions and the pursuit of freedom.  It&#8217;s hippie Scrum.</p>
<p><em>(*) By talented I mean developers who have the ability to communicate, share, solve problems simply and elegantly, and can sniff out bad design and architecture.  Talented developers are not code monkeys that can churn out code.  Their single differentiating trait is the ability to design well and express that design in code.</em></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Flet-scrum-die%2F&amp;title=Let%20Scrum%20die" id="wpa2a_6"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/let-scrum-die/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>RESTing at Øredev</title>
		<link>http://aslamkhan.net/software-development/resting-at-%c3%b8redev/</link>
		<comments>http://aslamkhan.net/software-development/resting-at-%c3%b8redev/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 23:13:09 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[REST]]></category>
		<category><![CDATA[WCF]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=429</guid>
		<description><![CDATA[There was quite a bit of REST chatter at Øredev last week.  I sat in on the REST in Practice tutorial by Ian Robinson and Jim Webber (if you have not read the book they co-authored, then do &#8211; it&#8217;s really well written).  There were a couple of things that these two guys cleared up [...]]]></description>
			<content:encoded><![CDATA[<p>There was quite a bit of REST chatter at Øredev last week.  I sat in on the REST in Practice tutorial by <a href="http://iansrobinson.com/">Ian Robinson</a> and <a href="http://jim.webber.name/">Jim Webber</a> (if you have not read the <a href="http://oreilly.com/catalog/9780596805838">book</a> they co-authored, then do &#8211; it&#8217;s really well written).  There were a couple of things that these two guys cleared up for me, in the tutorial and in conversation during the week.</p>
<p style="padding-left: 30px;"><strong>Application state is in the head of the consumer</strong>, not the provider of the resources.  This suggests that we should be able to recompute the state of application at any time.  If we can recompute the application state, then we don&#8217;t need to explicitly implement the entire application state machine in the provider, nor the client.</p>
<p style="padding-left: 30px;">You may start off with modeling an application state machine on paper and discover the life cycle of resources.  Implementing this is then simpler because we are only need to implement the lifecycle of the resource, not the entire application state.  The way the consumer drives the state machine is just be reacting to available transitions in the representation of a resource.  Now you give the provider the freedom to change the application state machine and the consumer will react to the new state machine by discovery. That is significant.</p>
<p style="padding-left: 30px;"><strong>Use hypermedia to refer to yourself.</strong> This came up in the tutorial because I objected to a resource including a hypermedia link to itself, regardless of its state.  To me, it seemed to have little value because you already have the representation of a resource in a particular state, so why include hypermedia for itself.  For example, this is what a resource will look like without a link to self.</p>
<pre style="padding-left: 30px;">
<pre class="brush:xml" style="padding-left: 30px;">&lt;Order&gt;
  &lt;id&gt;823763&lt;/id&gt;
  ...
  &lt;links&gt;
    &lt;link rel="pay" href="http://example.com/payment/823763"/&gt;
  &lt;/links&gt;
&lt;/Order&gt;</pre>
</pre>
<p style="padding-left: 30px;">Now, if I want to GET the original order resource, I would need to know that there is some URI that includes the id of the order.  And, so, we end up publishing a URI template such as</p>
<pre style="padding-left: 30px;">
<pre class="brush:plain">GET http://example.com/order/{id}</pre>
</pre>
<p style="padding-left: 30px;">If we include a link to self, then the representation looks like this.</p>
<pre style="padding-left: 30px;">
<pre class="brush:xml">&lt;Order&gt;
  &lt;id&gt;823763&lt;/id&gt;
  ...
  &lt;links&gt;
    &lt;link rel="self" href="http://example.com/order/823763"/&gt;
    &lt;link rel="pay" href="http://example.com/payment/823763"/&gt;
  &lt;/links&gt;
&lt;/Order&gt;</pre>
</pre>
<p style="padding-left: 30px;">Look Ma!  I don&#8217;t have to expose a URI template anymore.  It&#8217;s all discoverable.  That is significant.</p>
<p><strong>REST support in WCF is heading in the right direction. </strong>I also listened to <a href="http://blogs.msdn.com/b/gblock/">Glenn Block&#8217;s</a> talk on his team&#8217;s work on HTTP and <a href="http://wcf.codeplex.com">REST support in WCF</a>.  It&#8217;s still early days but I think they are paying attention to experts in this space and giving priority to the developers that will use it.</p>
<p style="padding-left: 30px;">In the past you would have to map a very specific, template based HTTP GET operation to a method like this (excluding the additional endpoint configuration too!)</p>
<pre style="padding-left: 30px;">
<pre class="brush:csharp">[WebGet(UriTemplate = "{id}")]
public Contact Get(string id, HttpResponseMessage resp) { ... }</pre>
</pre>
<p style="padding-left: 30px;">What Glenn showed was a method signature that resembled the HTTP operation on the resource.</p>
<pre style="padding-left: 30px;">
<pre class="brush:csharp">public Contact Get(string id, HttpResponseMessage resp) { ... }</pre>
</pre>
<p style="padding-left: 30px;">Sure, it&#8217;s using a lot of convention over configuration to get rid of the attributes.  Now that may not seem like a big deal, but I do think that it is moving the HTTP abstraction down to a level that is more resource friendly.  When you are building a RESTful architecture, then you do think quite naturally in terms of the resources and their allowable HTTP operations for obtaining state or triggering a state transition.  By moving away from mapping HTTP operations to a service contract, it introduces the necessary mental shift from RPC to Resources.  And that is significant.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fresting-at-%25c3%25b8redev%2F&amp;title=RESTing%20at%20%C3%98redev" id="wpa2a_8"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/resting-at-%c3%b8redev/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>This mess started long, long time ago</title>
		<link>http://aslamkhan.net/software-development/this-mess-started-long-long-time-ago/</link>
		<comments>http://aslamkhan.net/software-development/this-mess-started-long-long-time-ago/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 21:36:24 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[architecture]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=412</guid>
		<description><![CDATA[My son borrowed Asterix and Cleopatra from Claremont Library last week.  It&#8217;s been ages since I read anything from that series.  But page 2 really had me chuckling.  There is an image of the page online, but it&#8217;s bit hard to read.  So, here&#8217;s the dialog. The scene: Cleopatra has been challenged by Julius Caesar [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_413" class="wp-caption alignright" style="width: 135px"><a href="http://aslamkhan.net/wp-content/uploads/2010/10/5c.gif"><img class="size-full wp-image-413 " title="Asterix" src="http://aslamkhan.net/wp-content/uploads/2010/10/5c.gif" alt="" width="125" height="150" /></a><p class="wp-caption-text">http://www.asterix.com</p></div>
<p>My son borrowed Asterix and Cleopatra from Claremont Library last week.  It&#8217;s been ages since I read anything from that series.  But page 2 really had me chuckling.  There is an image of the page <a href="http://www.asterix.co.nz/take_a_look/cleopatra/pages/page2.htm">online</a>, but it&#8217;s bit hard to read.  So, here&#8217;s the dialog.</p>
<blockquote><p><em>The scene: Cleopatra has been challenged by Julius Caesar to build a grand palace that will prove that the Egyptians are an advanced nation.  She summons Edifis, her architect.</em></p>
<p><strong>Cleopatra</strong>: Edifis, I have summoned you because you are the best architect in Alexandria &#8211; which is isn&#8217;t saying much.</p>
<p><strong>Edifis</strong>: Oh!</p>
<p><strong>Cleopatra</strong>: Don&#8217;t answer back! Your buildings are flimsy.  You can hear every word the neighbours say.  The ceilings fall in!</p>
<p><strong>Edifis</strong>:  It&#8217;s these modern materials&#8230; Actually, what I really want to do is build pyramids and &#8230;</p>
<p><strong>Cleopatra</strong>: Silence!  You have just three months to make good.  You are to build Julius Caesar a magnificent palace here in Alexandria.</p>
<p><strong>Edifis</strong>: Did you say THREE MONTHS?</p>
<p><strong>Cleopatra</strong>: If you succeed, you will be covered in gold!  If not, you will be thrown to the crocodiles!  You may go.</p>
<p>(Edifis walks out)</p>
<p><strong>Edifis</strong>: (thinking) Three months!  I&#8217;d need supernatural powers to do that!  I&#8217;d need someone who can work magic.</p>
<p><strong>Edifis</strong>: (shouting) Got it!  I know the very man!  He can work magic!</p></blockquote>
<p>Now, where have we seen that before?</p>
<p><em>(And just get the original book and read on about mule-driving the slaves to haul huge blocks of stone &#8230; classic!)</em></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fthis-mess-started-long-long-time-ago%2F&amp;title=This%20mess%20started%20long%2C%20long%20time%20ago" id="wpa2a_10"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/this-mess-started-long-long-time-ago/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Reflections on the JCSE Agile and Architecture Talk</title>
		<link>http://aslamkhan.net/events/reflections-on-the-jcse-agile-and-architecture-talk/</link>
		<comments>http://aslamkhan.net/events/reflections-on-the-jcse-agile-and-architecture-talk/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 10:25:31 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[AOP]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[DDD]]></category>
		<category><![CDATA[DSL]]></category>
		<category><![CDATA[intentions]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=362</guid>
		<description><![CDATA[It was really good to be part of a very topical subject at the JCSE Architecture Forum last night.  While these discussion are so valuable, the things that surface can only be glossed over, largely because of time constraints.  I end up feeling a very satisfied and energised but a part of me feels a [...]]]></description>
			<content:encoded><![CDATA[<p>It was really good to be part of a very topical subject at the <a href="http://jcse.org.za/events/2010-07-22-architecture-forum">JCSE Architecture Forum</a> last night.  While these discussion are so valuable, the things that surface can only be glossed over, largely because of time constraints.  I end up feeling a very satisfied and energised but a part of me feels a bit hollow.</p>
<p>So here are some of the things that surfaced at the Forum, and my narrow, unworldly opinion on each (i.e. I&#8217;m just trying to fill that hollow feeling).</p>
<p><strong>When we talk about architecture, we need to define what we mean by architecture?</strong></p>
<p>In my talk it was a very simple view of architecture which, thinking back, I should have disclosed very early.  I am now applying from <a href="http://www.threeriversinstitute.org/blog/?page_id=379">Kent Beck</a> who talks about mutually beneficial relationships.   So I think of architecture as the mutually beneficial relationship between two or more things.  So what is a thing?  It could be  lines code in a method, methods in a class, classes in namespace, namespaces in code base, binaries in an application server, application servers in a cluster, &#8230; see where I am going?  Architecture is about creating beneficial relationships, and the 5 things I discussed are based on this view.  If you don&#8217;t know anything about the things, then you cannot create beneficial relationships.  From an agile perspective, the beneficial relationship that you create should only be beneficial based on your knowledge right now.  Tomorrow your knowledge changes, so the relationship may not be as beneficial as yesterday.  Time to change.</p>
<p><strong>Building infrastructural architecture independently of functional requirements&#8230;</strong></p>
<p>I am not convinced of the benefit of this approach.  In my limited experience, every business need defines the constraints or needs of the infrastructural architecture.  I find it hard to find the point of departure, yet there is a school of thought that suggests that function is orthogonal to the architecture.  Perhaps I just don&#8217;t understand this.  However from an agile perspective, I want to release early and there are many constraints on infrastructure from the business (for example, administrative processes like procurement of hardware).  I like to understand what these are early on, reach agreement on what we can release at the earliest and design accordingly.  Perhaps the first release is on lightweight infrastructure and that means we &#8220;limit&#8221; scalability.  So, I don&#8217;t design for beyond what I know is real.</p>
<p><strong>Model Driven Architecture &#8230;</strong></p>
<p>My view is more philosophical and abstract.  What is a <em>model</em>?  For me, a model is something intangible.  It is a way we understand something.  But we represent our models in many ways.  Through words in written or spoken conversation, in unstructured pictures, in structured notation like UML, even code is a representation of a model.</p>
<p>What do we mean by <em>driven</em>? I view it as a something that takes an input that produces an output.  In this case, we take an input, the model, and produce an output, an architecture.  So, I take an understanding of problem and use that to derive an architecture.  So, that&#8217;s nothing new here.  However, I don&#8217;t like to confuse driving out an architecture from a representation of the model.  That&#8217;s different.  Now we are going beyond thought processes  into mechanical processes.  Then the challenge is about how to apply the feedback to the representation of the model &#8211; and that is what will make you agile.  Too much for my small brain.</p>
<p><strong>Plumbing &#8230;</strong></p>
<p>Yup, we do too much hand crafted plumbing!  It&#8217;s something that we have been working on for a long, long time.  I think convention over configuration, dependency inversion, meta-programming are all attempts at addressing this problem.  Some early success that I have experienced is on taking a polyglot approach. I am not talking about mixing general purpose languages on one runtime only.  I am also including domain specific languages. I&#8217;ve had some early success where using DSL to describe functional intentions and then generating a large portion of the plumbing.  Where I&#8217;ve suffered is when I mix concepts from different domains.  There is the domain of plumbing and the domain of the business.  Whenever I&#8217;ve mixed the two, it pains later rather than sooner.  Right now, the only way I&#8217;ve had some success is with aspect orientation and meta-programming.</p>
<p><strong>@StatelessSessionBean &#8230;</strong></p>
<p><a href="http://www.psybergate.co.za/opencms/opencms/psybergate-pages/home1.html">Chris Naidoo</a> is right.  That thing called J2EE and subsequent versions is just horribly broken.  It&#8217;s broken encapsulation and a whole lot more.  The fact that we now must use an annotation and not implement an interface is immaterial.  Both result in the same pain &#8211; mixed concepts (see plumbing above).  Annotations should be specific to the business such as <em>@RecalculateCostsOnRerouteOfCargo</em> can be used as an interception point for injecting a rule on a class or method.</p>
<p>I would go even further and say that the POJO JavaBean specification is also broken.  Why on earth <em>must</em> I have a no-argument constructor and accessors and mutators.</p>
<p><strong>Last thoughts &#8230;</strong></p>
<p>I may have missed some of the other discussions but these are the ones that I woke up with this morning. In general, my observation is that we need to be very concrete very early if we want to be agile, even in architecture.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Faslamkhan.net%2Fevents%2Freflections-on-the-jcse-agile-and-architecture-talk%2F&amp;title=Reflections%20on%20the%20JCSE%20Agile%20and%20Architecture%20Talk" id="wpa2a_12"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/events/reflections-on-the-jcse-agile-and-architecture-talk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Technical Debt Does Not Exist</title>
		<link>http://aslamkhan.net/software-development/technical-debt-does-not-exist/</link>
		<comments>http://aslamkhan.net/software-development/technical-debt-does-not-exist/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 22:02:09 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[metaphors]]></category>
		<category><![CDATA[technical debt]]></category>
		<category><![CDATA[zen]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=342</guid>
		<description><![CDATA[Metaphors may be a good way of getting to grips with a new domain.  It allows you to imagine the behavior of something that you don&#8217;t quite understand (yet) in terms of something with which you are quite familiar.  That&#8217;s were it should stop. I hate metaphors that extend beyond their purpose.  Once I have [...]]]></description>
			<content:encoded><![CDATA[<p>Metaphors may be a good way of getting to grips with a new domain.  It allows you to <em>imagine the behavior</em> of something that you don&#8217;t quite understand (yet) in terms of something with which you are quite familiar.  That&#8217;s were it should stop. I hate metaphors that extend beyond their purpose.  Once I have a <em>good enough</em> understanding, I drop the metaphor.  My reason is simple.  Metaphors force me to do a lot of energy sapping context switching.</p>
<p>Technical debt is one of those metaphors that have been extended so far, that it is believed by many to be something tangible.  Let&#8217;s get real here:  Technical debt does not exist.  It is just a metaphor for us to realise that our code base may cost us more money than it should, and that is a future view.  Sometimes our metaphors become euphemisms, and then it is dangerous.  When it comes to technical debt, the less I think of code problems as debt the more I am able to face the problems head on.</p>
<p>Ironically, I did a <a href="http://www.scrum.org.za/events/technical-debt">talk</a> recently on dealing with technical debt.  My fundamental position is simple.  Either your code base has things that exist as a result of broken principles or it does not.  The more principles you break, the more <em>potential</em> problems you have in your code. It is not a problem right now, but it may be a problem in the future.  This future can be a minute away when I run my next test or a year away.  If the future is infinitely far away, then it is not a problem at all.</p>
<p>My first prize is to not break principles, so I don&#8217;t create potential problems.  My second prize is to deal with real problems and just leave the potential problems for the future.</p>
<p>(<strong>Warning</strong>: I&#8217;m drifting into my <a href="http://aslamkhan.net/software-development/coding-for-enlightenment/">enlightenment</a> self-reflection, so feel free to stop reading now.)</p>
<p>If I am part of the exploration that is looking for a solution (living in the moment and not outside it as an observer), then I should be aware of principles that I am breaking and I should change course immediately.  If I am part of the exploration that is dealing with the potential problem that is now a real problem, than I need to understand the principle that was broken and fix the problem by restoring the principle.  Restoring the principle could mean going on a search for the right solution to the original problem, not just trying to fix the problem that is a result of breaking a principle.  This problem that broke the principle may just be the wrong solution that we thought was the right solution because we ignored our principles in the first place.</p>
<p>Hmmm, that&#8217;s an interesting thought.  <a href="http://scrumcoaching.wordpress.com/">Karen Greaves</a> asked me if a re-write can be justified and I mumbled something about technology, etc.  What tripe!  Now I think I&#8217;ve just reflected on when a rewrite is justified.  When refactoring will not fix the broken principle, then the right solution was never discovered in the first instance.  That is also what I mean when I say that clean code is necessary by not sufficient.  At <a href="http://www.factor10.com">factor10</a>, we call this a radical makeover.  Radical makeovers are a viable way of getting rid of real problems, and restoring principles.</p>
<p>Heck!  This blog post is less about technical debt metaphors than I thought.  Oh well, the ride on this journey never stops.</p>
<p>By the way, a huge thank you to <a href="http://www.stevevandermerwe.net/blog/">Steve</a> for helping me realise that all problems come from breaking principles, in code and in life.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Ftechnical-debt-does-not-exist%2F&amp;title=Technical%20Debt%20Does%20Not%20Exist" id="wpa2a_14"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/technical-debt-does-not-exist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Architecture in an Agile World</title>
		<link>http://aslamkhan.net/events/architecture-in-an-agile-world/</link>
		<comments>http://aslamkhan.net/events/architecture-in-an-agile-world/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 20:33:31 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[architecture]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=352</guid>
		<description><![CDATA[Next week, I will give a talk at the JCSE Architecture Forum entitled Architecture in an Agile World (or maybe it&#8217;s the other way around). It&#8217;s not a new topic but since I visited it at a MagmaTec conference late last year, I have updated my thoughts a bit.  The angle is also different because [...]]]></description>
			<content:encoded><![CDATA[<p>Next week, I will give a talk at the <a href="http://jcse.org.za/events/2010-07-22-architecture-forum">JCSE Architecture Forum</a> entitled <em>Architecture in an Agile World (or maybe it&#8217;s the other way around).</em> It&#8217;s not a new topic but since I visited it at a <a href="http://www.magmatec.co.za">MagmaTec</a> conference late last year, I have updated my thoughts a bit.  The angle is also different because I want to explore what it means to be agile in process, and agile in practice and how that relates to understanding a problem and carving out solutions.  Often, it is actually a choice to find a solution that is just and that is able to balance the various tensions.</p>
<p>But, I think I am equally excited at the possibility of seeing some familiar faces again in Johannesburg.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Faslamkhan.net%2Fevents%2Farchitecture-in-an-agile-world%2F&amp;title=Architecture%20in%20an%20Agile%20World" id="wpa2a_16"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/events/architecture-in-an-agile-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I wanna hold your ha-a-a-a-a-a-and</title>
		<link>http://aslamkhan.net/software-development/i-wanna-hold-your-ha-a-a-a-a-a-and/</link>
		<comments>http://aslamkhan.net/software-development/i-wanna-hold-your-ha-a-a-a-a-a-and/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 14:57:22 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[factor10]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=303</guid>
		<description><![CDATA[Do you remember that catchy Beatles song? Oh yeah, I´ll tell you something I think you'll understand When I say that something I wanna hold your hand I wanna hold your hand I wanna hold your hand So what made me think about this?  That frustrating construction of the new M5/N1 interchange in Cape Town!! [...]]]></description>
			<content:encoded><![CDATA[<p>Do you remember that catchy Beatles song?</p>
<blockquote>
<pre style="font: normal normal normal 11px/normal verdana; line-height: 16px; padding: 10px;">Oh yeah, I´ll tell you something
I think you'll understand
When I say that something
I wanna hold your hand
I wanna hold your hand
I wanna hold your hand</pre>
</blockquote>
<p>So what made me think about this?  That frustrating construction of the new M5/N1 interchange in Cape Town!!  When you&#8217;re sitting in traffic, you can&#8217;t do anything but look and think.  And I&#8217;ve seen this scaffolding get taller and taller and wider and wider and longer and longer and more and more people appear on it each day.</p>
<div id="attachment_311" class="wp-caption aligncenter" style="width: 510px"><img class="size-full wp-image-311 " title="Sourced from http://www.capetown.gov.za" src="http://aslamkhan.net/wp-content/uploads/2010/02/KB_3_Jan_10_h.jpg" alt="Sourced from http://www.capetown.gov.za" width="500" height="333" /><p class="wp-caption-text">Sourced from http://www.capetown.gov.za</p></div>
<p>I know that one day, they will remove the scaffolding and the concrete will just hang there in mid air on those massive pillars and walls that they&#8217;re busy building, and I won&#8217;t be sitting in traffic any longer, and it will all just work.</p>
<p>What a shame that software is not like that !!  So many people get turned on by scaffolding.  And The Beatles sang on &#8230;</p>
<blockquote>
<pre style="font: normal normal normal 11px/normal verdana; line-height: 16px; padding: 10px;">And when I touch you i feel happy, inside
It's such a feeling
That my love
I can't hide
I can't hide
I can't hide</pre>
</blockquote>
<p>And just like the M5 construction, so much scaffolding gets built, and so many people climb on.  But then, they don&#8217;t climb down.  And they don&#8217;t tear down the scaffolding.  And it just stays there mashed in with the concrete bits.  And then they ask people to use it.  And it takes strain and then it&#8217;s a performance problem, or a load problem, or it just crashes down.</p>
<p>I do use scaffolding, but most of the time it&#8217;s in a spike and more often it&#8217;s in a test, just to get me over my point of fear.  Deploying software with scaffolding is just dangerous and negligent.  I really don&#8217;t want to drive my car over the M5 interchange while those thin steel pipes are holding up the concrete slabs.</p>
<p>But above all of that, the most important scaffolding is social scaffolding.  It&#8217;s better to provide human scaffolding to support each other on a team that is focused on delivering quality software.  It&#8217;s worse to plug in weak struts in the code base that will just collapse when the next developer builds on top of it.  Very un-ubuntu!</p>
<p style="text-align: center;"><img class="size-full wp-image-312 aligncenter" title="Torch Relay from the Beijing Olympics.  Sourced from http://torchrelay.beijing2008.cn" src="http://aslamkhan.net/wp-content/uploads/2010/02/Img214037659.jpg" alt="Sourced from http://torchrelay.beijing2008.cn" /></p>
<p>So, the Beatles song still holds true, but only for social scaffolding.</p>
<blockquote>
<pre style="font: normal normal normal 11px/normal verdana; line-height: 16px; padding: 10px;">Yeah you, got that something
I think you'll understand
When I say that something
I wanna hold your hand
I wanna hold your hand
I wanna hold your hand
I wanna hold your ha-a-a-a-a-a-and</pre>
</blockquote>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fi-wanna-hold-your-ha-a-a-a-a-a-and%2F&amp;title=I%20wanna%20hold%20your%20ha-a-a-a-a-a-and" id="wpa2a_18"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/i-wanna-hold-your-ha-a-a-a-a-a-and/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#8217;s worse than BIG DUF?  A BIG DIC!</title>
		<link>http://aslamkhan.net/software-development/whats-worse-than-big-duf-a-big-dic/</link>
		<comments>http://aslamkhan.net/software-development/whats-worse-than-big-duf-a-big-dic/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 21:41:53 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=304</guid>
		<description><![CDATA[Most agile people say big designs up front rarely pay off.  You spend so much time doing design that you delay the opportunity of feedback from real, working software.  But I sometimes do BIG DUF.  It&#8217;s not that the design is big, it&#8217;s the problem that is big.  So I need an up front big [...]]]></description>
			<content:encoded><![CDATA[<p>Most agile people say big designs up front rarely pay off.  You spend so much time doing design that you delay the opportunity of feedback from real, working software.  But I sometimes do BIG DUF.  It&#8217;s not that the design is big, it&#8217;s the problem that is big.  So I need an up front big picture with just a few big parts.</p>
<p>It helps me conquer and divide.</p>
<p>That&#8217;s not a bad thing.  What I find really painful is casting the design in concrete.  When your design is cast, then your mental state is already cast in concrete too.  And that means that it is a lot harder to do the right things.  So, more gets added to the concrete slab and it&#8217;s real hard work to break anything off.  When I have a BIG DUF, I often look at how to reduce it, rather than increase it.</p>
<p>I don&#8217;t think it&#8217;s wrong to have a  BIGDUF, it&#8217;s worse if you have a BIGDIC (BIG Design in Concrete).  That concrete block will hurt you later &#8230; a lot.</p>
<p>In other words, the size of a BIGDIC does not matter, it&#8217;s the rigidity that&#8217;s the problem (<em>&#8211; That&#8217;s so lame, I could not resist!</em>)</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fwhats-worse-than-big-duf-a-big-dic%2F&amp;title=What%26%238217%3Bs%20worse%20than%20BIG%20DUF%3F%20%20A%20BIG%20DIC%21" id="wpa2a_20"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/whats-worse-than-big-duf-a-big-dic/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

