/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 10: Cairngorm’s Service Locator http://blog.iconara.net/2008/12/13/architectural-atrocities-part-10-cairngorms-service-locator/ Thu, 05 Jul 2012 13:41:39 +0000 hourly 1 http://wordpress.org/?v=3.0 By: Michel Boudreau http://blog.iconara.net/2008/12/13/architectural-atrocities-part-10-cairngorms-service-locator/comment-page-1/#comment-7975 Michel Boudreau Mon, 23 Nov 2009 04:05:39 +0000 http://blog.iconara.net/?p=368#comment-7975 <p>I have to admit Theo, I love how passionate you are about bad software practices that Adobe seems to ignore altogether. I'm in the same boat as you and loathe cairngorm.</p> <p>Keep up the good work :)</p> I have to admit Theo, I love how passionate you are about bad software practices that Adobe seems to ignore altogether. I’m in the same boat as you and loathe cairngorm.

Keep up the good work :)

]]>
By: Codetoglory http://blog.iconara.net/2008/12/13/architectural-atrocities-part-10-cairngorms-service-locator/comment-page-1/#comment-7839 Codetoglory Wed, 10 Jun 2009 14:30:27 +0000 http://blog.iconara.net/?p=368#comment-7839 <p>Hi Theo,</p> <p>I really liked your articles and you make lot of good points. I feel cairngorm is so widely used and supported by Adobe because of the fundamental fact that Adobe guys are not really good at object oriented paradigms. They have an eye for good UI design but lack architectural design insight to understand the down side of many things that you raise here like service locator and model locator.</p> Hi Theo,

I really liked your articles and you make lot of good points. I feel cairngorm is so widely used and supported by Adobe because of the fundamental fact that Adobe guys are not really good at object oriented paradigms. They have an eye for good UI design but lack architectural design insight to understand the down side of many things that you raise here like service locator and model locator.

]]>
By: NewToCairngorm http://blog.iconara.net/2008/12/13/architectural-atrocities-part-10-cairngorms-service-locator/comment-page-1/#comment-7823 NewToCairngorm Thu, 07 May 2009 01:18:25 +0000 http://blog.iconara.net/?p=368#comment-7823 <p>Thanks any way!</p> Thanks any way!

]]>
By: Theo http://blog.iconara.net/2008/12/13/architectural-atrocities-part-10-cairngorms-service-locator/comment-page-1/#comment-7821 Theo Wed, 06 May 2009 10:47:14 +0000 http://blog.iconara.net/?p=368#comment-7821 <p>Hi Suho. This is not a questions and answer site. Try http://www.stackoverflow.com</p> Hi Suho. This is not a questions and answer site. Try http://www.stackoverflow.com

]]>
By: NewToCairngorm http://blog.iconara.net/2008/12/13/architectural-atrocities-part-10-cairngorms-service-locator/comment-page-1/#comment-7820 NewToCairngorm Wed, 06 May 2009 09:30:45 +0000 http://blog.iconara.net/?p=368#comment-7820 <p>Hey Theo,</p> <p>I'm new to Flex and Cairngorm.While I'm using ServiceLocator,I do run into the problem: Error: C0001E: Only one ServiceLocator instance can be instantiated.</p> <p>My Code is like this:</p> <p>In Serives.mxml:</p> <p> </p> <p></p> <p>In Delegate.as,I have snippets:</p> <p>this.service = ServiceLocator.getInstance().getHTTPService("statistServ");</p> <p>In Main.xml,snippets like:</p> <p></p> <p>this wonderful little Error message pops up the minute I load a second instance of some module which requires httpservice.</p> <p>Is there any way to resolve this problem without switching to another Framework?</p> <p>Best Wishes,</p> <p>Shuo from China</p> Hey Theo,

I’m new to Flex and Cairngorm.While I’m using ServiceLocator,I do run into the problem: Error: C0001E: Only one ServiceLocator instance can be instantiated.

My Code is like this:

In Serives.mxml:

In Delegate.as,I have snippets:

this.service = ServiceLocator.getInstance().getHTTPService(“statistServ”);

In Main.xml,snippets like:

this wonderful little Error message pops up the minute I load a second instance of some module which requires httpservice.

Is there any way to resolve this problem without switching to another Framework?

Best Wishes,

Shuo from China

]]>
By: Theo http://blog.iconara.net/2008/12/13/architectural-atrocities-part-10-cairngorms-service-locator/comment-page-1/#comment-7819 Theo Tue, 05 May 2009 08:55:01 +0000 http://blog.iconara.net/?p=368#comment-7819 <p><em>quality has nothing to do with the choice of framework</em></p> <p>What other measure than quality is there?</p> <p><em>I think each good framework can be employed to attain a good quality once the person doing the job got a piece of brain in the pocket.</em></p> <p>Well, yeah. But that's an empty statement. A <em>good</em> framework can be used to make <em>good</em> applications by <em>good</em> programmers. Go figure. What else are you doing but a judgement of quality when you say that? Now, what about a <em>bad</em> framework, or should I say a <em>low quality</em> framework?</p> <p>Of course a good programmer can make good software with bad tools, but it's very unlikely that you would get many good programmers by picking a bad tool. The good programmers are good partly because they can tell good from bad, they know quality, and they tend to use the good tools.</p> <p>Now, that last piece could be interpreted in two ways in the light of the number of Flex developers that work with Cairngorm. I will let you guess which interpretation I think is right. A hint is that quality is not decided by majority vote.</p> quality has nothing to do with the choice of framework

What other measure than quality is there?

I think each good framework can be employed to attain a good quality once the person doing the job got a piece of brain in the pocket.

Well, yeah. But that’s an empty statement. A good framework can be used to make good applications by good programmers. Go figure. What else are you doing but a judgement of quality when you say that? Now, what about a bad framework, or should I say a low quality framework?

Of course a good programmer can make good software with bad tools, but it’s very unlikely that you would get many good programmers by picking a bad tool. The good programmers are good partly because they can tell good from bad, they know quality, and they tend to use the good tools.

Now, that last piece could be interpreted in two ways in the light of the number of Flex developers that work with Cairngorm. I will let you guess which interpretation I think is right. A hint is that quality is not decided by majority vote.

]]>
By: Alexander Arendar http://blog.iconara.net/2008/12/13/architectural-atrocities-part-10-cairngorms-service-locator/comment-page-1/#comment-7818 Alexander Arendar Tue, 05 May 2009 07:28:04 +0000 http://blog.iconara.net/?p=368#comment-7818 <p>Theo, quality has nothing to do with the choice of framework. I think each good framework can be employed to attain a good quality once the person doing the job got a piece of brain in the pocket.</p> Theo, quality has nothing to do with the choice of framework. I think each good framework can be employed to attain a good quality once the person doing the job got a piece of brain in the pocket.

]]>
By: Theo http://blog.iconara.net/2008/12/13/architectural-atrocities-part-10-cairngorms-service-locator/comment-page-1/#comment-7817 Theo Thu, 30 Apr 2009 19:25:12 +0000 http://blog.iconara.net/?p=368#comment-7817 <p><em>u can find more developers having experience (so called bad habits) in cairngorm than mate</em></p> <p>Fair enough, if quality is of no concern.</p> u can find more developers having experience (so called bad habits) in cairngorm than mate

Fair enough, if quality is of no concern.

]]>
By: mzx http://blog.iconara.net/2008/12/13/architectural-atrocities-part-10-cairngorms-service-locator/comment-page-1/#comment-7815 mzx Thu, 30 Apr 2009 16:11:49 +0000 http://blog.iconara.net/?p=368#comment-7815 <p>first joke: anybody doing any real applications here?)</p> <p>i agree that mate is more promising but:</p> <p>u can find more developers having experience (so called bad habits) in cairngorm than mate</p> <p>mate is still in beta while cairngorm last bug fixed 2 years ago(believe me its not too funny to accidentaly found memoryleaks in framework after 6 month of development)</p> first joke: anybody doing any real applications here?)

i agree that mate is more promising but:

u can find more developers having experience (so called bad habits) in cairngorm than mate

mate is still in beta while cairngorm last bug fixed 2 years ago(believe me its not too funny to accidentaly found memoryleaks in framework after 6 month of development)

]]>
By: Theo http://blog.iconara.net/2008/12/13/architectural-atrocities-part-10-cairngorms-service-locator/comment-page-1/#comment-7771 Theo Sun, 15 Feb 2009 08:57:53 +0000 http://blog.iconara.net/?p=368#comment-7771 <p>@Jack9 you're talking fringe cases and necessary evils, it's hardly proof of controversy. I think it's fair to say that there is a consensus on the badness of global variables, and saying that there are exceptions doesn't change that fact. Of course there are exceptions, there are exceptions to everything, it's the real world! It's hardly news.</p> @Jack9 you’re talking fringe cases and necessary evils, it’s hardly proof of controversy. I think it’s fair to say that there is a consensus on the badness of global variables, and saying that there are exceptions doesn’t change that fact. Of course there are exceptions, there are exceptions to everything, it’s the real world! It’s hardly news.

]]>