One rainy day, I sat down to auto generate a bunch of CFCs using Brian Rinaldi's marvellous Illudium PU-36 Code Generator. The trouble was, I was using Railo, and the blessed thing didn't work first time. Having zero patience, I decided to rewrite the generator using HTML and js only, and adding functionality that I had always wanted to see.
How is it different from the original?
This code is at least 50% Illudium PU-36. However, I have:- extensively reorganised the model;
- made the project xml schema less implicit;
- added the ability to generate code for multiple tables at once;
- added the ability to serve the code as a zip file;
- added support for Railo 3.1;
- removed the option for viewing the generated code in the page;
- removed Flex from the equation; the application front end is html with a little javascript.
That's all for now! Dominic
5 comments:
Just downloaded your revision of Illudium as I wanted to run it under Railo. Nice job. A couple of issues however:
In the railoAdminAPIFacade, the classToType function did not work for me correctly when creating an MSSQL datasource under Railo 3.1
Expanding the "contains" pattern matching section to look for "sqlserver" (normal Microsoft provider) or "jtds" (for JTDS provider) allows the app to correctly see my Railo datasources.
Also, I was having a problem where I couldn't see the list of tables. Turns out that that was because Railo's debugging was turned on and it was appending bad data to your JSON provider for GetTables. If you explicitly turn off debugging on that page through cfsetting, you shouldn't have to worry about that happening.
Cheers
Great work this is awesome.
I also had this issue with CF8, couldn't figure it out for the life of me. Thanks Judah.
Hey guys, thanks for the feedback. I have updated the project with fixes for both issues.
Dominic
Hi Dominic. I just found your version of Illidium and I'm drawn to it for the HTML GUI. I have a couple of questions:
1.do you plan to post your code in a svn repository to allow contributions?
2. Your version of the generator Service is based on the latest version of Illidium ?
3. Do you and Brian talked about sync-ing the generation service ? Because right now there are features in original version that are removed in yours and viceversa.
Hi Crisp,
1. No. But happy to add users to the private svn at request
2. It will be based on the version that was current at the time of publishing this post
3. I spoke to Brian about bringing my ideas back into his stuff and at the time he said he was in the process of a big rethink on the project. We talked of contributing together but time has passed (as it is want to do!).
I personally think it will be better to integrate an html only and Railo compliant version into whatever Brian is doing, rather than continuing with this branch that I have made. Heads should be put together, Railo administrator, CF Administrator and CFEclipse plugins created - all based around the same db metadata -> cfml translation that Brian setup.
But anyways, must get back to work... :(
Post a Comment