CRUD Never Looked So Good

Writing CRUD (create, read, update, delete) functionality sucks. It’s monotonous and repetitive in syntax but unique enough that it makes copying and pasting the code you used on one table virtually useless for another. It’s to a developer what washing dishes is to a Chef. Buying the ingredients and mixing them together in different ways to make a new dish can be enjoyable, but those dirty dishes are always there waiting in the sink and eventually you have to get to them.

Fortunately for Chefs there are dishwashers, and fortunately for ColdFusion developers, there’s Brian Rinaldi‘s Illudium PU-36 Code Generator (pronounced in your best Marvin the Martian voice).

The Illudium PU-36 Code Generator

The Illudium PU-36 Code Generator (IPCG) generates your CRUD components for you. Connecting through your ColdFusion administrator, it polls the defined data sources through which you can select the tables that you want to generate your CRUD code for. Generating the CRUD produces Bean, DAO, a Service and a Gateway components containing all the functions you need to perform your CRUD transactions.

In addition to the usual suspects mentioned above, IPCG also generates ColdSpring XML, Actionscript value objects and transfer objects for Flex.

Don’t like the output that one of the five provided templates provides? No problem, it’s easy to make your own template using XSLT or ColdFusion templating.

IPCG has it’s own Google code page and Brian is always willing to offer assistance. As a matter of fact, he’ll be at Flex Camp Boston on December 7th if you want to talk to him about it in person. Admission, parking and lunch is only $10.

If you haven’t checked it out yet, you’re probably wasting a lot of time. And wouldn’t you rather be eating desert than washing those dishes?


One thought on “CRUD Never Looked So Good

Comments are closed.