<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Peter Kelley on Medium]]></title>
        <description><![CDATA[Stories by Peter Kelley on Medium]]></description>
        <link>https://medium.com/@yellekau?source=rss-9f4d6122b4e9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*9RWwCjaXlblRnPKH.png</url>
            <title>Stories by Peter Kelley on Medium</title>
            <link>https://medium.com/@yellekau?source=rss-9f4d6122b4e9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 03:27:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yellekau/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[What of advance Australia fair?]]></title>
            <link>https://medium.com/@yellekau/what-of-advance-australia-fair-6ac63a83d8c3?source=rss-9f4d6122b4e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ac63a83d8c3</guid>
            <dc:creator><![CDATA[Peter Kelley]]></dc:creator>
            <pubDate>Sun, 19 May 2019 03:08:33 GMT</pubDate>
            <atom:updated>2019-05-19T03:08:33.425Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What of advance Australia fair?</strong></p><p><a href="https://www.theguardian.com/commentisfree/2019/may/19/its-not-you-bill-its-the-country-is-this-election-australias-trump-or-brexit-moment">This</a> captures how I feel after the Australian election results last night. How could we do this?</p><p>The Labor party put forward a suite of ambitious policies to reform the Australian tax system, restore equity and tackle climate change. The Liberal party concentrated on a scare campaign about Labor policies with little vision of their own.</p><p>Even after 2 terms I can&#39;t think of a single signature policy that the Liberal government has put in place that is visionary. Their signature achievement is a number of tax cuts that benefit companies and the rich whilst increasing inequality. Factional fighting between the hard right and the rest of the party is rife, paralysing any significant policy development. Fighting between the Liberals and their coalition partners the National party contributes to the chaos.</p><p>How could Australia do this? I feel powerless and more than a little down.</p><p>My part of the country voted for the Labor party and will most likely continue to do so so I can&#39;t even get involved to make a difference.</p><p>At the very least there will be a return to small target negative campaigning for the next election on both sides. Expect the next campaign to be really nasty.</p><p>What can we do to advance Australia fair over the next 3 years?</p><p>#auspol</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ac63a83d8c3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Representing Board Game State — The Pieces]]></title>
            <link>https://medium.com/@yellekau/representing-board-game-state-the-pieces-c2655855bb07?source=rss-9f4d6122b4e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2655855bb07</guid>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[board-games]]></category>
            <category><![CDATA[gaming]]></category>
            <dc:creator><![CDATA[Peter Kelley]]></dc:creator>
            <pubDate>Wed, 22 Mar 2017 00:58:23 GMT</pubDate>
            <atom:updated>2017-03-22T00:58:23.134Z</atom:updated>
            <content:encoded><![CDATA[<p>This is the fourth in a series of posts describing ideas for a board game state modelling language. The previous posts in the series have dealt with the <a href="https://medium.com/@yellekau/representing-board-game-state-the-board-a26787011b9f#.d3hmegiq3">board</a>, the <a href="https://medium.com/@yellekau/representing-board-game-state-the-cards-5a2e938a8736#.4q3k0pvqy">cards</a> and the <a href="https://medium.com/@yellekau/representing-board-game-state-the-players-9cc0ce5bb58">players</a>.</p><p>Pieces are game components that, like cards, have relationships with other concepts in the board game state modelling language. Pieces can be owned by players or sets of players and be placed in or on spaces. Pieces can also be associated with cards.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jZg3J01EpnLvs84S-ZNXQQ.png" /><figcaption>Council of Verona, the Apothecary.</figcaption></figure><p>For example in the game <a href="https://boardgamegeek.com/boardgame/140863/council-verona">Council of Verona</a> after the character cards have been played to the table players can place betting markers on certain cards that score for them if that character’s objective is achieved.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*Zj2A2ixrT7CNnfz9TMjosA.jpeg" /><figcaption>Robots clustered around a checkpoint in Robo Rally. Image courtesy BGG user T’leynti.</figcaption></figure><p>Pieces can also be associated with a space side as well as a space itself. This is the way that the concept of “facing” is represented. For example in the game <a href="https://boardgamegeek.com/boardgame/18/robo-rally">Robo Rally</a> the facing of a player’s robot is vitally important when issuing orders to that robot. A command to “move forward” whilst facing one way might be perfectly safe but when facing another way it might send the robot into a pit.</p><p>Pieces can have properties that interact with the rules of the game and distinguish them from one another. In some cases, like in the game <a href="https://boardgamegeek.com/boardgame/6472/game-thrones-first-edition">A Game of Thrones</a>, the properties are as simple as a type (knight, footman, fleet) and a colour. In other games pieces can have a number of properties. For example in the game <a href="https://boardgamegeek.com/boardgame/75476/inca-empire">Inca Empire</a> the province markers have a value for the number of victory points they grant and the number of workers they contribute to your faction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*MrE3MuOX3n8NXbYcSeXIog.jpeg" /><figcaption>Different pieces in Game of Thrones.</figcaption></figure><p>Pieces can also have their properties change during the course of a game although this is usually represented by the addition of pieces or markers so that human players can tell the difference.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RIEvXmrHzxU4iOCE02ptUA.png" /><figcaption>Defeating an anomaly in Eclipse</figcaption></figure><p>For example the anomaly ships from the <a href="https://boardgamegeek.com/boardgame/72125/eclipse">Eclipse</a> <a href="https://boardgamegeek.com/boardgameexpansion/179255/eclipse-shadow-rift">Shadow of the Rift</a> expansion accumulate damage from their own actions as well as battles with the players. The level of damage is a property of the piece and is represented by placing damage cubes on the counter. In representing this situation the modelling language may not track the individual damage cubes, as they aren’t critical to the state of the game, but rather track the total level of damage of the anomaly as a property.</p><p>As already mentioned in the post on players, pieces can be associated or owned by one player, a set of players or no players.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*BJ03TOp68_Sky6vtUeSMxQ.jpeg" /><figcaption>Fire and Axe Cities and Towns Painted by BGG User takras.</figcaption></figure><p>It should be noted that pieces, like cards, can have hidden information or “sides” that is only available to a subset of the players. Generally this is information on the bottom of a piece. For example in the game <a href="https://boardgamegeek.com/boardgame/12495/fire-axe-viking-saga">Fire and Axe: a Viking Saga</a> the values of the cities you can raid are hidden until you actually encounter and defeat them.</p><p>Well that’s it for pieces, next time I will examine game turn structure.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2655855bb07" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Representing Board Game State — The Players]]></title>
            <link>https://medium.com/@yellekau/representing-board-game-state-the-players-9cc0ce5bb58?source=rss-9f4d6122b4e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/9cc0ce5bb58</guid>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[board-games]]></category>
            <category><![CDATA[game-design]]></category>
            <dc:creator><![CDATA[Peter Kelley]]></dc:creator>
            <pubDate>Tue, 14 Mar 2017 23:39:21 GMT</pubDate>
            <atom:updated>2017-03-22T01:02:01.564Z</atom:updated>
            <content:encoded><![CDATA[<p>This is the third in a series of posts describing a boardgame state modelling language. The previous posts dealt with the <a href="https://medium.com/@yellekau/representing-board-game-state-the-board-a26787011b9f#.58e18d76k">board</a>, the <a href="https://medium.com/@yellekau/representing-board-game-state-the-cards-5a2e938a8736#.iuxwm55z9">cards</a> and the <a href="https://medium.com/@yellekau/representing-board-game-state-the-pieces-c2655855bb07">pieces</a>. This post deals with the players.</p><h4>The Players</h4><p>From one perspective the concept of having players in a boardgame isn’t very interesting from a modelling perspective. You have 1 to many players and that is it. It is only when you start looking at the relationships players have with other game concepts that things get a little more interesting.</p><p>The first concept I want to look at is the concept of “ownership”. Ownership is a relationship that a player has with other game components. This will be important in the future to determine a player’s possible actions when the game state modelling language is extended to a more general game modelling language. Ownership can be of a game component like a card or it can even be of a space on the board.</p><p>For example in the game <a href="https://boardgamegeek.com/boardgame/37111/battlestar-galactica">Battlestar Galactica</a> each player “owns” a set of cards that they can put into challenges. The cards are common between all players but each player has their own set of cards that belong to them. The concept of a “hand” of cards might then be described as “a set of cards that I own in my hand location that are visible only to me”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*p6cI84MjKO3eFyE_nRIR3Q.jpeg" /><figcaption>A Huge Battle in Twilight Imperium 3. Image cortesy BGG user kilroy_locke.</figcaption></figure><p>Another example would be the game <a href="https://boardgamegeek.com/boardgame/12493/twilight-imperium-third-edition">Twilight Imperium 3</a> where each player has a set of ships of their colour that belong to them. Knowing who ships belong to is an important part of the game (are those my ships defending this planet or an invading horde come to take it over).</p><p>The second concept I want to look at is the ways that players can be related to other game components. In most cases the relationship will be from one player to one component but this isn’t always the case. Where there are teams multiple players can be related to components and sometimes multiple different groups of players can be related to different components.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xa46uNb1O4HrARRwF3UqPw.png" /></figure><p>For example in the game <a href="https://boardgamegeek.com/boardgame/75476/inca-empire">Inca Empire</a> (formerly known as <a href="https://boardgamegeek.com/boardgame/11096/tahuantinsuyu">Tahuantinsuyu</a> — you can see why they changed the name!), sun cards are placed between adjacent players so that they affect both players. This means that a player will have one set of cards affecting them and the player on their left and another set of cards affecting them and the player on their right.</p><p>One way to represent this would be to have each component be related to multiple players but that might turn out to be a lot of relationships. Another way to represent this would be to use the concept of a <a href="https://www.mathsisfun.com/sets/power-set.html">“power set”</a>. A power set is a mathematical term for the set of all possible sets of things. For example if we have a set of 3 players [1,2,3] then the power set of players would be all possible combinations of players or [[],[1],[2],[3],[1,2],[1,3],[2,3],[1,2,3]]. Each component could then be related to the particular set of players represented by an entry in the power set. This concept is used extensively in the software architecture modelling language called <a href="http://dodcio.defense.gov/Library/DoDArchitectureFramework/dodaf20_ontology1.aspx">DoDAF</a>.</p><p>Whilst players might not be a terribly interesting concept on its own the relationships of players to things in the game are important in modelling game state.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9cc0ce5bb58" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Representing Board Game State — The Cards]]></title>
            <link>https://medium.com/@yellekau/representing-board-game-state-the-cards-5a2e938a8736?source=rss-9f4d6122b4e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a2e938a8736</guid>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[game-design]]></category>
            <category><![CDATA[modelling]]></category>
            <category><![CDATA[board-games]]></category>
            <category><![CDATA[architecture]]></category>
            <dc:creator><![CDATA[Peter Kelley]]></dc:creator>
            <pubDate>Mon, 13 Mar 2017 04:27:38 GMT</pubDate>
            <atom:updated>2017-03-22T00:59:43.935Z</atom:updated>
            <content:encoded><![CDATA[<p>This is the second in a series of posts describing an idea for a modelling language to represent the state of any board game. Other posts in the series deal with the <a href="https://medium.com/@yellekau/representing-board-game-state-the-board-a26787011b9f#.58e18d76k">board</a>, the <a href="https://medium.com/@yellekau/representing-board-game-state-the-players-9cc0ce5bb58">players</a> and the <a href="https://medium.com/@yellekau/representing-board-game-state-the-pieces-c2655855bb07">pieces</a>.</p><h4>The Cards</h4><p>Cards are an important part of most games and so the boardgame state modelling language needs to have a way of representing them.</p><p>Cards are similar to the spaces described in the <a href="https://medium.com/@yellekau/representing-board-game-state-the-board-a26787011b9f#.h668hbppo">previous post</a> in a number of ways. They will almost always (I can’t think of a counter example) have 2 sides, a front and a back, and each side can have properties assigned (though generally only on the front unless the card is 2 sided). For example a standard 52 card deck will have cards with 2 properties on the front, one of 4 suits and a rank within that suit, and no properties on the back.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A96IFEeGj9ux7YV1AW3n_A.png" /><figcaption>The Card Row in Through the Ages</figcaption></figure><p>Cards, like spaces, can also have relationships with each other. One of the most common forms of relationships is the above/below relationship that cards have in a deck. Another type of relationship is when cards are placed in a line such as in the card row in <a href="https://boardgamegeek.com/boardgame/182028/through-ages-new-story-civilization">Through the Ages</a>.</p><p>Where cards differ from spaces is the fact that they can move around to different locations. For example in <a href="https://boardgamegeek.com/boardgame/36218/dominion">Dominion</a> cards may be in one of a number of “buy” piles in the centre of the table, in a player’s draw deck, in a player’s hand, in a players active area or in a player’s discard deck. Cards move between these different locations during the game.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*cRp8skWvkpGAxVnoFQ00Dg.jpeg" /><figcaption>Dominion Card Stacks. Image courtesy BGG user garyjames</figcaption></figure><p>These locations are, in fact, spaces and so each card, as well as being related to other cards, can have a relationship to a space.</p><p>A space with multiple cards can also have properties associated with it. For example a draw deck will have one card that is “on top”. Theoretically you could determine which card was on top by searching through all of the cards in the deck and finding the one that didn’t have a related “above” card but being able to reference this card directly is such a common operation that I think that this concept warrants inclusion.</p><p>Cards also have the interesting property that the information or properties associated with them may not be “visible” to all of the players in the game. Cards in a face down draw deck are not visible to any player. Cards in a player’s hand are only visible to that player.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*vZMIYp_0l97Di0UkQqZwNQ.jpeg" /><figcaption>Card Holders Used in Ticket to Ride Asia so that Partners can Both See Cards. Image courtesy BGG user saksi.</figcaption></figure><p>There are even cases, such as in <a href="https://boardgamegeek.com/boardgameexpansion/106637/ticket-ride-map-collection-volume-1-team-asia-lege">Ticket to Ride: Asia</a>, where cards are visible to more than 1 player but not to all the players. Visibility of a card does not even have to be an all or nothing proposition. Cards in the game <a href="https://boardgamegeek.com/boardgame/146886/la-granja">La Granja</a> get placed under certain spaces cut out in the player boards so that only part of their information is visible.</p><p>Cards are an important part of representing boardgame state and extend the concept of spaces with concepts such as being placed in a location or space and visibility.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a2e938a8736" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Representing Board Game State — The Board]]></title>
            <link>https://medium.com/@yellekau/representing-board-game-state-the-board-a26787011b9f?source=rss-9f4d6122b4e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/a26787011b9f</guid>
            <category><![CDATA[board-games]]></category>
            <category><![CDATA[game-design]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[modeling]]></category>
            <category><![CDATA[gaming]]></category>
            <dc:creator><![CDATA[Peter Kelley]]></dc:creator>
            <pubDate>Sat, 04 Mar 2017 00:40:05 GMT</pubDate>
            <atom:updated>2017-03-22T01:00:54.718Z</atom:updated>
            <content:encoded><![CDATA[<p>This is part 1 of the series. Other posts in the series deal with the <a href="https://medium.com/@yellekau/representing-board-game-state-the-cards-5a2e938a8736#.f6o2f4com">cards</a>, the <a href="https://medium.com/@yellekau/representing-board-game-state-the-players-9cc0ce5bb58">players</a> and the <a href="https://medium.com/@yellekau/representing-board-game-state-the-pieces-c2655855bb07">pieces</a>.</p><p>I think it should be possible to create a modelling language that is capable of representing ANY boardgame’s state.</p><p>I’m a software/enterprise architect by profession and coming up with models for things is what I do. I also love boardgames so why not combine the two? If I was an academic I could write a paper or thesis on the topic but I’m not so a series of blog posts will have to do.</p><p>Why am I doing this? There are a <a href="https://en.boardgamearena.com/">number</a> of <a href="http://www.yucata.de/en">sites</a> devoted to playing games online as well as tools like <a href="http://www.vassalengine.org/">Vassal</a> devoted to representing games electronically but these are all proprietary formats. Having one game modelling language would make it possible to represent game rules and state once and then make use of that information in a variety of ways. I can imagine all sorts of uses for this data from analysis of game strategies to creating game rule books. Once the data exists in an accessible form the uses of it are only up to imagination.</p><p>Representing game state is only the first step. How players can transform that state according to the rules to play a game is the logical progression from here. I thought I would start with something more manageable to begin with.</p><p>The ideas I have are probably too much for one post so I am going to break this up into a series of posts.</p><h4>The Board</h4><p>A board for a board game is a collection of spaces, nothing more, nothing less.</p><p>Spaces can be related to one another by types of relationships. This is a bit abstract (I did say I was an architect :) ) so here is an example. An important relationship type is adjacency —one space is adjacent to a second space. The reverse may not be true, some games have directed paths. This is what is known in mathematics as a <a href="http://mathinsight.org/definition/directed_graph">directed graph</a>.</p><p>The spaces and their relationships form a set of directed graphs.</p><p>Each space can also have a set of properties to represent information about the game. For example the number of resources a given space pays out in a worker placement game like <a href="https://boardgamegeek.com/boardgame/102794/caverna-cave-farmers">Caverna</a> or whether a given hex has a city on it in <a href="https://boardgamegeek.com/boardgame/17133/railways-world">Railroad Tycoon</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*59G7gjLpf0XdxNOOl5U72g.jpeg" /><figcaption>The Caverna Board</figcaption></figure><p><a href="https://boardgamegeek.com/boardgame/17133/railways-world">Railroad Tycoon</a> brings up the idea that a given space can have “sides” and that properties or relationships may not apply to a space as a whole but rather only to specific sides.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*Ai7oYtjkqplUIQja141GYQ.jpeg" /><figcaption>Track Building near Chicago in Railroad Tycoon</figcaption></figure><p>In Railroad Tycoon a given hex may have a river that flows through the hex between 2 or 3 sides (for river junctions). The configuration of those river sides is a consideration in determining how much it costs to build track in that hex. The track itself changes the relationships of each space. One space is connected to another by a relationship type that could be called track adjacency but that relationship only applies to a specific side in each hex. This doesn’t affect the game play in Railroad Tycoon, if track is connected that is all you need to know, but in other games the relationships will be affected by the properties of the side.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*plZ1nq9x1ySueHIGjRYrEg.jpeg" /><figcaption>The Board in the Early Stages of an Eclipse Game</figcaption></figure><p>In some games, like <a href="https://boardgamegeek.com/boardgame/72125/eclipse">Eclipse</a>, the board is formed up of tiles and the board grows as the game progresses. At any point, though, the board consists of spaces with relationships (e.g full or half wormhole connections), properties (e.g. planets) and sides (the 6 sides of the hex).</p><p>This is the bare bones of the idea that I think can be generalised to just about any game. The only exception I can see at the moment are games with a physical element such as miniatures or dexterity games. If you know a game that you think can’t be represented in this way leave a comment. I’ll either refine the modelling language or figure out a way to represent it.</p><p>Images courtesy of <a href="http://boardgamegeek.com/">http://boardgamegeek.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a26787011b9f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Modelling With Archimate 3: Event Based SOA]]></title>
            <link>https://medium.com/@yellekau/modelling-with-archimate-3-event-based-soa-a17916184426?source=rss-9f4d6122b4e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/a17916184426</guid>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[archimate]]></category>
            <category><![CDATA[enterprise-architecture]]></category>
            <dc:creator><![CDATA[Peter Kelley]]></dc:creator>
            <pubDate>Sun, 13 Dec 2015 23:38:06 GMT</pubDate>
            <atom:updated>2015-12-13T23:53:43.715Z</atom:updated>
            <content:encoded><![CDATA[<p>For more stories on Archimate, including the previous stories in this series follow <a href="https://medium.com/tag/archimate">this link</a>.</p><p>The customer I am currently working for follows an event based SOA pattern where services signal events to topics and other services subscribe to those topics in order to process the events. This is achieved by each service having an inbound and outbound queue which is connected to an ESB.</p><p>How do we model this in Archimate?</p><p>For the purposes of this post I am only going to show the application layer. This means that the ESB won’t appear as it is modeled as an infrastructure service. For an excellent way to model the infrastructure layer see <a href="http://masteringarchimate.com/2015/05/24/reusable-infrastructure-modelling-patterns-2/">this post</a> by Gerben Wierda, the author of <a href="http://masteringarchimate.com/mastering-archimate-edition-ii/">Mastering Archimate</a>. I am also going to concentrate on the structural aspects as the task at hand is to analyse the application interfaces.</p><p>The two scenarios I am going to cover are fire and forget and request response, two common SOA patterns. In fire and forget, service 1 is going to put a message on it’s outbound queue tagged with the “Fire and Forget” topic. The ESB is going to pick that message up and deliver it to the inbound queue of service 2. In request response the event message will be sent to service 2 as before but service 2 will put a response event on its outbound queue which the ESB will deliver back to the inbound queue of service 1.</p><p>I model the intermediary structural connections as application collaboration elements. This is because neither of the services necessarily knows which other services will receive their events and which other services will place events on their inbound queues. This means that the connection between the service application components is more or less transient so an application collaboration is appropriate. I do, however, want to show the structural connection between the application collaborations and the inbound and outbound queues so I can analyse dependencies in the model so I draw Used By relationships between the queue interfaces and the collaborations.</p><p>Here is my example diagram:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YkgXmYprN7sM1Bo0WqfuPA.png" /></figure><p>If you place the application collaboration components along the central horizontal axis of your diagram it can fit with the traditional diagrammatic representation of an ESB as a horizontal bar. I have been known to use grouping relationships around the collaborations do drive this point home to readers of the diagram. Also note that each collaboration can represent a topic on the ESB which can serve as a reference to create those topics at implementation time. Conversely if you have the capability to import your ESB configuration into your architecture tool programmatically you can create the collaborations from the topic structure automatically.</p><p>Hopefully this will give you some ideas as to how you can represent SOA in your architecture.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a17916184426" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Modelling with Archimate 2: File Interfaces]]></title>
            <link>https://medium.com/@yellekau/modelling-with-archimate-2-file-interfaces-bc8ae65138f5?source=rss-9f4d6122b4e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc8ae65138f5</guid>
            <category><![CDATA[enterprise-architecture]]></category>
            <category><![CDATA[archimate]]></category>
            <category><![CDATA[modeling]]></category>
            <dc:creator><![CDATA[Peter Kelley]]></dc:creator>
            <pubDate>Wed, 09 Dec 2015 00:39:49 GMT</pubDate>
            <atom:updated>2015-12-10T22:16:07.708Z</atom:updated>
            <content:encoded><![CDATA[<p>This is the second in a series of posts regarding the use of the <a href="http://pubs.opengroup.org/architecture/archimate2-doc/toc.html">Archimate</a> Modelling Language. For more posts on Archimate including the other posts in this series click <a href="https://medium.com/tag/archimate">here</a>.</p><p>This post is about file interfaces. Specifically about a process where a script dumps a file in a directory which is then read at a later time by an application. Here is the situation we are trying to model:</p><p>A downloader script logs into a bank interface and retrieves payment transactions made by customers. It then writes these transactions into a directory. The receipting application then reads the transactions from the file and imports them.</p><p>One way of modelling this in Archimate is as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KNmCvKPawSFIjDy5fPiEfg.png" /><figcaption>File Interface</figcaption></figure><p>A few points:</p><ul><li>The “bank to receipting file interface” Application Collaboration is used instead of an interface owned by the receipting application because there isn’t an interface that could be used to represent the structural dependency. The receipting application doesn’t offer an interface to it’s environment and the bank downloader script doesn’t care if the receipting application isn’t available.</li><li>The file interface isn’t shown because that is an infrastructure service and this is an application level diagram.</li><li>There is no Application Service associated with the Receipting Application because the receipting application doesn’t offer anything to its environment, it simply goes and collects the files.</li></ul><p>I don’t like this model and here’s why:</p><ul><li>If I am trying to query the dependencies between applications at a structural level I need to query both the “Used By” relationships and the “Aggregation” relationships from the collaboration.</li><li>I have to model down to the application function level in order to show the interfaces and data flows. I would much rather show flows at the Application Service level between applications.</li><li>The collaboration seems very artificial and jarring but there really isn’t an application level construct I can use to show the data flowing between the applications.</li></ul><p>Here are two of alternatives that we tried and rejected to solve this problem:</p><ul><li>Model application services at both ends of the interface. This ended up just plain weird with the necessity to create application interfaces and services for behaviour/active structure that was never called by an outside entity.</li><li>Model the dependencies only at the infrastructure level and leave them off the application level viewpoints. This is possibly the most correct view of the problem however it makes analysis of application dependencies much more difficult, requiring the traversal of many more relationship types and the parsing of patterns in those relationships rather than looking at them directly. This also means that application layer diagrams aren’t showing the whole picture.</li></ul><p>This is what we ended coming up with:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wf4zBA754FZQNxiblOajqA.png" /></figure><p>The file interface is nominally owned by the receiving application (even though it isn’t in reality) which then lets us show the dependency clearly. We do need to model a function on the sending side but we are already modeling active structure at that level with the application component so adding the behaviour performed by the component isn’t a huge stretch.</p><p>This isn’t a perfect solution but it is the best of a bad lot for us. Other teams may make different decisions using one of the other patterns I have mentioned.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc8ae65138f5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Modelling With Archimate 1: One Service or Many]]></title>
            <link>https://medium.com/@yellekau/modelling-with-archimate-1-one-service-or-many-1a43e2bbdd91?source=rss-9f4d6122b4e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/1a43e2bbdd91</guid>
            <category><![CDATA[archimate]]></category>
            <category><![CDATA[enterprise-architecture]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Peter Kelley]]></dc:creator>
            <pubDate>Wed, 09 Dec 2015 00:05:36 GMT</pubDate>
            <atom:updated>2015-12-09T00:05:36.367Z</atom:updated>
            <content:encoded><![CDATA[<p>For my daily work I have been modelling architecture for one of our customers using the <a href="http://pubs.opengroup.org/architecture/archimate2-doc/">Archimate</a> notation. As our understanding of how to model with Archimate matures we have come up with a number of patterns that we use to deal with certain situations. This is the first in a series of posts where I will either answer or ask a question relating to a problem we have run into.</p><p>Take the following situation: You are modelling an SOA service that has a number of operations. Do you:</p><ol><li>Create a single application service component and model the operations as application functions or</li><li>Create one application service for each operation?</li></ol><p>The answer is 2 and to explain why here is an example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Iq-zgVkB3GrRT-j5D5W32Q.png" /><figcaption>Multiple Application Services</figcaption></figure><p>Notice on the diagram that there are two application functions, one realizing two application services and one realizing one application service. These are the functional areas of your application. If you use application functions to represent service operations you lose these semantics. You lose the ability to group related services and show the functional structure of your application, which is the purpose of application functions.</p><p>Note: this post was prompted by a <a href="http://www.linkedin.com/groups/50758/50758-6075837425370808320">discussion on the LinkedIn Archimate Group</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1a43e2bbdd91" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Round Tripping Between Sparx EA and Visio]]></title>
            <link>https://medium.com/@yellekau/round-tripping-between-sparx-ea-and-visio-a52f3d808617?source=rss-9f4d6122b4e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/a52f3d808617</guid>
            <dc:creator><![CDATA[Peter Kelley]]></dc:creator>
            <pubDate>Wed, 08 Apr 2015 02:18:57 GMT</pubDate>
            <atom:updated>2015-04-08T02:18:57.782Z</atom:updated>
            <content:encoded><![CDATA[<p>There is one main problem with Sparx Enterprise Architect (at least the version I have access to): The diagrams it produces, whilst technically correct, are incredibly ugly. Visio on the other hand is excellent at producing really good looking diagrams but it does not capture the underlying semantics of the model. Up till now I have just opted for Sparx when modeling was important and Visio for one off diagrams but I have found a way to have both.</p><p>I will assume that you have a Sparx EA model that you want to generate a professional looking diagram from. Right click on the package that you want to export, select Import/Export and then CSV Import/Export. Next to specification click Edit/New to go to the CSV Import/Export specification dialog:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/494/1*4MJqejC73lTowupurtmqEw.jpeg" /><figcaption>Sparx EA CSV Import/Export Specification Dialog</figcaption></figure><p>Most of the fields are self explanatory but there are a few things to note:</p><ul><li>You will need to select GUID as one of the fields you export. This is how Sparx and Visio keep track of the identity of the model element you are exporting.</li><li>You can use default types to ensure that only a certain type of element is exported. For example if you are working with class elements put class here.</li><li>Most often you will want to specify name and notes as fields you export.</li><li>If you have tagged values you need to export then use Add Tagged Value Field to add them to the specification.</li></ul><p>Save your specification, make sure export is selected and then click run.</p><p>Now because Visio is a Microsoft tool it works with, you guessed it Excel. Open up your CSV file in Excel and save it as an excel workbook.</p><p>Now to Visio: Open up Visio and create a new diagram. Create a shape that you want to use to hold the data and format it as you would like it to appear. For my purposes I have used rounded rectangles but any Visio shape will work. Don’t put any text in it, that comes later.</p><p>Now you want to go to the Data tab. Click on Link Data To Shapes and follow the prompts to select your excel spreadsheet. There should only be 1 worksheet at this point so select that. Next the Data Selector dialog comes up:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/495/1*QE_L4JOU1qbd_L21UoJ2ZA.jpeg" /><figcaption>The Visio Data Selector Dialog</figcaption></figure><p>Click Select columns and select the columns you want. Make sure you include the GUID column — this is how Visio knows which data to refresh when you update the spreadsheet. Visio will then prompt you to select a unique identifier. If the GUID isn’t selected already then select it and click Finish.</p><p>Visio should now display an additional window at the bottom of your drawing with your data. Grab one of the rows and drag it onto the shape you created earlier. Two things should happen. Firstly the data row should display a little link icon next to it to indicate that this data row is linked to a shape. Secondly, and more importantly, Visio will now display your data in its default Data Graphic style next to your shape. Most often this won’t be the formatting you want so you will need to edit it.</p><p>Select your shape and then from the Data tab on the ribbon select Data Graphics and Edit Data Graphic. This should bring up the following dialog:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/532/1*n08qDYTB0jDPooTSo6Fe5Q.jpeg" /></figure><p>You will probably want to play with the settings here for a while until you get it right but here are a few pointers.</p><p>New Item will let you add fields from your data. Edit Item will let you change the way an item is displayed (more on this later). The default position lets you specify where the data will appear. Data items that occupy the same position will stack by default. I generally want this to be center and top or center and middle.</p><p>Select one of the items and click edit Item… . This will bring up the following dialog:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/569/1*ixwRIOeNh7xo8e9qnUN9Rg.jpeg" /></figure><p>Position lets you override the default position for this field. I generally want to display things as text and I find that the heading styles are closer to what I want than the text callouts which are the default. The horizontal and vertical offsets let you move the field around from where it would normally be but remember that Visio will stack fields in the same location vertically if there is more than 1. Play around with the other fields until you have everything working to your liking.</p><p>Once you have done this duplicate your shape by cut and paste and then drag other data rows onto each shape to link it. Changes to the formatting won’t affect the link so format shapes as needed. You can also link the same data row to multiple shapes and create multiple data graphics if you need different formatting.</p><p>If the data from the spreadsheet changes you can right click on the data list and select Refresh Data to update your shapes. Only the data graphics will change, not the formatting.</p><p>But didn’t I promise round tripping? Well the key to this is the spreadsheet. Updates to the spreadsheet can be carried through into the Visio drawing by refreshing the data. Similarly updates to the spreadsheet can be imported back into Sparx EA by saving the spreadsheet as a CSV file over the top of the original export filoe and then following the same process for export except selecting the import radio button instead of export. I suggest that you create a baseline in Sparx for the package you are importing into before you do it just in case something goes wrong.</p><p>Not only that you can add data columns to the CSV file and then import them as tagged values into Sparx EA by editing the import/export specification. Bear in mind that the Sparx EA import is position dependent so make sure the columns in the specification are in the same order as the CSV file.</p><p>So that’s how you round trip between Sparx EA and Visio using Excel.</p><p>Note: I am using Sparx EA version 10.0 and Visio 2010 but I don’t imagine that other versions will differ greatly.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a52f3d808617" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Cost Ideaology?]]></title>
            <link>https://medium.com/@yellekau/what-cost-ideaology-711f19fc10f3?source=rss-9f4d6122b4e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/711f19fc10f3</guid>
            <dc:creator><![CDATA[Peter Kelley]]></dc:creator>
            <pubDate>Tue, 27 May 2014 01:03:45 GMT</pubDate>
            <atom:updated>2014-05-27T01:03:45.177Z</atom:updated>
            <content:encoded><![CDATA[<h4>What is the federal budget going to mean for a generation of Australians?</h4><p>Imagine you are under 30 and lose your job. Imagine you have been living hand to mouth because the reduced minimum wage barely covers the rent. Imagine you are not physically that well because the food you could afford isn’t all that nutritious. Imagine that you don’t have family that are willing or able to support you financially. Now imagine that you face 6 months without income of any kind.</p><p>Pretty soon your landlord is going to notice that the rent payments are behind. You sell some things at Cash Converters for 50 cents on the dollar but it isn’t enough. You try looking for work but you sold the computer and you can’t afford internet anyway. The Centrelink office provides assistance to look for jobs but you need to be able to afford the bus fare to get there. The employment provider can give you $11 to pay bus fares to get to job interviews but how do you contact them when you had to sell your phone and can’t afford the bill. You get evicted from your unit and things get worse from there.</p><p>You miss a job interview, and then another. You were too weak to walk anywhere. Your clothes are starting to smell really bad which doesn’t help for the interviews you can turn up to. Refuge places are really hard to come by because of all the people in similar situations. You get breached because you “aren’t fulfilling your obligations”. Your eligibility for unemployment benefits goes further into the future. Things get worse.</p><p>OK so this story is fictional but not that far from the realms of possibility. Think about what getting caught in this sort of poverty trap is going to do for someone’s ability to work long term? Statistics show that if someone is out of work for 6 months or more that their chances of finding a job drop dramatically. If you are homeless your chances of finding a job in 6 months are pretty low in the first place.</p><p>What are the chances of people caught in these situations being able to contribute meaningfully to the tax base and to economic growth? Why does this make economic sense when the cost to the health and welfare sectors of supporting the poor will increase? Let alone the moral implications.</p><p>I like to think of Australia as the land of a fair go. A place where if you put the effort in you can make a difference in your life. Poverty traps are the opposite of this where the hurdles put in place to climb out of poverty are so high that very few surmount them.</p><p>Don’t get me wrong I’m in favour of winding back welfare to those who don’t need it. Those on decent income don’t need government support. There were some things we did back in the Howard years that we shouldn’t have done. We need to correct the budget deficit now that the mining boom has ended and we have made long term spending committments that we shouldn’t have.</p><p>What I’m not in favour of is cutting back on necessary welfare that helps people get back on their feet when they have fallen on hard times and helps them contribute to our society. I’m especially not in favour of doing this when welfare like the superannuation tax concession is being given to high income earners that can easily afford to miss out.</p><p>Go back to the imagined scenario above and now imagine the same with 2 kids.</p><p>What are we doing to our society if we think that this sort of thing is OK?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=711f19fc10f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>