It wouldn't work with any of my applications. I almost never use
hard-coded paths in cfinclude, cfmodule or createobject() calls for
cfc's... So the application would never have any idea where to go find
the next template. Luckily I have a system (tm) so it's real easy to
figure out for myself where those files are. :)

> Mike, I actually wrote something like that about a year or
> so ago,
> when I had to produce documentation for a content
> management system
> that I inherited that had no documentation.  It didn't
> handle CFCs (a
> CF 5 environment), but it could with minor adjustments.
> It did a lot
> of it automatically.  I can see if I can find the code.
> It ran with
> an Access DB (was just running on my local machine).

> On Thu, 15 Jul 2004 16:26:45 -0700, Spike
> <[EMAIL PROTECTED]> wrote:
>> This is relatively easy to write in ColdFusion, but it
>> wouldn't necessarily
>> be the fastest thing on earth.
>>
>> It really depends on what exactly you want to find in the
>> code and what you
>> want to do with the results.
>>
>> If you're not too fussy you can use the default Microsoft
>> search on windows
>> to find stuff in files with a specific extension.
>>
>> If you are fussy then chances are that the simplest
>> solution would be to use
>> a recursive cfdirectory call, loop over the results, then
>> load and search
>> the contents of each file for a specific set of strings
>> such as cfinclude,
>> cfinvoke, createObject('component' etc.
>>
>> Or did I misunderstand what you were asking?
>>
>> Spike
>>
>> --------------------------------------------
>> Stephen Milligan
>> Code poet for hire
>> http://www.spike.org.uk
>>
>> Do you cfeclipse? http://cfeclipse.tigris.org
>>
>>
>> >-----Original Message-----
>> >From: [EMAIL PROTECTED]
>> >[mailto:[EMAIL PROTECTED] On Behalf Of
>> >Michael Dinowitz
>> >Sent: Thursday, July 15, 2004 3:02 PM
>> >To: CF-Talk
>> >Subject: Code mapping software?
>> >
>> >I'm trying to trace down the includes and CFCs in a
>> >large, complex
>> >site written by a few different programmers. Is there
>> >any software out
>> >there that can be pointed to a directory and will map
>> >out what
>> >includes are used where, what CFCs are called where,
>> >etc?
>> >If not, does anyone want to write one? ;)
>> >--
>> >Michael Dinowitz
>> >http://www.houseoffusion.com
>> >For all your ColdFusion needs
>> >
>> >
>>
>>

>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to