/customers/iconara.net/iconara.net/httpd.www/blog/wp-content/plugins/wp-super-cache/wp-cache-phase1.php Warning: Cannot modify header information - headers already sent by (output started at /customers/4/c/9/iconara.net/httpd.www/blog/wp-content/advanced-cache.php:1) in /customers/4/c/9/iconara.net/httpd.www/blog/wp-includes/feed-rss2-comments.php on line 8 Comments on: Architectural Atrocities, part 9: Cairngorm’s Model Locator pattern http://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairngorms-model-locator-pattern/ Thu, 05 Jul 2012 13:41:39 +0000 hourly 1 http://wordpress.org/?v=3.0 By: Flex MVC Frameworks « « Programmers Goodies Programmers Goodies http://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairngorms-model-locator-pattern/comment-page-2/#comment-8566 Flex MVC Frameworks « « Programmers Goodies Programmers Goodies Mon, 04 Jul 2011 11:49:53 +0000 http://blog.iconara.net/?p=181#comment-8566 <p>[...] that are tightly coupled to global variables. Nuff said (but if you’re interested, here are some more of my thoughts, and here [...]</p> [...] that are tightly coupled to global variables. Nuff said (but if you’re interested, here are some more of my thoughts, and here [...]

]]>
By: Learning Cairngorm 3, Part III: Some fiddling, some architecture « journeysinflexland http://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairngorms-model-locator-pattern/comment-page-2/#comment-8506 Learning Cairngorm 3, Part III: Some fiddling, some architecture « journeysinflexland Sat, 29 Jan 2011 06:59:43 +0000 http://blog.iconara.net/?p=181#comment-8506 <p>[...] only question now is where to put it. In Cairngorm 2, I’d just create a ModelLocator subclass and put the loggedInUser variable in there. I’d do this thinking “what a [...]</p> [...] only question now is where to put it. In Cairngorm 2, I’d just create a ModelLocator subclass and put the loggedInUser variable in there. I’d do this thinking “what a [...]

]]>
By: Iconara » Quoted in “Professional Cairngorm” http://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairngorms-model-locator-pattern/comment-page-2/#comment-8011 Iconara » Quoted in “Professional Cairngorm” Sat, 12 Dec 2009 18:39:24 +0000 http://blog.iconara.net/?p=181#comment-8011 <p>[...] in a book with the (contradictory) title Professional Cairngorm. It’s the now (in)famous Architectural Atrocities 9: Cairngorm’s Model Locator Pattern again. It’s not the best quote to take from that post, but beggars can’t be [...]</p> [...] in a book with the (contradictory) title Professional Cairngorm. It’s the now (in)famous Architectural Atrocities 9: Cairngorm’s Model Locator Pattern again. It’s not the best quote to take from that post, but beggars can’t be [...]

]]>
By: martzobg http://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairngorms-model-locator-pattern/comment-page-2/#comment-7773 martzobg Thu, 19 Feb 2009 15:01:44 +0000 http://blog.iconara.net/?p=181#comment-7773 <p>I think cairngorm side by side with spring as sounds like a pretty good solution. What do you think? ;)</p> I think cairngorm side by side with spring as sounds like a pretty good solution. What do you think? ;)

]]>
By: Newton http://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairngorms-model-locator-pattern/comment-page-2/#comment-7753 Newton Fri, 06 Feb 2009 11:24:26 +0000 http://blog.iconara.net/?p=181#comment-7753 <p>Hi, I am not a regular user of CG yet..I used to keep my code very simple by using simple design patterns. I just looked in to their classes & interfaces as well as the example files.. To some extent I am with you( when you mention about the ModelLocator). I really not in support of making the model to be a singleton. But some times it's helpful & I am happy with the results rather than caring about using an anti-pattern. BTW, you have put some strong logic-quite appreciable</p> Hi, I am not a regular user of CG yet..I used to keep my code very simple by using simple design patterns. I just looked in to their classes & interfaces as well as the example files.. To some extent I am with you( when you mention about the ModelLocator). I really not in support of making the model to be a singleton. But some times it’s helpful & I am happy with the results rather than caring about using an anti-pattern. BTW, you have put some strong logic-quite appreciable

]]>
By: Theo http://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairngorms-model-locator-pattern/comment-page-2/#comment-7752 Theo Fri, 06 Feb 2009 10:14:10 +0000 http://blog.iconara.net/?p=181#comment-7752 <p>@Jack9 you miss the point. It's not that I find interface names beginning with "I" ugly, it's that I believe that if you name them that way you don't know what they are for.</p> @Jack9 you miss the point. It’s not that I find interface names beginning with “I” ugly, it’s that I believe that if you name them that way you don’t know what they are for.

]]>
By: Jack9 http://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairngorms-model-locator-pattern/comment-page-1/#comment-7751 Jack9 Fri, 06 Feb 2009 03:38:54 +0000 http://blog.iconara.net/?p=181#comment-7751 <p>What’s in a name?</p> <p>Name decoration is not required, nor is it bad for any reason other than it peeves you. I bet you seeth over curly brace placement. Get over it.</p> What’s in a name?

Name decoration is not required, nor is it bad for any reason other than it peeves you. I bet you seeth over curly brace placement. Get over it.

]]>
By: Architectural Atrocities, part 10: Cairngorm’s Service Locator / Iconara http://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairngorms-model-locator-pattern/comment-page-1/#comment-7684 Architectural Atrocities, part 10: Cairngorm’s Service Locator / Iconara Sat, 13 Dec 2008 15:46:36 +0000 http://blog.iconara.net/?p=181#comment-7684 <p>[...] The last post stirred up quite some debate and I’d like to thank everyone who commented on the post. I’m amazed that people still post comments (by coincidence to the day) seven months later. [...]</p> [...] The last post stirred up quite some debate and I’d like to thank everyone who commented on the post. I’m amazed that people still post comments (by coincidence to the day) seven months later. [...]

]]>
By: ryan http://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairngorms-model-locator-pattern/comment-page-1/#comment-7681 ryan Wed, 03 Dec 2008 15:07:08 +0000 http://blog.iconara.net/?p=181#comment-7681 <p>http://stackoverflow.com/questions/108889/objectively-what-are-the-pros-and-cons-of-cairngorm-over-puremvc#109038</p> <p>i honestly can say it really is the most objective review of the various frameworks available to flex developers.</p> <p>you convinced me...</p> http://stackoverflow.com/questions/108889/objectively-what-are-the-pros-and-cons-of-cairngorm-over-puremvc#109038

i honestly can say it really is the most objective review of the various frameworks available to flex developers.

you convinced me…

]]>
By: Theo http://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairngorms-model-locator-pattern/comment-page-1/#comment-7680 Theo Wed, 03 Dec 2008 13:33:45 +0000 http://blog.iconara.net/?p=181#comment-7680 <p><em>I bet everyone is thinking geez which framework should i use</em></p> <p>They probably do. But I'm not sure it would help that if I said "look, Cairngorm is rubbish, you should all use X instead", because if you can't see that Cairngorm is a collection of anti-patterns, how would you know that X is better?</p> <p>However, I can see the point that without also knowing why other frameworks are better you can't get to the point where you could actually make an informed decision for yourself.</p> <p>You can find a few things I've written on the subject at Stack Overflow:</p> <p>http://stackoverflow.com/questions/37043/flex-mvc-frameworks#37566 http://stackoverflow.com/questions/108889/objectively-what-are-the-pros-and-cons-of-cairngorm-over-puremvc#109038</p> <p>You can also find a few things I've written about the more general subject of how think about software architecture in Flex here:</p> <p>http://code.google.com/p/mate-examples/wiki/DocumentBasedExampleIntro http://mate.asfusion.com/forums/topic.php?id=252 http://mate.asfusion.com/forums/topic.php?id=217 http://mate.asfusion.com/forums/topic.php?id=177 http://mate.asfusion.com/forums/topic.php?id=172 http://mate.asfusion.com/forums/topic.php?id=203</p> <p>From the last few links you may have deduced my application framework of choice. To me it's not a religious issue; I'm using Mate because the alternatives are, frankly, really bad. I've outlined some of the problems of the major Flex application frameworks in the Stack Overflow posts linked to above, so I won't repeat them here -- but suffice to say that for me the choice is not a hard one. I don't mean to say that I use Mate because it was the least bad, I really do like it and very much prefer it over writing something myself, but I also don't think that there is any competition. The issues I have with most other Flex application frameworks I've looked at (and I try to keep up) are at a fundamental level, they are not details and not something that can easily be fixed.</p> I bet everyone is thinking geez which framework should i use

They probably do. But I’m not sure it would help that if I said “look, Cairngorm is rubbish, you should all use X instead”, because if you can’t see that Cairngorm is a collection of anti-patterns, how would you know that X is better?

However, I can see the point that without also knowing why other frameworks are better you can’t get to the point where you could actually make an informed decision for yourself.

You can find a few things I’ve written on the subject at Stack Overflow:

http://stackoverflow.com/questions/37043/flex-mvc-frameworks#37566 http://stackoverflow.com/questions/108889/objectively-what-are-the-pros-and-cons-of-cairngorm-over-puremvc#109038

You can also find a few things I’ve written about the more general subject of how think about software architecture in Flex here:

http://code.google.com/p/mate-examples/wiki/DocumentBasedExampleIntro http://mate.asfusion.com/forums/topic.php?id=252 http://mate.asfusion.com/forums/topic.php?id=217 http://mate.asfusion.com/forums/topic.php?id=177 http://mate.asfusion.com/forums/topic.php?id=172 http://mate.asfusion.com/forums/topic.php?id=203

From the last few links you may have deduced my application framework of choice. To me it’s not a religious issue; I’m using Mate because the alternatives are, frankly, really bad. I’ve outlined some of the problems of the major Flex application frameworks in the Stack Overflow posts linked to above, so I won’t repeat them here — but suffice to say that for me the choice is not a hard one. I don’t mean to say that I use Mate because it was the least bad, I really do like it and very much prefer it over writing something myself, but I also don’t think that there is any competition. The issues I have with most other Flex application frameworks I’ve looked at (and I try to keep up) are at a fundamental level, they are not details and not something that can easily be fixed.

]]>