Why?
I am in the process of migrating an existing application that has over 200 tables in the database. We do not have any of the queries or access to the source code of the existing application. The closest thing I could find that would do something similar, did not support my database type.
What I needed:
The ability to generate DAO/Bean CFCs from analyzing a table structure.
What I came up with was:
A multi-database CFC DAO generator. Its all based on XML and is easy to generate a CFC if you know XSL.
I have uploaded a demo here, the demo only runs off the cfsnippets datasource and the downloadable version displays all datasources registered with CF Admin.
Results:
Amazing for me, I was able to generate over 45 files in about 10 minutes. These CFCs fitted the database structure we were working with and allowed me to create a standard base DAO factory with ease.
If you download this, please make sure you read the README file in the zip file for instructions on installing / customizing. The frontend is nothing to brag about but the results are just great.
Tell me what you think.
You are not logged in, so your subscription status for this entry is unknown. You can login or register here.
None of the above were available when I wrote this software.
Either way, thanks for the fix.
Scotty
I do not plan to do any upgrades as there are better products out that do the same thing.
Check out the link attached to the comment.
http://code.google.com/p/cfcgenerator/
However, both operate on the same principal.... modify the XSLT to produce the style of code that you want.
Francis "Scotty" Scott
Your generator has generated alot of great codes but i do not know how to use them in a flex datagrid for editing, inserting and deleting.
Can u do a very simple application that does this?
I will really appreciate it if u can help..
Thanks once again...
the.seeker.87@hotmail.com -FLEX NEWBIE