Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
lunatasha #1
Documentation
:moon;
I inheirited a mess of CFM pages. I have been asked to document then, what
databases/tables they access and what other webpages they use. Other than the
old OPEN/READ technique, any better ideas. Please someone tell me there is a
useful software or feature. I have CF5.0 Studio.
Kat
lunatasha Guest
-
.MXI documentation
Can someone point me to the documentation on how to create the .mxi file. The acceptable structures within the .mxi, etc. I can't find any direct... -
printed or PDF documentation?
Is is possible to get a printed (or PDF) version of the Flex Builder 3 online help, and the language reference in particular? -
better IB/PB documentation?
Jamal Bernhard wrote: Try looking in the reference documentation for the class itself. For example, to find out what the "One shot" attribute... -
documentation...
Hello, I am now working on a complex web application. The problem is: my boss wants me to document the application, but I don't know how to... -
I need documentation to AIX..
.... PW piter@pro.onet.pl -
jdeline #2
Re: Documentation
You may have to write a couple of CF seripts to help yourself out. One script
would read each .CFM file and look for "<CFQUERY". Then scrape the table names
from the SELECT, INSERT INTO, UPDATE and DELETE. Of course, there are
complications if the table names are dynamic. :-(
The second script could read each .CFM file and look for <FORM...> and
<CFLOCATION ...>. Make a list of each filename you find in these tags.
jdeline Guest
-
lunatasha #3
Re: Documentation
I do not think I have ever done anything like that. Can you push me in the right CODE direction please.
lunatasha Guest
-
jdeline #4
Re: Documentation
1. Do a <CFDIRECTORY>, filtering on .CFM file extention
([url]http://livedocs.macromedia.com/coldfusion/5.0/CFML_Reference/Tags14.htm#1097918[/url]
)
2. Loop through all the files:
a) read a file into a local variable "filename"
b) doing a <CFSET pointer = FindNoCase("<SELECT", filename)>
c) if found, do a FindNoCase("FROM", filename, pointer)
d) you are now positioned next to the table name
e) repeat b, c and d until no more SELECTs are found
f) repeat b, c and d for UPDATE, INSERT INTO and DELETE.
jdeline Guest



Reply With Quote

