Skip to main content

Justin Carter

Member since Dec 11, 2008

Recent Blog Comments By Justin Carter

  • ColdFusion 10 - Script vs. Tags And My Coding Methodology

    Posted on Mar 30, 2012 at 7:24 AM

    Interesting that you've made the switch to script based components Ben! Out of curiosity, how are you finding the syntax of database queries and queries of queries? I'm still finding them way too clunky and verbose...... read more »

  • Getting Ready For Scotch On The Rocks (SOTR) 2010

    Posted on May 20, 2010 at 10:58 AM

    @Ben and @Ray, fingers crossed that volcano behaves for your flights, looking forward to meeting you both :) And Ben, yep the UK has Monster, not sure if the range of flavours is the same though.... read more »

  • The Tick On ColdFusion

    Posted on May 14, 2010 at 9:46 AM

    ROFL! Ben, that's awesome. That's wallpaper worthy :)... read more »

  • Create A Running Average Without Storing Individual Values

    Posted on Jul 3, 2009 at 2:57 PM

    This is how I always want to implement average rating kind of features (with just two fields) but I usually have the requirement for ensuring a user can only add a rating once, hence resorting to the usual "store each value with a userID in an intermediate table" approach :P... read more »

  • ColdFusion 8's OnMissingTemplate() - So Close To Being Good

    Posted on Jul 1, 2009 at 5:54 PM

    The most obvious use for onMissingTemplate() is when you actually want to handle a request for a .cfm file that doesn't exist. ColdFusion processes all .cfm requests and so in that case it would leave you with a ColdFusion template not found error page rather than showing the web servers 404 Not Fou... read more »

  • ColdFusion Tag Parameters Can Be Included In Separate Files (Thanks Mark Drew!)

    Posted on Jun 17, 2009 at 12:10 PM

    I've also done this with nested custom tags in the ColdExt project, with a bit of trickery looking through the list of parent tags you can safely ignore standard CF tags (including cfinclude) and only pass data back to a parent tag that belongs to your own library (using cfassociate), even when the ... read more »

  • CFM Templates And Remote CFCs - They're All Just ColdFusion Page Requests

    Posted on May 18, 2009 at 11:05 AM

    Maybe people are just impressed that CF8 lets you specify returnformat="plain" on remote method calls to let you get back a plain text response, since CFMX7 and before doesn't support returnformat and always wraps the response in a WDDX packet. A few weeks ago I was working on a CFMX7 server and w... read more »

  • The New - Same Content, Fresh New Look

    Posted on May 10, 2009 at 6:06 PM

    Looks slick Ben, congrats :)... read more »

  • Ask Ben: Executing ColdFusion Custom Tag Code If First Run Only

    Posted on May 4, 2009 at 7:08 PM

    And now I realise that it's somewhat useless passing in a scope if it might not exist... Haha.... read more »

  • Ask Ben: Executing ColdFusion Custom Tag Code If First Run Only

    Posted on May 4, 2009 at 7:06 PM

    Errrr, that's supposed to be attributes.scope and not arguments.scope too :)... read more »

  • Ask Ben: Executing ColdFusion Custom Tag Code If First Run Only

    Posted on May 4, 2009 at 7:05 PM

    @Ben: Ahh, I see what you mean about the calling context and using something like cfthread, nice trick :) Perhaps you could also pass a reference to the namespace/scope to the custom tag rather than passing the namespace as a string? e.g. <cf_demo2> or... <cf_demo2 scope="#variables.myNa... read more »

  • Ask Ben: Executing ColdFusion Custom Tag Code If First Run Only

    Posted on May 4, 2009 at 4:37 PM

    I do a similar thing in ColdExt to keep track of loaded JS resources, though I just use the request scope directly, as you say you would traditionally do. Is the combination of the caller scope + StructKeyExists() letting you do something that wouldn't normally be possible, or is it just letting you... read more »

  • Randomly Executing Only One ColdFusion Custom Tag Child

    Posted on Apr 22, 2009 at 12:18 PM

    Custom tags rock :) I think complex nested custom tags are one of the most under used features of CF. The cfassociate tag, GetBaseTagData() and GetBaseTagList() can do some pretty awesome stuff and until I wrote ColdExt I had no idea just how powerful a few custom tags could be. The cfexit/loop tag... read more »

  • ColdFusion Components As Data Types - Help Or Hindrance?

    Posted on Apr 9, 2009 at 3:24 PM

    I think one reason enough to not use CFC's as data types is the lack of performance when it comes to object instantiation. Usually a data type is a simpler construct than a full blown class (which is pretty much what a CFC is). For example in C/C++ the "struct" keyword is what you use to declare a ... read more »

  • Interesting Behavior When Swapping Live Nodes In A ColdFusion XML Document

    Posted on Dec 1, 2008 at 6:45 PM

    Yep Duplicate() will fix the direct assignment within the XML document :)... read more »

  • ClearCode Standards Project

    Posted on Apr 25, 2008 at 6:45 PM

    Oops, I meant to say as David pointed out in his reference to Oxygen (not John) :P... read more »

  • ClearCode Standards Project

    Posted on Apr 25, 2008 at 6:43 PM

    I really like the way you're applying these concepts to the "usability" of code and you present it really well and really convincingly. In practice I don't think I could ever bring myself to write every attribute of every tag on it's own line, but as John mentions perhaps a good IDE should provide a... read more »

  • Don't Be Lazy, Be Proud

    Posted on Jan 10, 2008 at 5:42 PM

    Actually, that probably should be "any workload" rather than "excess workloads" :P... read more »

  • Don't Be Lazy, Be Proud

    Posted on Jan 10, 2008 at 5:36 PM

    Perhaps we just need to submit a new meaning for the word lazy :) la·zy [ley-zee] adjective, 1. eager or inclined to write efficient reusable code, especially to avoid excess workloads henceforth. Lazy = Awesome!... read more »

  • Using Inline List Elements

    Posted on Jan 2, 2008 at 9:18 AM

    Oh yeah, if you need to absolutely position the UL then floting it to the right is out (unless you can put it inside another element that is absolutely positioned instead)... Generally it should work fine though :)... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel