Daniel Short
Member since Mar 18, 2009
- Profile: /members/3114-daniel-short.htm
- URL: http://www.dansshorts.com
- Comments: 17
Recent Blog Comments By Daniel Short
-
On Staying Focused And Productive In The World Of Programming
Posted on Jan 14, 2016 at 8:59 AM
Great advice all the way around Ben. I need to start adapting some of your writing habits in order to write another blog post since the one where I said I should write more :-).... read more »
-
The User Experience (UX) Of Having One Computer Monitor
Posted on May 5, 2014 at 8:42 AM
I agree 100% I used to have three monitors, and over time winnowed it down to the single 17" Macbook Pro I'm on now. Everyone else in the office is on two monitors, and every time I look over their shoulder to work on some code I'm left wondering where I should be looking.... read more »
-
HTTP Status Codes For Invalid Data: 400 vs. 422
Posted on Oct 17, 2012 at 10:22 AM
Great catch. I'll have to add that one to my list of things to watch out for in all of the remote services I've been working on lately.... read more »
-
ColdFusion 10 - Don't Use Dynamic Query Values In CFLoop
Posted on Apr 18, 2012 at 10:39 AM
Great catch, and excellent advice. I find over and over again, when reviewing older (or junior developer) code, that the shortcuts taken to leave off the query variable references within cfoutput and cfloop inevitably lead to variable clashing and unexpected results. Always always always scope thos... read more »
-
Join Me At InVision - We're Looking For Another ColdFusion / JavaScript Developer
Posted on Feb 23, 2012 at 8:24 PM
That's awesome man, looking forward to good things to come for you guys :).... read more »
-
Converting Numbers To A Character-Set Based Radix Using ColdFusion
Posted on Jan 25, 2012 at 9:42 AM
I've modified your methods to work with bigInts so I can create shortcodes from really large PKs. Here is the section I changed (with annotated comments where changes were made): <!--- Get a local copy of our value as we will be updating it as we divide into it. ---> <!--- DAN: Mak... read more »
-
Scalable And Modular Architecture For CSS (SMACSS) By Jon Snook
Posted on Dec 12, 2011 at 11:34 AM
The trick to making that work isn't to make sure that the entire app defines the inactive state as the same on every single element, but to define multi-class rules to make specific inactive display rules. So you would have div.toolbar, and div.toolbar.inactive. So you can have multiple inactive ru... read more »
-
Maintaining Key-Case During JSON Serialization In ColdFusion
Posted on Apr 1, 2011 at 11:59 AM
Would be nice to see if the save behavior exists if you define the return struct using implicit notation.... read more »
-
ColdFusion 9's ObjectSave() And ObjectLoad() Life Cycle Removes Object Meta Data
Posted on Dec 7, 2010 at 10:40 AM
@Ben, It'll mostly be used for persistance across application and server restarts. Complex objects that I'd rather not rebuild after an application or server restart will be saved out onApplicationEnd and then reconstituted (I just wanted to use that word) when the application starts back up. Dan... read more »
-
ColdFusion 9's ObjectSave() And ObjectLoad() Life Cycle Removes Object Meta Data
Posted on Dec 7, 2010 at 10:23 AM
Nice catch Ben, I'm using this in a few places for a new project I've been working on, and hadn't yet noticed that behavior. Definitely a bug I'm going to have to watch out for... Dan... read more »
-
Extending The Application.cfc ColdFusion Framework Component With CFInclude
Posted on Sep 20, 2010 at 11:46 AM
I'm curious why you might choose this route over just extending the root Application.cfc and override the methods and app variables from there.... read more »
-
The ColdFusion Application Server Tagline Contest ($50 Amazon Gift Card)
Posted on Jun 29, 2010 at 11:21 AM
+1 for the Tick reference :)... read more »
-
ColdFusion 8's OnMissingTemplate() - So Close To Being Good
Posted on Jul 1, 2009 at 10:59 AM
Hi Ben, I use a custom 404.cfm file in IIS to get my index.cfm on the end of any URL missing it. Here's an example: <cfset requestedURI = ListRest(cgi.query_string, ";") /> <!--- strip port ---> <cfset requestedURI = Replace(requestedURI, ":80", "", "ALL") /> <!--- if just ask... read more »
-
ColdFusion Tag Parameters Can Be Included In Separate Files (Thanks Mark Drew!)
Posted on Jun 17, 2009 at 10:24 AM
I've always equated includes (in any language) as Server-Side copy and paste. When I'm teaching people that are having problems understanding how to use includes, I tell them to just pretend that you copy everything from the include and paste it into the parent document. This falls right in line wit... read more »
-
ColdFusion 8 Per-Application Settings Get Partially Cached (And There's Nothing You Can Do About It)
Posted on May 6, 2009 at 10:36 AM
Angela and I have been dealing with this for quite some time. We ended up defining the CustomTagPaths outside any contructors, but then defining it again in the onRequestStart() to get around some race conditions we were experiencing. I think the CustomTagPaths is definitely something that needs to... read more »
-
ColdFusion Session Management And Asynchronous Page Requests
Posted on Mar 20, 2009 at 10:00 AM
Great explanation, and nice looking solution. I've had some issues with AJAX requests causing this same problem. I'll be playing with this solution as well. Thanks, Dan... read more »