<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: What is bothering you about Cairngorm?</title>
	<atom:link href="http://www.herrodius.com/blog/152/feed" rel="self" type="application/rss+xml" />
	<link>http://www.herrodius.com/blog/152</link>
	<description>Thoughts from a software developer</description>
	<lastBuildDate>Fri, 12 Mar 2010 14:56:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dirk Stevens</title>
		<link>http://www.herrodius.com/blog/152/comment-page-1#comment-13705</link>
		<dc:creator>Dirk Stevens</dc:creator>
		<pubDate>Sat, 25 Oct 2008 21:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/152#comment-13705</guid>
		<description>Forget my previous comment - I just saw the link.</description>
		<content:encoded><![CDATA[<p>Forget my previous comment &#8211; I just saw the link.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dirk Stevens</title>
		<link>http://www.herrodius.com/blog/152/comment-page-1#comment-13704</link>
		<dc:creator>Dirk Stevens</dc:creator>
		<pubDate>Sat, 25 Oct 2008 21:24:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/152#comment-13704</guid>
		<description>Interesting how that Cairngorm update Steven Promised us in August does not seem to be there?  Or maybe I overlooked it when searching on &quot;Cairngorm&quot; on blogs.adobe.com ?</description>
		<content:encoded><![CDATA[<p>Interesting how that Cairngorm update Steven Promised us in August does not seem to be there?  Or maybe I overlooked it when searching on &#8220;Cairngorm&#8221; on blogs.adobe.com ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lieven Cardoen</title>
		<link>http://www.herrodius.com/blog/152/comment-page-1#comment-13638</link>
		<dc:creator>Lieven Cardoen</dc:creator>
		<pubDate>Fri, 22 Aug 2008 08:42:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/152#comment-13638</guid>
		<description>Christophe, 

Have been flexing again and one of the biggest issues I have with Cairngorm or with the pattern is that my command is somehow slave of the view for which it is made. If a Command alters a model that is binded to a certain view, then the Commmand is actually changing the view. It doesn&#039;t seem right. If another part of the application would use the command, then this view would also be changed... The Command should really notify the view that triggered the Command...

Are there articles on this because surely I&#039;m not the first one with this issue...

Yow, Lieven Cardoen</description>
		<content:encoded><![CDATA[<p>Christophe, </p>
<p>Have been flexing again and one of the biggest issues I have with Cairngorm or with the pattern is that my command is somehow slave of the view for which it is made. If a Command alters a model that is binded to a certain view, then the Commmand is actually changing the view. It doesn&#8217;t seem right. If another part of the application would use the command, then this view would also be changed&#8230; The Command should really notify the view that triggered the Command&#8230;</p>
<p>Are there articles on this because surely I&#8217;m not the first one with this issue&#8230;</p>
<p>Yow, Lieven Cardoen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lieven Cardoen</title>
		<link>http://www.herrodius.com/blog/152/comment-page-1#comment-13631</link>
		<dc:creator>Lieven Cardoen</dc:creator>
		<pubDate>Sun, 17 Aug 2008 11:40:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/152#comment-13631</guid>
		<description>I just read &lt;a href=&quot;http://weblogs.macromedia.com/swebster/archives/2006/08/why_i_think_you.html&quot; rel=&quot;nofollow&quot;&gt;http://weblogs.macromedia.com/swebster/archives/2006/08/why_i_think_you.html&lt;/a&gt; and &lt;a href=&quot;http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html&quot; rel=&quot;nofollow&quot;&gt;http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html&lt;/a&gt; from Steven and I think they summarize the whole discussion about Cairngorm. I think that if you start programming it&#039;s more interesting to program some design patterns your own instead of using frameworks like Cairngorm. In my opinion Cairngorm is often just overkill and used in projects where it really isn&#039;t necessary to be used. If you have customers and deadlines, then finding a balance between rapid development and good code (using for instance frameworks) is very important.

If you are a good programmer and analist, then you need to be eager to learn design patterns, frameworks, other languages, ... but more important learn when to use them and when not to use them.

@Herre: Thx for the sweet words on SminkedIn! You in Kortrijk Tuesday @ 12 o&#039;clock? Belguim - Nigeria... We&#039;re still looking for a TV...

Cheerio!</description>
		<content:encoded><![CDATA[<p>I just read <a href="http://weblogs.macromedia.com/swebster/archives/2006/08/why_i_think_you.html" rel="nofollow">http://weblogs.macromedia.com/swebster/archives/2006/08/why_i_think_you.html</a> and <a href="http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html" rel="nofollow">http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html</a> from Steven and I think they summarize the whole discussion about Cairngorm. I think that if you start programming it&#8217;s more interesting to program some design patterns your own instead of using frameworks like Cairngorm. In my opinion Cairngorm is often just overkill and used in projects where it really isn&#8217;t necessary to be used. If you have customers and deadlines, then finding a balance between rapid development and good code (using for instance frameworks) is very important.</p>
<p>If you are a good programmer and analist, then you need to be eager to learn design patterns, frameworks, other languages, &#8230; but more important learn when to use them and when not to use them.</p>
<p>@Herre: Thx for the sweet words on SminkedIn! You in Kortrijk Tuesday @ 12 o&#8217;clock? Belguim &#8211; Nigeria&#8230; We&#8217;re still looking for a TV&#8230;</p>
<p>Cheerio!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arnoud</title>
		<link>http://www.herrodius.com/blog/152/comment-page-1#comment-13627</link>
		<dc:creator>Arnoud</dc:creator>
		<pubDate>Mon, 11 Aug 2008 23:41:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/152#comment-13627</guid>
		<description>Hi, i agree on most of the posts above. Therefor on the project we use right now we combined prana and um cairngorm.
We wrote our own &quot;bridge&quot; wich basically extends som um cairngorm classes and we borrowed some nce concepts from them to create our own frontcontrolle/modulecontroller. I really like prana but the cairngorm extensions included are overly complex imho.

to summarise:
- use prana for creating commands/models/delegates/services/command-event mappings
- no more service locator
- no more modellocator
- inject model/delegate into command constructor
- inject service into delegate
- populate frontcontroller via prana
and make use of the event generators of um cairngorm as well as the callback mechanism to the views. Let prana manage the object ifecyles (no more crappy code for singletons whohooo!)

all set! A nice clean approach :-)

now we have the basic architecture running we have to thourougly test it, but it seems to work very nice!

Christophe, we mailed before about prana. If the project goes on and the people i work for allow me i&#039;ll show you some code. Maybe i can then finally contribute to prana...

keep up the good work!</description>
		<content:encoded><![CDATA[<p>Hi, i agree on most of the posts above. Therefor on the project we use right now we combined prana and um cairngorm.<br />
We wrote our own &#8220;bridge&#8221; wich basically extends som um cairngorm classes and we borrowed some nce concepts from them to create our own frontcontrolle/modulecontroller. I really like prana but the cairngorm extensions included are overly complex imho.</p>
<p>to summarise:<br />
- use prana for creating commands/models/delegates/services/command-event mappings<br />
- no more service locator<br />
- no more modellocator<br />
- inject model/delegate into command constructor<br />
- inject service into delegate<br />
- populate frontcontroller via prana<br />
and make use of the event generators of um cairngorm as well as the callback mechanism to the views. Let prana manage the object ifecyles (no more crappy code for singletons whohooo!)</p>
<p>all set! A nice clean approach <img src='http://www.herrodius.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>now we have the basic architecture running we have to thourougly test it, but it seems to work very nice!</p>
<p>Christophe, we mailed before about prana. If the project goes on and the people i work for allow me i&#8217;ll show you some code. Maybe i can then finally contribute to prana&#8230;</p>
<p>keep up the good work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wael Jammal</title>
		<link>http://www.herrodius.com/blog/152/comment-page-1#comment-13625</link>
		<dc:creator>Wael Jammal</dc:creator>
		<pubDate>Mon, 11 Aug 2008 12:40:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/152#comment-13625</guid>
		<description>I found it to be good for most things, but I solved all my issues by extending it to create my own framework that I called CSK. Now it does everything I want it to do :)

Why wait for someone else to do it :) Adobe provided us with a good slim framework but it&#039;s not for everyone and it might not be perfect but there is nothing stopping anyone from making it better for your needs.</description>
		<content:encoded><![CDATA[<p>I found it to be good for most things, but I solved all my issues by extending it to create my own framework that I called CSK. Now it does everything I want it to do <img src='http://www.herrodius.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Why wait for someone else to do it <img src='http://www.herrodius.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Adobe provided us with a good slim framework but it&#8217;s not for everyone and it might not be perfect but there is nothing stopping anyone from making it better for your needs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christoph Atteneder</title>
		<link>http://www.herrodius.com/blog/152/comment-page-1#comment-13622</link>
		<dc:creator>Christoph Atteneder</dc:creator>
		<pubDate>Thu, 07 Aug 2008 12:22:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/152#comment-13622</guid>
		<description>Hi,

I used both pureMVC and Cairngorm in multiple projects. It worked ok, but we decided to build our own layered architecture which fits much better our needs.
Problems I have with Cairngorm: - Commands(Transaction Scripts). This approach works fine if your application doesn´t get to big. As soon as you have 20+ Event Command pairs automatically, especially in big teams, code is duplicated and spread out over multiple not well structured classes immediately. Singletons, ModelLocator classes and so on -&gt; They are absolutly not the right patterns if you need to implement unit tests and have to be quality focused in your development. Especially if you have quite big rich clients a more domain driven approach is more suitable at least for our cases. A clean speration of your concerns (e.g. presentation layer, domain layer, infrastructure layer) also will help you a lot when developing in big teams (5+). We are currently working in a team of 12 Flex-Developers and this approach already saved us lot of time and troubles during development. Just my 2 cent on this :-)</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I used both pureMVC and Cairngorm in multiple projects. It worked ok, but we decided to build our own layered architecture which fits much better our needs.<br />
Problems I have with Cairngorm: &#8211; Commands(Transaction Scripts). This approach works fine if your application doesn´t get to big. As soon as you have 20+ Event Command pairs automatically, especially in big teams, code is duplicated and spread out over multiple not well structured classes immediately. Singletons, ModelLocator classes and so on -&gt; They are absolutly not the right patterns if you need to implement unit tests and have to be quality focused in your development. Especially if you have quite big rich clients a more domain driven approach is more suitable at least for our cases. A clean speration of your concerns (e.g. presentation layer, domain layer, infrastructure layer) also will help you a lot when developing in big teams (5+). We are currently working in a team of 12 Flex-Developers and this approach already saved us lot of time and troubles during development. Just my 2 cent on this <img src='http://www.herrodius.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Webster</title>
		<link>http://www.herrodius.com/blog/152/comment-page-1#comment-13620</link>
		<dc:creator>Steven Webster</dc:creator>
		<pubDate>Wed, 06 Aug 2008 12:18:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/152#comment-13620</guid>
		<description>Christophe; here&#039;s the announce I promised.... :-)    Be sure to follow the link to Alistair&#039;s blog as well.

http://weblogs.macromedia.com/swebster/archives/2008/08/cairngorm_3_-_a.html

Hopefully this will give some sense of what has been going on; we&#039;ve been taking a step backwards so we can take many steps forward in collaboration with the community.  We&#039;ve been engaged with the guys at Universal Mind, with Eric&#039;s AIR extensions, and with numerous customers and partners who also want some mechanism by which they can engage more directly in the direction of Cairngorm, and opensource.adobe.com was the obvious platform upon which we could achieve this.

We hear you.  We really do</description>
		<content:encoded><![CDATA[<p>Christophe; here&#8217;s the announce I promised&#8230;. <img src='http://www.herrodius.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />     Be sure to follow the link to Alistair&#8217;s blog as well.</p>
<p><a href="http://weblogs.macromedia.com/swebster/archives/2008/08/cairngorm_3_-_a.html" rel="nofollow">http://weblogs.macromedia.com/swebster/archives/2008/08/cairngorm_3_-_a.html</a></p>
<p>Hopefully this will give some sense of what has been going on; we&#8217;ve been taking a step backwards so we can take many steps forward in collaboration with the community.  We&#8217;ve been engaged with the guys at Universal Mind, with Eric&#8217;s AIR extensions, and with numerous customers and partners who also want some mechanism by which they can engage more directly in the direction of Cairngorm, and opensource.adobe.com was the obvious platform upon which we could achieve this.</p>
<p>We hear you.  We really do</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christophe</title>
		<link>http://www.herrodius.com/blog/152/comment-page-1#comment-13619</link>
		<dc:creator>Christophe</dc:creator>
		<pubDate>Wed, 06 Aug 2008 07:28:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/152#comment-13619</guid>
		<description>Thanks all for commenting. I have briefly looked at the UM extensions and will certainly investigate them further.

@Steven: I&#039;m very curious about what you have to announce. Don&#039;t keep us waiting too long ;-) My intention was not to start an &quot;is evil&quot; or &quot;sucks&quot; discussion, but I was merely using these terms to show how easily some developers ignore Cairngorm without really being able to argument why. In some cases I found that they actually know very little about the framework and that is what brought me to this post.

In general I agree with most of the issues that were mentioned here in the comments since I have dealt with them too and wrote a set of extensions myself to handle them. That&#039;s why I find it strange that since so many people are having the same issues (and I think AC has these issues as well), there is no real answer coming from AC directly that offers a solution to these problems.

I wonder if there is any dialogue between the folks at Adobe Consulting and the UM team to see if some of the extensions can be incorporated into Cairngorm. My overall feeling is that although Cairngorm is opensource and there might be reaction from AC to the questions asked, the suggestions made about &quot;improving&quot; the framework often do not lead to action and that is I think what bothers me the most. With all do respect, but to me AC is too defensive about changing Cairngorm and that is what causes people to write and release their own extensions, or even start new frameworks. I&#039;m certainly not saying that every little extension should be incorporated since it will only lead to a wildgrowth, but at least an effort should be made to engage some members of the community and let them have their say. I thought there was a Cairngorm Advisory Committee, but I don&#039;t know if it still exists.</description>
		<content:encoded><![CDATA[<p>Thanks all for commenting. I have briefly looked at the UM extensions and will certainly investigate them further.</p>
<p>@Steven: I&#8217;m very curious about what you have to announce. Don&#8217;t keep us waiting too long <img src='http://www.herrodius.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  My intention was not to start an &#8220;is evil&#8221; or &#8220;sucks&#8221; discussion, but I was merely using these terms to show how easily some developers ignore Cairngorm without really being able to argument why. In some cases I found that they actually know very little about the framework and that is what brought me to this post.</p>
<p>In general I agree with most of the issues that were mentioned here in the comments since I have dealt with them too and wrote a set of extensions myself to handle them. That&#8217;s why I find it strange that since so many people are having the same issues (and I think AC has these issues as well), there is no real answer coming from AC directly that offers a solution to these problems.</p>
<p>I wonder if there is any dialogue between the folks at Adobe Consulting and the UM team to see if some of the extensions can be incorporated into Cairngorm. My overall feeling is that although Cairngorm is opensource and there might be reaction from AC to the questions asked, the suggestions made about &#8220;improving&#8221; the framework often do not lead to action and that is I think what bothers me the most. With all do respect, but to me AC is too defensive about changing Cairngorm and that is what causes people to write and release their own extensions, or even start new frameworks. I&#8217;m certainly not saying that every little extension should be incorporated since it will only lead to a wildgrowth, but at least an effort should be made to engage some members of the community and let them have their say. I thought there was a Cairngorm Advisory Committee, but I don&#8217;t know if it still exists.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shinchi</title>
		<link>http://www.herrodius.com/blog/152/comment-page-1#comment-13618</link>
		<dc:creator>Shinchi</dc:creator>
		<pubDate>Wed, 06 Aug 2008 01:42:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/152#comment-13618</guid>
		<description>As much as I love Cairngorm for its simplicity, there are of course, a few pitfalls to it compared to PureMVC. 

The most obvious issue will be updating the view from command by using only state variables. Although that can be a double edged sword as there are times when it works very well and times when not. 

However, on the overall, I still prefer Cairngorm for now over PureMVC, for simplicity sake.</description>
		<content:encoded><![CDATA[<p>As much as I love Cairngorm for its simplicity, there are of course, a few pitfalls to it compared to PureMVC. </p>
<p>The most obvious issue will be updating the view from command by using only state variables. Although that can be a double edged sword as there are times when it works very well and times when not. </p>
<p>However, on the overall, I still prefer Cairngorm for now over PureMVC, for simplicity sake.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
