I’ve been using Brian Rinaldi’s Illudium code generator for a while now and I would be lying if I said it hasnt saved me TONS of time in writing alot of repetitive code.
Since almost all of my projects are in Fusebox, I decided to write myself some Fusebox 5 XSL templates for the generator when I started working on Trac_Fu to handle most of the CRUD stuff for me. These templates generate the following files for a database table:
- Controller Circuit.xml.cfm
- View Circuit.xml.cfm
- List Page
- Form Page (handles creation and editing)
- Bean cfc
- Service cfc
- DAO cfc
- Gateway cfc
- Coldspring config
Keep in mind that just as Brian states, Illudium is not designed to generate a complete application and these templates follow that same direction. However, you should be able to generate the files and have a working set of CRUD files when added to a Fusebox 5 application.
If you have any suggestions for the templates or ideas on how to improve them, or run into any problems please let me know as Im always up for improving them!
Download them from the Software Pod on the right or grab them here: Fusebox5 Illudium Templates
UPDATE: This link has been updated, the first release files has some major issues.