Skip to main content
Ben Nadel at Scotch On The Rock (SOTR) 2010 (Amsterdam) with: Tom de Manincor
Ben Nadel at Scotch On The Rock (SOTR) 2010 (Amsterdam) with: Tom de Manincor@tomdeman )

Recent Activity

Recent Heroes of the BenNadel.com Community

Recent Comments

Ben Nadel replied to a post Ask Ben: Converting An XML Document Into A Nested ColdFusion Struct

@Ross, Good question. I think there's probably two possible approaches: "Last one wins" - where the last child with a given name overwrites whatever values existed before hand. Instead of a simple key-value relationship, the value would be an array of values. This is, I think, how HTTP Headers work.... read more

Ben Nadel replied to a post Safely Using Array.sublist() To Generate Slices In Lucee CFML

Fast-follow, I'm wondering if it would be helpful for ColdFusion to provide a built-in function, arrayFrom() that could take array-like and other iteratable values and turn them into native ColdFusion arrays: https://www.bennadel.com/blog/4258-for-consideration-an-arrayfrom-function-in-coldfusion.ht... read more

Ben Nadel replied to a post Using Array-Like Structs As Arrays In Lucee CFML 5.3.7.47

@All, I wonder now if it would make sense for ColdFusion to just have an arrayFrom() built-in function: https://www.bennadel.com/blog/4258-for-consideration-an-arrayfrom-function-in-coldfusion.htm ... something that could take array-like and other iterable values and turn them into native ColdFusion... read more

Ben Nadel replied to a post Splitting An Array Into Groups In ColdFusion 2021

@Gary, Oh chickens, I love the idea of creating a materialized table with a list of IDs. And, more than that, the fact that you used the comma-delimited nature of the ColdFusion List to provide the VALUES collection - well played! Re: Utilities.cfc, honestly, I used to try to be more clever with it;... read more