However, it requires an RDS login/password for your server. For delivery to third parties, I set up a recursive script that does a cfhttp fetch against the docs for each cfc file, and then compiles the pages to PDF with cfdocument.
I guess what you really need is something to reverse engineer the coldfusion code into uml class diagrams. I don't know of anything off the top of my head.
Sounds to me like creating your own Xmind or XMI file is the way to go. The XMI file may be more portable between tools, but the last time I looked at doing that the XMI file formats were a bit daunting for the time I had available to work on the solution. If the formatting of the headers consistent is enough to read with ReFind or Find I'd build a script that uses cfdirectory and cffile to walk the code tree and output the file(s).
发布评论
评论(4)
ColdFusion 服务器具有 内置内省,输出类似于任何 CFC 类的文档的 javadoc。
请参阅:
http://YourColdfusionServer/CFIDE/componentutils/componentdoc.cfm
但是,它需要您的服务器的 RDS 登录名/密码。 为了交付给第三方,我设置了一个递归脚本,该脚本对每个 cfc 文件的文档进行
cfhttp
获取,然后使用cfdocument
将页面编译为 PDF。The ColdFusion server has built in introspection that outputs javadoc like documentation for any CFC class.
See:
http://YourColdfusionServer/CFIDE/componentutils/componentdoc.cfm
However, it requires an RDS login/password for your server. For delivery to third parties, I set up a recursive script that does a
cfhttp
fetch against the docs for each cfc file, and then compiles the pages to PDF withcfdocument
.您可以从 ColdDoc 开始
另外,这里有一个 UML 2 CFC 生成器。
我想你真正需要的是将 Coldfusion 代码逆向工程为 uml 类图。 我脑子里什么都不知道。
MagicDraw,反对似乎还没有做到这一点。
You could start with ColdDoc
Also, heres a UML 2 CFC generator.
I guess what you really need is something to reverse engineer the coldfusion code into uml class diagrams. I don't know of anything off the top of my head.
MagicDraw, Objecteering don't seem to do it yet.
在尝试自己找到这个问题的答案后,我最终编写了这个解决方案:
ColdDuck
也许现在对你来说已经太晚了,但我只是在传播这个消息。
穆雷
After trying to find an answer to this question myself I ended up writing this solution:
ColdDuck
Maybe it is too late for you now but I am just spreading the word.
Murray
在我看来,创建自己的 Xmind 或 XMI 文件是正确的方法。 XMI 文件可能在工具之间更易于移植,但上次我考虑这样做时,XMI 文件格式对于我可以用于解决方案的时间来说有点令人畏惧。 如果标题的格式一致足以使用 ReFind 或 Find 进行读取,我将构建一个使用 cfdirectory 和 cffile 来遍历代码树并输出文件的脚本。
Sounds to me like creating your own Xmind or XMI file is the way to go. The XMI file may be more portable between tools, but the last time I looked at doing that the XMI file formats were a bit daunting for the time I had available to work on the solution. If the formatting of the headers consistent is enough to read with ReFind or Find I'd build a script that uses cfdirectory and cffile to walk the code tree and output the file(s).