> I am sure you know as well as I, that sometimes refactoring is just not an
> option...
That's true, although with either CFCs or includes there are easy ways
to divide the file up into multiple without actually refactoring them
and take just a few minutes.
<cfif b>...1000 lines of code<cfelse>...1000 lines of code</cfif>
becomes
<cfif b><cfinclude template="1000lines.cfm">
<cfelse><cfinclude template="1000lines2.cfm"></cfif>
Or in a CFC
<cfcomponent extends="thing">
.... 2000 lines ...
</cfcomponent>
becomes
<cfcomponent extends="thing">
....1000 lines ...
</cfcomponent>
<cfcomponent extends="1000lines">
....another 1000 lines...
</cfcomponent>
Inelegant though it may be, it's not very time consuming.
--
s. isaac dealey ^ new epoch
isn't it time for a change?
ph: 617.365.5732
http://onTap.riaforge.org/blog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306673
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4