Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at cf.Objective() 2014 (Bloomington, MN) with: Josh Siok
Ben Nadel at cf.Objective() 2014 (Bloomington, MN) with: Josh Siok@siok )

Mark Mandel

Member since Dec 11, 2008

Recent Blog Comments By Mark Mandel

  • Spawning Nested ColdFusion Threads With Synchronous Fallbacks

    Posted on Feb 4, 2014 at 9:59 PM

    On Adobe CF you can actually check the current Thread's threadgroup to determine if you are in a cfthread or not. Old blog post that needs to have it's formatting updated: http://www.compoundtheory.com/how-to-tell-if-code-is-being-run-inside-a-cfthread-tag/... read more »

  • AsyncTaskQueue.cfc - Running Low-Priority Tasks In A Single CFThread

    Posted on Sep 15, 2013 at 7:51 PM

    Nice! You should also check out my FutureThreadedWorker ( http://www.compoundtheory.com/?action=displayPost&ID=555 ) it's very similar. We could pouch ideas from each other.... read more »

  • Using A State Machine To Parse Tokenized Data In ColdFusion

    Posted on Mar 1, 2010 at 4:47 PM

    Ben, If you are really interested in parsing, I really suggest you check out ANTLR http://www.antlr.org/. Its an amazing parser generator, that allows you to do some really great stuff in short order. The book Terrance (the author) also has available is really good reference to parsing in genera... read more »

  • Calling ColdFusion Components And Methods From Groovy

    Posted on Dec 5, 2009 at 12:53 AM

    @Ben, Re: 'is that you have to uphold *some* interface, right'. Right - because Java is typed, you have to tell it is a type of 'something', otherwise it doesn't know what to do with it. In theory, with Groovy you could probably work around this. The interesting question would be - could you pas... read more »

  • Calling ColdFusion Components And Methods From Groovy

    Posted on Dec 2, 2009 at 5:35 PM

    @Ben, You are right, the JavaProxy.cfc is CF->Java. What I'm actually referring to is the CFC Dynamic Proxy documented here: http://www.compoundtheory.com/javaloader/docs/#ColdFusion_Component_Dynamic_P_1999409235798828 And also talked about here: http://www.compoundtheory.com/?action=displ... read more »

  • Calling ColdFusion Components And Methods From Groovy

    Posted on Dec 2, 2009 at 4:58 PM

    Any reason you aren't using my ColdFusion Component Dynamic Proxy, in JavaLoader 1.0? It works with Java objects, and since Groovy works with Java objects, it should work as well, and would be a much more seamless experience as Groovy won't know the CFC isn't actually just a plain ol' POJO. Just a... read more »

  • Learning ColdFusion 9: When Does An ORM-Enabled Object Get Persisted

    Posted on Jul 31, 2009 at 8:23 PM

    Oh wait.. you knew that. I didn't read your post properly. Oops. Ignore me! * crawls under rock *... read more »

  • Learning ColdFusion 9: When Does An ORM-Enabled Object Get Persisted

    Posted on Jul 31, 2009 at 8:22 PM

    It should also be noted Ben - to update an object, you actually don't have to call EntitySave() at all! Have a look at my examples from my DevNet article: http://www.compoundtheory.com/?action=displayPost&ID=417 In the update example, we don't even called EntitySave(). This is because the Hiber... read more »

  • Presenting Ideas vs. Teaching Techniques

    Posted on Jul 12, 2009 at 6:21 PM

    Re: But, my concern is that if my slides don't contain all the key points that I want to cover, then I might forget to cover them. I totally hear you on that one ;o) I started presenting a little while ago with *very* minimal slide decks, i.e. just a picture and a title. I actually really like th... read more »

  • OOPhoto - Refactoring "With Transaction" Methods To BaseService.cfc

    Posted on Aug 6, 2008 at 6:08 PM

    What I was trying to say in the previous comment, was: 'With some clever state settings, you could set it up so you could NEST transactions'. So one method that contained a saveInTranaction() could call another method that also contained a saveInTransaction() and it wouldn't matter, it would just ... read more »

  • OOPhoto - Handling Database Transactions With Ease

    Posted on Aug 6, 2008 at 4:06 AM

    Just as a side note, this could be written just as: <cftransaction> <cfreturn THIS.Save( ARGUMENTS.Photo ) /> </cftransaction> And you would be done. If an error happens inside the <transaction> tags, then the db is automatically rolled back. I've seen a few people use... read more »

  • cf.Objective() 2008: Walking Among Giants

    Posted on May 5, 2008 at 9:55 AM

    Thanks a lot Ben! I really appreciated it :oD I really enjoyed writing and giving that presentation - so I doubt it will be the last time you will see it being presented :oD... read more »

  • cf.Objective() 2008: Walking Among Giants

    Posted on May 5, 2008 at 9:44 AM

    Ben, Was a pleasure finally meeting you in the flesh, I wish I had had more time to sit down and chat with you more than I did :oD I totally hear what you are sayng about the conference. I walk away this year, just as much as last year, with a whole load of new ideas and inspirations for new thin... read more »

  • Getting Excited For cf.Objective() 2008

    Posted on Apr 22, 2008 at 5:51 PM

    Awesome Ben! I didn't know you were coming to cf.Objective()! Be great to finally meet you!... read more »

  • Project HUGE: Active Release Technique With Foam Roller (Very Painful)

    Posted on Mar 20, 2007 at 5:49 PM

    Ben - I highly recommend you find yourself a *good* remedial sports masseuse. I have one, and I don't see him near often enough, but he is a g-d send. The combination of strenuous workouts and spending most of your day sitting down can lead to all sorts of instabilities. You should probably als... read more »

  • Reinventing The Wheel As A Reflection Of Skill Level (RE: Mark Mandel)

    Posted on Feb 20, 2007 at 9:16 PM

    Now I'm all blushing.... awww stop it ;)... read more »

  • Loading Java Classes With coldfusion.runtime.java.JavaProxy

    Posted on Dec 4, 2006 at 8:40 PM

    Ben! Woah! Lots of questions! Well first off = what you've done there is actually pretty much a mimic of what JavaLoader does behind the scenes. Not that that is a bad thing, but is pretty much what it does. http://www.compoundtheory.com/?action=displayPost&ID=114 This should explain much of th... read more »

  • Loading Java Classes With coldfusion.runtime.java.JavaProxy

    Posted on Dec 4, 2006 at 6:35 PM

    Ben, Glad to see you having lots of fun with Java and CF. The difference between a Class object and an Object object, is that a Class object is basically metadata for an actual class. With it you can do all sorts of neat things, like ask it what methods you have on that class etc. It falls into ... read more »

  • Passing Arrays By Reference In ColdFusion - SWEEET!

    Posted on Sep 20, 2006 at 6:02 AM

    I was thinking about this on the way home - A Coldfusion array extends java.util.Vector (which implements List, and is syncronised), so I wonder if you create a java.util.Vector, will the reference trick work or not... Figured I'd leave it to you to work out for us ;o)... read more »

  • Randomly Sorting An Array In ColdFusion

    Posted on Sep 19, 2006 at 10:02 PM

    I think you'll hate me for this... but there is an easy java way to do this. (this is off the top of my head, but it should work) <cfscript> Collections = createObject("java", "java.util.Collections"); Collections.shuffle(yourArray); </cfscript> There you go, the array is shuffle... read more »