<?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: Modified ColdFusion Template For Enterprise Architect</title>
	<atom:link href="http://devnulled.com/content/2005/09/modified-coldfusion-template-for-enterprise-architect/feed/" rel="self" type="application/rss+xml" />
	<link>http://devnulled.com/content/2005/09/modified-coldfusion-template-for-enterprise-architect/</link>
	<description>devnulled provides news, tips, resources, and articles about various topics that software developers and engineers enjoy.</description>
	<lastBuildDate>Sat, 14 Aug 2010 20:52:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: Sandhya</title>
		<link>http://devnulled.com/content/2005/09/modified-coldfusion-template-for-enterprise-architect/comment-page-1/#comment-12978</link>
		<dc:creator>Sandhya</dc:creator>
		<pubDate>Mon, 10 Jul 2006 11:47:39 +0000</pubDate>
		<guid isPermaLink="false">http://devnulled.com/?p=470#comment-12978</guid>
		<description>How do one customise the documentaion template in enterprise architect</description>
		<content:encoded><![CDATA[<p>How do one customise the documentaion template in enterprise architect</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Houser</title>
		<link>http://devnulled.com/content/2005/09/modified-coldfusion-template-for-enterprise-architect/comment-page-1/#comment-9675</link>
		<dc:creator>Jeff Houser</dc:creator>
		<pubDate>Wed, 05 Oct 2005 02:21:59 +0000</pubDate>
		<guid isPermaLink="false">http://devnulled.com/?p=470#comment-9675</guid>
		<description>Brandon, 

 Dumping the variables scope of a CFC gives you all the various methods that are a part of that CFC; which sometimes makes it hard to find what you want.  That is why people adopted the variables.instance approach.  

(Mike, I just started experimenting w/ your xml template for Enterprise Architect, and so far I&#039;m liking it--good job)

J</description>
		<content:encoded><![CDATA[<p>Brandon, </p>
<p> Dumping the variables scope of a CFC gives you all the various methods that are a part of that CFC; which sometimes makes it hard to find what you want.  That is why people adopted the variables.instance approach.  </p>
<p>(Mike, I just started experimenting w/ your xml template for Enterprise Architect, and so far I&#8217;m liking it&#8211;good job)</p>
<p>J</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon Harper</title>
		<link>http://devnulled.com/content/2005/09/modified-coldfusion-template-for-enterprise-architect/comment-page-1/#comment-9631</link>
		<dc:creator>Brandon Harper</dc:creator>
		<pubDate>Wed, 28 Sep 2005 18:26:34 +0000</pubDate>
		<guid isPermaLink="false">http://devnulled.com/?p=470#comment-9631</guid>
		<description>Mike-- feel free to take any of the changes I&#039;ve made and put them back in.  I&#039;m glad you came up with the original template so I had something to work from!

Regarding the instance structure, while I wouldn&#039;t say I&#039;m super proficient in Java, it&#039;s something I do work with with and have an academic understanding of, and there are quite a few things from Java that I try to follow when developing CFC&#039;s.  That said, instance variables are always just instance variables rather than being in their own map or something in Java, so it&#039;s just one of those semantic nit-picky things I suppose.  I guess it seems just as easy to dump the variables scope in a CFC to me?  I also don&#039;t find myself needing instance variables very often for anything other than objects since I usually pass around &quot;beans&quot; in CFC&#039;s.

Regarding components in different paths-- I usually try to follow a fairly rigourous directory structure so that I don&#039;t end-up with one directory full of 60 unrelated components, and so that there aren&#039;t any name collisions with anything else someone on my team might be working on.  So for instance, here is an component directory structure that I&#039;d probably follow (totally making this up on the fly):

\com\company\appname\dao
\com\company\appname\dao\DAOFactory.cfc
\com\company\appname\dao\ReportDAO.cfc
\com\company\appname\audio\AudioService.cfc
\com\company\appname\audio\SpeakerFactory.cfc
\com\company\appname\audio\Subwoofer.cfc
\com\company\appname\TVDelegate.cfc
\com\company\appname\TVFactory.cfc

So basically lets say the TVFactory contained instances of DAOFactory and AudioService (bad design example, but you&#039;ll get the idea).  Because they are not in the same path, you&#039;d need to use full dot notation for their return types.  I&#039;ve done that before, but have had small problems with it here and there and ended-up having to change a bunch of code because of it.  It&#039;s easier to just do a return type of any, and also I think staticly typing everything is also getting away from one of the advantages of CF-- loose typing.</description>
		<content:encoded><![CDATA[<p>Mike&#8211; feel free to take any of the changes I&#8217;ve made and put them back in.  I&#8217;m glad you came up with the original template so I had something to work from!</p>
<p>Regarding the instance structure, while I wouldn&#8217;t say I&#8217;m super proficient in Java, it&#8217;s something I do work with with and have an academic understanding of, and there are quite a few things from Java that I try to follow when developing CFC&#8217;s.  That said, instance variables are always just instance variables rather than being in their own map or something in Java, so it&#8217;s just one of those semantic nit-picky things I suppose.  I guess it seems just as easy to dump the variables scope in a CFC to me?  I also don&#8217;t find myself needing instance variables very often for anything other than objects since I usually pass around &#8220;beans&#8221; in CFC&#8217;s.</p>
<p>Regarding components in different paths&#8211; I usually try to follow a fairly rigourous directory structure so that I don&#8217;t end-up with one directory full of 60 unrelated components, and so that there aren&#8217;t any name collisions with anything else someone on my team might be working on.  So for instance, here is an component directory structure that I&#8217;d probably follow (totally making this up on the fly):</p>
<p>\com\company\appname\dao<br />
\com\company\appname\dao\DAOFactory.cfc<br />
\com\company\appname\dao\ReportDAO.cfc<br />
\com\company\appname\audio\AudioService.cfc<br />
\com\company\appname\audio\SpeakerFactory.cfc<br />
\com\company\appname\audio\Subwoofer.cfc<br />
\com\company\appname\TVDelegate.cfc<br />
\com\company\appname\TVFactory.cfc</p>
<p>So basically lets say the TVFactory contained instances of DAOFactory and AudioService (bad design example, but you&#8217;ll get the idea).  Because they are not in the same path, you&#8217;d need to use full dot notation for their return types.  I&#8217;ve done that before, but have had small problems with it here and there and ended-up having to change a bunch of code because of it.  It&#8217;s easier to just do a return type of any, and also I think staticly typing everything is also getting away from one of the advantages of CF&#8211; loose typing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Rankin</title>
		<link>http://devnulled.com/content/2005/09/modified-coldfusion-template-for-enterprise-architect/comment-page-1/#comment-9630</link>
		<dc:creator>Mike Rankin</dc:creator>
		<pubDate>Wed, 28 Sep 2005 14:02:21 +0000</pubDate>
		<guid isPermaLink="false">http://devnulled.com/?p=470#comment-9630</guid>
		<description>Nice work making the code easier to read.  Do you mind if I adopt some of that?

I&#039;m suprised that you didn&#039;t dig the instance structure.   It has really come in hand for me doing debugging, especially when your components deeply nested.

And lastly, could you do into a little more detail about how you find the returntype being any helps with components in different paths?  I haven&#039;t really gotten into lots of component subdirectories yet, but I imagine I will sooner or later.</description>
		<content:encoded><![CDATA[<p>Nice work making the code easier to read.  Do you mind if I adopt some of that?</p>
<p>I&#8217;m suprised that you didn&#8217;t dig the instance structure.   It has really come in hand for me doing debugging, especially when your components deeply nested.</p>
<p>And lastly, could you do into a little more detail about how you find the returntype being any helps with components in different paths?  I haven&#8217;t really gotten into lots of component subdirectories yet, but I imagine I will sooner or later.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->