Skip to main content

Matt W

Member since Dec 11, 2008

Recent Blog Comments By Matt W

  • Converting ColdFusion Date/Time Values Into ISO 8601 Time Strings

    Posted on Jul 29, 2013 at 2:35 PM

    I recently updated some code Constant Contact's API v2. In scheduling an email, I provide a ISO 8601 date. Although I believe the standard makes it optional, the API required the trailing decimals on the seconds. I just hardcoded ".000" to get: 2013-07-29T13:14:52.000Z... read more »

  • The School Of Practical Philosophy: Philosophy Works - Week One

    Posted on Jan 18, 2011 at 11:57 AM

    "Our goals: truth and wisdom." If you even obtain one of these at the end of the ten weeks then $90 truly was a bargain! Looking forward to more class summaries...... read more »

  • Way Of The Warrior: What Is A Warrior?

    Posted on Apr 9, 2010 at 8:57 AM

    And just for proper credit, "As iron sharpens iron, so one man sharpens another." comes from Proverbs 27:17. And the book containing that proverb has a pretty good road map for self-improvement of its own.... read more »

  • Learning ColdFusion 9: Understand ORM Events (Thanks John Whish!)

    Posted on Aug 25, 2009 at 11:45 AM

    Just for reference, Mark Mandell also has some helpful posts explaining Hibernate sessions and when things get saved, etc. read more »

  • Learning ColdFusion 9: Resetting Applications With ApplicationStop()

    Posted on Jul 29, 2009 at 3:20 PM

    The main reason I mentioned the framework reloading is because it is primarily done for the same reason: to reload any configuration changes (including ORMs such as Reactor or Transfer). I agree new functionality shouldn't be based on that practice though. I guess it would be interesting to know if... read more »

  • Learning ColdFusion 9: Resetting Applications With ApplicationStop()

    Posted on Jul 29, 2009 at 2:58 PM

    I'm somewhat on the fence here. I guess it is because I'm used to using frameworks such as Model-Glue and Mach-II where I reload the framework when making changes. To do this I call onApplicationStart() which essentially resets the application. It does not affect the sessions. It seems logical that... read more »

  • Why My Queries Hate Application Service Layers

    Posted on Jun 18, 2009 at 1:56 PM

    @Hal, Being a proponent of maintainable code you must agree that if you only ever had one Select, one Update, one Insert and one Delete query you have reached maintainability nirvana. The SQL may be littered with 50 conditionals, but who cares? Heck you could even send in an action argument and us... read more »

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

    Posted on Jun 17, 2009 at 3:17 PM

    I've always considered cfinclude to do just that, take another template and insert it right here. One exception though and I haven't tested this in a while, but I think that a cfinclude inside of cfoutputs does not recognize that it is inside those. The included template must have its own cfoutput ... read more »

  • CFHTTPSession.cfc Gets Request / Response Logging

    Posted on Apr 17, 2009 at 3:02 PM

    Hey Ben, I had glanced at this before but used some of my own functionality. Now in trying to refactor some code I'm giving it an actual try out. So far it is very easy to use and quite helpful. I did find a minor bug when trying to manually set the user agent. The SetUserAgent function accepts one... read more »

  • Hal Helms - Real World Object Oriented Development, Sarasota - Day Two

    Posted on Feb 26, 2009 at 3:20 PM

    I was just thinking about the Open-Closed principle as I contemplated making some edits to an object. I think the question for me would be when is an object done and considered to be "closed". Be it right or wrong, some web apps are never considered finished and are notorious for having new functio... read more »

  • Hal Helms - Real World Object Oriented Development, Sarasota - Day Three

    Posted on Feb 26, 2009 at 6:54 AM

    A typical user requirement I see is an "advanced search" where many inputs are available for a user to search on. In most cases only one or two fields are searched on, allowing for delegation to a specific function. But you have to allow for all fields to have data which necessitates a getByFilter t... read more »

  • Maintaining Sessions Across Multiple ColdFusion CFHttp Requests

    Posted on Jan 28, 2009 at 4:43 PM

    I just had a need for sending cookies back and found this blog post quite helpful. I was even able to use the original function as is. I did have to strip out extraneous quotes on the cookie value though. Also, in case anyone else has problems seeing the cookies that are being set, you may need to ... read more »

  • Object Oriented Programming And ColdFusion - What's The Point?

    Posted on Oct 27, 2008 at 11:20 AM

    At the risk of sounding quite naive here, what are some examples of applications that have behavior (and thus are more suited for OO)? The majority of web sites I visit are simply there to show me some data. Online banking, email, shopping, news, blogs, forums, facebook, ... are all just UIs for dif... read more »

  • SQL Join Table vs. SQL Entity Table And When To Switch

    Posted on Jun 5, 2008 at 9:57 AM

    But Ben, your relationship table isn't politically correct. What if the relationship needed to be boy_id and boy_id? "Not that there's anything wrong with that."... read more »

  • Compiling Several Linked Files Into One File

    Posted on Apr 8, 2008 at 4:13 PM

    What about using the new CF8 ajax goodness? Even doing a simple <cflayout> adds a ton of js and a few css files to your <head> section. There probably isn't any easy way to go back and grab those to put into one file.... read more »

  • Don't Be Lazy, Be Proud

    Posted on Jan 10, 2008 at 9:20 AM

    I think the "because I'm lazy" part could be translated into "because when a change request comes, the less code I have to modify, the better."... read more »

  • Attempting Switch To iTunes From WinAmp

    Posted on Dec 11, 2007 at 1:06 PM

    Lehi, I think QuickSilver is a Mac only deal and I think Ben is on a PC. Ben, you seem to have enough obstacle that you'd probably be better off with WinAmp for your purposes. Use iTunes simply to download the audio books you want, then import them into WinAmp. I use iTunes only for the management... read more »

  • Ask Ben: Simple Recursion Example

    Posted on Dec 5, 2007 at 10:20 AM

    Thanks for this illustration Ben. I've understood the concept of recursion, but never had a need for it. Seeing this example helped me get it straight in my head. You have a knack for breaking a complex concept down and teaching others.... read more »

  • Populating An Existing, Formatted Excel Document Using ColdFusion And POI

    Posted on Jun 8, 2007 at 2:49 PM

    It doesn't seem that Ben has included it yet, but the java method to get the last row number is getLastRowNum() Hope that helps.... read more »

  • Populating An Existing, Formatted Excel Document Using ColdFusion And POI

    Posted on Mar 3, 2007 at 6:40 PM

    Ben, thanks for all your work on the POI interface. I have found another Java package that takes the idea of populating an existing, formatted Excel Template. It is called jXLS and seems to work pretty well. It uses the Jakarta POI package. It is a separate java class install (i.e., copy a file to a... 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