<?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>"There are no limits. There are only plateaus, and you must not stay there, you must go beyond them." - Bruce Lee</description>
	<lastBuildDate>Wed, 01 Sep 2010 22:25:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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[Architecture and Development]]></category>
		<category><![CDATA[Conferences, Speaking Gigs, etc.]]></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 addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faslamkhan.net%2Fevents%2Freflections-on-the-jcse-agile-and-architecture-talk%2F&amp;linkname=Reflections%20on%20the%20JCSE%20Agile%20and%20Architecture%20Talk"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></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[Architecture and 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 addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Ftechnical-debt-does-not-exist%2F&amp;linkname=Technical%20Debt%20Does%20Not%20Exist"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></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, Speaking Gigs, etc.]]></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 addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faslamkhan.net%2Fevents%2Farchitecture-in-an-agile-world%2F&amp;linkname=Architecture%20in%20an%20Agile%20World"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></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[Architecture and 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!!  When you&#8217;re sitting in traffic, you can&#8217;t [...]]]></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 addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fi-wanna-hold-your-ha-a-a-a-a-a-and%2F&amp;linkname=I%20wanna%20hold%20your%20ha-a-a-a-a-a-and"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></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[Architecture and 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 addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fwhats-worse-than-big-duf-a-big-dic%2F&amp;linkname=What%26%238217%3Bs%20worse%20than%20BIG%20DUF%3F%20%20A%20BIG%20DIC%21"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></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>
		<item>
		<title>Mapping Steve&#8217;s Mind and More</title>
		<link>http://aslamkhan.net/software-development/mapping-steves-mind-and-more/</link>
		<comments>http://aslamkhan.net/software-development/mapping-steves-mind-and-more/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 09:01:26 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Architecture and Development]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=297</guid>
		<description><![CDATA[If you hate reading lengthy blog posts and dig the mind map view of the world, then add Steve van der Merwe&#8217;s blog to your feed gadget.  What I really like is his short quick observations and great views about software development.  But for me, it&#8217;s even better that I get to speak to him [...]]]></description>
			<content:encoded><![CDATA[<p>If you hate reading lengthy blog posts and dig the mind map view of the world, then add S<a href="http://www.stevevandermerwe.net/blog/">teve van der Merwe&#8217;s blog</a> to your feed gadget.  What I really like is his short quick observations and great views about software development.  But for me, it&#8217;s even better that I get to speak to him regularly, in person.  If you&#8217;re in the Cape Town area, make a point of finding him and chatting to him.  He makes ubuntu real.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fmapping-steves-mind-and-more%2F&amp;linkname=Mapping%20Steve%26%238217%3Bs%20Mind%20and%20More"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/mapping-steves-mind-and-more/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trust Everything</title>
		<link>http://aslamkhan.net/general/trust-everything/</link>
		<comments>http://aslamkhan.net/general/trust-everything/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 22:39:42 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Architecture and Development]]></category>
		<category><![CDATA[Conferences, Speaking Gigs, etc.]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Agile]]></category>
		<category><![CDATA[AOP]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[Aspects]]></category>
		<category><![CDATA[DDD]]></category>
		<category><![CDATA[trust]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=263</guid>
		<description><![CDATA[Trust has popped up in so many of my conversations recently.  It came up at home, at a new school that Lia will be starting next term, in the DDD course that I gave earlier in the month, in Peter Hundermark&#8217;s scrum master certification course.  And I got a one line email that said this.
The [...]]]></description>
			<content:encoded><![CDATA[<p>Trust has popped up in so many of my conversations recently.  It came up at home, at a new school that Lia will be starting next term, in the <a href="http://www.factor10.com/courses/DDDfasttrack/about_this_course.html">DDD course</a> that I gave earlier in the month, in <a href="http://www.scrumsense.com">Peter Hundermark&#8217;s</a> scrum master certification course.  And I got a one line email that said this.</p>
<blockquote><p>The entire world lives on trust. Every aspect in life moves with trust.</p></blockquote>
<p>The more I think about situations in life that will prove this statement false, the more it seems to hold true.  Even in design it holds true.  Your most fundamental architectural decisions are based on trust and the implementations of that architecture work because of trust.</p>
<p>It&#8217;s true for code too.  If you don&#8217;t trust the code on which you build or depend, then you might as well write everything yourself, and give up your place on your team.</p>
<p>I was thinking about the AOP with DDD tutorial that I will be giving at <a href="http://www.oopsla.org/oopsla2009/program/tutorials/149-using-aop-with-ddd-to-create-rich-clean-domain-models">OOPSLA</a> this year, and this trust thing came up.  Here again, aspects and the classes into which they get woven, need a trust relationship.  It may seem like a stretch to make that statement, but I think it holds true again.</p>
<p>So, how do you gain trust?  I am not sure, but I think you have give up something first.  Maybe you need to show your vulnerability first, then it becomes easier to let someone into your space.  Then, perhaps, they will let you in to their space too.  When ego walls are erected, then trust finds it hard to grow.  By ego, I don&#8217;t mean arrogance, I mean awareness of your self that you hide from others for fear.  Perhaps, it is only when you show your true interface, that the other will worry less about hidden agendas.</p>
<p>In code, trust lies in interfaces and types, not in implementations.  It&#8217;s really about trusting the implementation that makes types worthy.  When you trust the type and send it a message and it behaves as expected, then you trust it.  If you request something of an abstract type and the message was received by an instance of a subclass, then you expect the subclass to behave like the abstract type.  You don&#8217;t hope that it does behave consistently, you trust that it does!</p>
<p>Trust is tied in with ubuntu too.  You can&#8217;t be part of a community nor allow yourself to be defined and shaped by the people around you, if you can&#8217;t trust them.  I think ubuntu coding needs trust as one of it&#8217;s values.  It&#8217;s already a value in XP, and Scrum, and families.  It needs to be in teams, and organisations, and communities and nations too.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faslamkhan.net%2Fgeneral%2Ftrust-everything%2F&amp;linkname=Trust%20Everything"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/general/trust-everything/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Your ESB is going to kill you</title>
		<link>http://aslamkhan.net/software-development/your-esb-is-going-to-kill-you/</link>
		<comments>http://aslamkhan.net/software-development/your-esb-is-going-to-kill-you/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 20:15:20 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Architecture and Development]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[ESB]]></category>
		<category><![CDATA[messaging]]></category>
		<category><![CDATA[Patterns]]></category>
		<category><![CDATA[SOA]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=224</guid>
		<description><![CDATA[Recently I wrote about the fruitless plight of a schizophrenic service.  Now, I think that some of that schizophrenia exists in the ESB too (or is it rubbing off onto the ESB?).  I&#8217;ve always felt that the ESB was just another pattern that showed how to isolate things and deal with routing and transformations.  The [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I wrote about the fruitless plight of a <a href="http://aslamkhan.net/software-development/launching-the-services-support-group/">schizophrenic service</a>.  Now, I think that some of that schizophrenia exists in the ESB too (or is it rubbing off onto the ESB?).  I&#8217;ve always felt that the ESB was just another pattern that showed how to isolate things and deal with routing and transformations.  The most common implementation was a messaging gadget with some pluggable framework of sorts for the transformations, and some configurable framework for routing.</p>
<p>With such isolation of parts, it was convenient to not worry about what happened elsewhere when something was thrown to this gadget for processing.  And we started wondering about scalability things and decided that asynchronous was the way to go &#8230; disconnected, stateless, etc, all good, well-intentioned things and useful things.</p>
<p>Then the pattern became a product.  And on top of this product we had more products like business process orchestrators or workflow managers.  And below this product we had applications and databases and ftp locations and all sorts of things that catered for every imaginable protocol.  And around all of this we had some enterprise-ish sort of management thing to keep on eye on everything that was happening inside this very busy product.</p>
<p>Then, services moved from applications to the ESB product.  After all, it&#8217;s a <em>service</em> and that&#8217;s an enterprise <em>service</em> bus, right?  And when the services where moved over to their new home, all the dependencies had to come along too.  And then we started arguing about getting granularity right in the ESB.  I used to just think that the ESB had a proxy of sorts to the service that still was at the application.  Maybe I got it all wrong.</p>
<p>Now this ESB is starting to feel like an Application Server with a messaging gadget, workflow gadget, transformers, routers, protocol handlers.  And some ESB&#8217;s have a web server too, since they have browser based management consoles.</p>
<p>Some people also like the idea of a rules engine for their complex domain rules and embedded those in their applications.  Hold on, those content based routers in the ESB also used a rules engine.  Ok, let&#8217;s move our rules over to the ESB too.  Cool, my ESB is also a rules engine.</p>
<p>Now, I see people writing the most hellish XML that is meant to do everything from configure routing, define transformations, execute code, persist messages, fire off sets of rules and more.  It reminds me so much of those weird and wonderful stored procedures and cascading triggers that we wrote.  The other day I got a laugh out of a friend when I told him that ESB&#8217;s are now DB servers and everyone writes sprocs in XML.</p>
<p>And we tried to do everything in the database server &#8211; rules, custom types, defaults, constraints, sprocs, triggers, batch jobs &#8230; even jump into a shell and execute something else.  It did not work out very well then.</p>
<p>If I was an ESB, I&#8217;d be very confused.  I started life as a pattern with a reasonable implementation using messaging and transformation and routing.  Now all of this.  In fact, I&#8217;d be more stressed than confused.</p>
<p>Then again, maybe the ESB is not confused, and maybe the people that use the ESB that are confused.  In fact, if I was one of those people, I&#8217;d be stressed too.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fyour-esb-is-going-to-kill-you%2F&amp;linkname=Your%20ESB%20is%20going%20to%20kill%20you"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/your-esb-is-going-to-kill-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fast Track to Domain Driven Design</title>
		<link>http://aslamkhan.net/events/fast-track-to-domain-driven-design/</link>
		<comments>http://aslamkhan.net/events/fast-track-to-domain-driven-design/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 18:56:40 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Architecture and Development]]></category>
		<category><![CDATA[Conferences, Speaking Gigs, etc.]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[DDD]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Patterns]]></category>
		<category><![CDATA[TDD]]></category>
		<category><![CDATA[Ubiquitous Language]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=217</guid>
		<description><![CDATA[I finally got out of neutral and pulled together the first public offering our Domain Driven Design courses in Cape Town, South Africa.  Normally we give these courses on-site with people on the same development team but I thought it may be fun and inspiring to open it up to everyone for a change.  Now I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got out of neutral and pulled together the first public offering our <a href="http://www.factor10.com/courses/DDDfasttrack/capetown/about_this_course.html">Domain Driven Design courses</a> in Cape Town, South Africa.  Normally we give these courses on-site with people on the same development team but I thought it may be fun and inspiring to open it up to everyone for a change.  Now I&#8217;m all excited again and really looking forward to a diverse mixture of people. Hopefully, I will see some old faces and lots of new people.</p>
<p>The one thing I can tell you is that the course is a very immersive experience.  I really hate lecturing but I enjoy probing conversations and that&#8217;s how I give the course. I don&#8217;t have answers to the practical work and concerns are addressed as we go along.  As a result, the day takes unexpected turns and routes.  But in the end I get you to the right destination.  Come along; you will leave exhausted, but inspired!</p>
<h2><strong>Take the Fast Track to Domain Driven Design</strong></h2>
<p><a href="http://www.factor10.com/courses/DDDfasttrack/capetown/about_this_course.html">about the course</a> /  <a href="http://www.factor10.com/courses/DDDfasttrack/capetown/course_contents.html">course contents</a> / <a href="http://www.factor10.com/courses/DDDfasttrack/capetown/should_you_attend.html">should you attend?</a> / <a href="http://www.factor10.com/courses/DDDfasttrack/capetown/register.html">register for the course</a></p>
<p><a href="http://www.factor10.com">factor10</a> has expanded its services in South Africa to include our advanced and<br />
expert level courses aimed for the software professional.  On September 8-9, 2009,<br />
we will be offering a fast track to DDD for Architects at the BMW Pavilion in<br />
Cape Town.</p>
<p><img class="alignleft size-full wp-image-218" title="zz485d34cf" src="http://aslamkhan.net/wp-content/uploads/2009/08/zz485d34cf.jpg" alt="zz485d34cf" width="450" height="96" /></p>
<h2></h2>
<h2></h2>
<h2>Who should attend?</h2>
<p>This course is for software professionals that want to take the right steps towards<br />
advanced and expert levels in their careers.  <a href="http://www.factor10.com/courses/DDDfasttrack/capetown/register.html">Register</a> for this course if you want to &#8230;</p>
<ul>
<li>learn more than just another syntax and set of tools</li>
<li>write software for large, long living systems</li>
<li>increase the quality and maintainability of your design</li>
<li>design high quality models and use code to represent those models effectively</li>
<li>develop applications with a good APIs</li>
<li>add a design edge to your skill set</li>
</ul>
<p><img class="alignleft size-full wp-image-219" title="zz3caeb696" src="http://aslamkhan.net/wp-content/uploads/2009/08/zz3caeb696.jpg" alt="zz3caeb696" width="455" height="137" /></p>
<h2></h2>
<h2></h2>
<h2></h2>
<h2></h2>
<h2>Why should you learn DDD?</h2>
<p>More and more developers and architects realise that learning every detail of a new<br />
API just isn&#8217;t the way to deliver the best business value. It’s such a tough balancing<br />
act; focus on the solving the business problem and focus on building working software<br />
with your frameworks.</p>
<p>One way of taking a big leap in the right direction is to learn and apply domain driven<br />
design. It is definitely not abstract and fluffy; it deals a lot with the code also. DDD<br />
leads us to focus on understanding and to communicate that understanding very well;<br />
in language, in design and in code. You will shift your focus away from designing for a<br />
technology, and you will learn to design for the business domain; to the core of the<br />
problems and solutions. Those are the most interesting parts and what your users<br />
and customers really care about.</p>
<p><a href="http://www.factor10.com/courses/DDDfasttrack/capetown/about_this_course.html">about the course</a> /  <a href="http://www.factor10.com/courses/DDDfasttrack/capetown/course_contents.html">course contents</a> / <a href="http://www.factor10.com/courses/DDDfasttrack/capetown/should_you_attend.html">should you attend?</a> / <a href="http://www.factor10.com/courses/DDDfasttrack/capetown/register.html">register for the course</a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faslamkhan.net%2Fevents%2Ffast-track-to-domain-driven-design%2F&amp;linkname=Fast%20Track%20to%20Domain%20Driven%20Design"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/events/fast-track-to-domain-driven-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Domain Specific Reference Architectures</title>
		<link>http://aslamkhan.net/software-development/domain-specific-reference-architectures/</link>
		<comments>http://aslamkhan.net/software-development/domain-specific-reference-architectures/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 20:37:29 +0000</pubDate>
		<dc:creator>Aslam</dc:creator>
				<category><![CDATA[Architecture and Development]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[DDD]]></category>
		<category><![CDATA[intentions]]></category>
		<category><![CDATA[SOA]]></category>
		<category><![CDATA[Ubiquitous Language]]></category>

		<guid isPermaLink="false">http://aslamkhan.net/?p=129</guid>
		<description><![CDATA[Many big vendors have invested a lot on blue print or reference architectures.  I came across another in recent months.  I witnessed a vendor team moving from client to client implementing this reference architecture as part of their SOA solution.
What were they actually doing? They were mapping the client&#8217;s domain to the reference architecture domain [...]]]></description>
			<content:encoded><![CDATA[<p>Many big vendors have invested a lot on blue print or reference architectures.  I came across another in recent months.  I witnessed a vendor team moving from client to client implementing this reference architecture as part of their SOA solution.</p>
<p><strong>What were they actually doing?</strong> They were mapping the client&#8217;s domain to the reference architecture domain and thereby identified reference architecture services that supported the client&#8217;s needs.  This most probably works for some people.   But I feel uncomfortable with it because&#8230;</p>
<ul>
<li>It means translating from one domain to another and back again.  It&#8217;s like having one massive bounded context around the reference architecture with a gigantic set of adaptors and transformers.</li>
<li>There is a very real possibility of semantic impedance on the boundary of the two domains.</li>
<li>There is likely to be two domain vocabularies or one large polluted vocabulary with synonyms, etc.</li>
</ul>
<p>There are other reasons but these few are just old problems and habits coming back again.  Things that we accepted as dangerous and limits success in creating good software.</p>
<p><strong>So, are reference architectures bad?</strong> Yes and no.  Maybe you should consider adopting its domain vocabulary as a first step.  A reference architecture with a rich metamodel is more likely to be more valuable than one without a metamodel.</p>
<p>And the moment you start thinking at a meta level, then you&#8217;re moving into a higher level of abstraction.  In this higher level, you will have a greater opportunity to describe your intentions agnostic of the reference architecture and the vendor&#8217;s technology stack.</p>
<p>The way I see it, services are defined at a meta level.  They describe your intentions and are independent of a reference architecture.  However, if you chose a reference architecture up front, then describe your intentions in the vocabulary of the reference architecture.</p>
<p>Does this make sense?  Because I&#8217;m just hypothesising here.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Faslamkhan.net%2Fsoftware-development%2Fdomain-specific-reference-architectures%2F&amp;linkname=Domain%20Specific%20Reference%20Architectures"><img src="http://aslamkhan.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://aslamkhan.net/software-development/domain-specific-reference-architectures/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
