John Whish
Member since Feb 14, 2010
- Profile: /members/5439-john-whish.htm
- Comments: 14
Recent Blog Comments By John Whish
-
Variadic Functions Considered Through "Worse Is Better" In ColdFusion
Posted on Mar 31, 2025 at 10:12 AM
@Ben Nadel, Oh wow - that's a huge bug in ACF!... read more »
-
Variadic Functions Considered Through "Worse Is Better" In ColdFusion
Posted on Mar 31, 2025 at 9:38 AM
Interesting read Ben. Is there a reason why you are commenting out the rest parameters in the function? This syntax is supported in ACF 2021+. string function urlFor( required string event, ...params=[] ) { // logic here } I tweaked the code slightly to support rest parameters. https:... read more »
-
So Mediocre They Can't Ignore Me
Posted on Mar 6, 2019 at 4:46 PM
Blimey Ben - I can only aspire to be as 'Mediocre' as you!... read more »
-
ColdFusion ORM: A Guide To Developing Applications Using ColdFusion ORM By John Whish
Posted on Mar 6, 2012 at 2:37 PM
@Scott, firstly welcome to CF - always nice to see a new developer :) I know you asked Ben, so I hope neither of you mind me hoping on the conversation. It looks like you are assigning the key yourself, can you post your code for the 'area' entity? It's a bit hard to tell what is happening without ... read more »
-
ColdFusion ORM: A Guide To Developing Applications Using ColdFusion ORM By John Whish
Posted on Nov 4, 2011 at 5:28 AM
@Aaron - I've been playing around with the preview on the Lulu site and have managed to get it show the first chapter if you are interested. Feel free to hit me up if you have any other questions so that I don't hi-jack Ben's blog :)... read more »
-
ColdFusion ORM: A Guide To Developing Applications Using ColdFusion ORM By John Whish
Posted on Nov 3, 2011 at 10:10 AM
Firstly, thank you Ben for posting your review - especially as you seem to like the book!!! :) I hope people don't mind me posting answers to their questions... @Justin - adopting CF ORM or any new way of working is painful at first, but once you've got the hang of it then I believe it is well wor... read more »
-
Selecting My SOTR Caffeinated Raffle Winner Using ColdFusion And Face.com's Facial Detection API
Posted on Apr 8, 2011 at 5:03 PM
Nice post Ben and awesome way to pick a winner! I have to question the results though, as I believe that the confidence rating is based on all the faces detected in the photo! (kidding) I was great to catch up with you again, I'm just sad that I didn't get a new picture at all this year :)... read more »
-
Learning ColdFusion 9: ORM Inheritance Mapping
Posted on Mar 14, 2011 at 10:44 AM
@Trip, I'm not totally sure I understand the question but, if you wanted to get all the sub-types of Product (e.g. DVDs/Books) then you'd do: entityLoad( "DVDRental" ); or; ORMExecuteQuery( "from DVDRental" );... read more »
-
Learning ColdFusion 9: EntityNew() vs. The NEW Operator / CreateObject()
Posted on Oct 18, 2010 at 3:33 PM
@John, if you want to read up on all the CF9.01 stuff, then Bob Silverberg wrote a really good post about it. http://www.silverwareconsulting.com/index.cfm/2010/7/13/ColdFusion-901-Now-Available--With-ORM-Goodies... read more »
-
Learning ColdFusion 9: EntityNew() vs. The NEW Operator / CreateObject()
Posted on Oct 18, 2010 at 3:30 PM
@John, you do it by passing a struct. For example: user = EntityNew("User",{name="Ben Nadel", status="CF God"});... read more »
-
Learning ColdFusion 9: ORM Inheritance Mapping
Posted on Oct 12, 2010 at 10:27 AM
Sam Farmer blogged about a way to stop ColdFusion caching the metadata. http://samfarmer.instantspot.com/blog/2010/08/01/Quick-fix-for-901-dump-not-showing-method-changes... read more »
-
BenNadel.com Gets Its First Valentine!
Posted on Feb 14, 2010 at 4:17 PM
I'm seriously tempted to start blogging about PHP :D... read more »