Listing Coldfusion ORM entities programatically

posted by Chris on Apr 11, 2011 at 12:20

When you write an application It's a fair to assume you know what entities your dealing with, after all you've either written them yourself or your coding to extend an existing application. Recently though i've been mentally tossing about an idea for a library that can automatically create some services for your orm entites, with the idea that you can just drop it into an orm enbaled ColdFusion application and it will create them for you with a minimum of configuration.

Returning an array of structs from ormExecuteQuery

posted by Chris on Nov 18, 2010 at 11:30

ormExecuteQuery is really useful when you want to grab a few bits of data from your entities, or maybe do some aggregation. But by default you'll get back an array of arrays, this is fairly easy to understand but just a bit cumbersome to manipulate. Wouldn't it be nice if you could return an array or structures instead? Then your array is almost as easy to work with a a query.