posted by Chris
on Nov 18, 2010 at 12:30
If you've ever used the really useful service HackMyCF by Foundeo you may have been told that you need to turn on the secure JSON Prefix in your ColdFusion administrator. An explanation of the issue can be found on Pete Freitag's blog. But as Pete points out there is an issue with this; that the JSON prefix will also be appended to the value returned from the serializeJson() function and theres no argument to alter this behaviour.
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.
posted by Chris
on Nov 17, 2010 at 20:30
Finally, after everyone and their gran have a blog i've managed to get mine online. Not that haven't been trying, its just taken me a very long time to get this application into a half-useable shape. I suppose i could of used one of the many fine Coldfusion blog application out their like BlogCFC or Mango Blog, but i've written this one from the gorund up, partly as a learning exercise, but mostly because i'm stubborn and like things done my way :)