Skip to main content
🎄 Early Access Discount 🎄 Feature FlagsFrom Concept to Cultural Revolution

Matt Osbun

Member since Dec 11, 2008

Recent Blog Comments By Matt Osbun

  • A Problem With My Coding Methodology That's Driving Me Crazy

    Posted on Jun 12, 2009 at 1:32 PM

    @Eric, @Tony Using bracket notation will definitely preserve variable case. Found this out when I was getting more into JSON. I would use CF to return JSON data for consumption in javascript and all my variables would turn up IN UPPERCASE. Stumbled across the fact that bracket notation preserves... read more »

  • Using The OnError() Event Handler Implies A "200 OK" Response Status Code

    Posted on Apr 29, 2009 at 1:58 PM

    @Ben Didn't mean to make it sound like you were saying not to. Just pointing out how I've used that in the past. @Rob True, but in this case that's not so much a problem. By the time the error hits the point where I override the response code, something has gone terribly wrong and I want to kno... read more »

  • Using The OnError() Event Handler Implies A "200 OK" Response Status Code

    Posted on Apr 29, 2009 at 9:40 AM

    Overriding the response code is something I do when I'm making AJAX requests. I find it far easier to create a callback method that responds to a 500 response than to try to tell the difference between an actual "200 OK" response and an error that's been given a "200 OK" response code. $.02... read more »

  • Extending Classes In Object Oriented Javascript

    Posted on Mar 3, 2009 at 8:17 AM

    If you're interested, Prototype does a pretty good job of emulating class-based inheritance. The example given at http://www.prototypejs.org/learn/class-inheritance is: // properties are directly passed to `create` method var Person = Class.create({ initialize: function(name) { this.name =... read more »

  • Ask Ben: Parsing String Data Using Javascript's String Replace() Method

    Posted on Feb 13, 2009 at 8:48 PM

    I didn't know you could do that with string.replace(). I always thought- and read- that the second argument had to be a string. Very cool... read more »

  • Hal Helms On Object Oriented Programming - Day Two

    Posted on Oct 22, 2008 at 8:03 AM

    Hal did the same thing to a class I was in a year or so ago, albeit with a less practical example. As was planned, I'm sure, it quickly exploded into a *lot* of modeling for what we thought was a simple task, with Hal saying over and over again "What does it mean to be that", and "Objects do things... read more »

  • Apple iPhone 3G Has Been Extremely Frustrating

    Posted on Aug 27, 2008 at 7:48 PM

    By far, not the first time I've heard an iPhone 3G owner that is terribly disappointed in the difference between the hype and the product. As I write this on my utterly dependable Blackberry Curve. :) Hope it works out for you.... read more »

  • OOPhoto - If Object.Validate(), Why Not Object.Save()?

    Posted on Aug 18, 2008 at 10:56 AM

    "You may think I am making too big a deal of such a small decision, but really it is quite appropriate." I've read, listened to, and talked to more than a few very skilled application architects that would disagree with the notion that this is making a lot out of a small decision. Or that this is ... read more »

  • ColdFusion Application.cfc OnRequestStart Returns False To Kill Page Load

    Posted on Jul 30, 2008 at 2:25 PM

    And once again, I run into a problem and think, "Wait a minute- I saw something like this on Ben's blog..."... read more »

  • I Helped To Set A World Record

    Posted on Jul 3, 2008 at 10:14 AM

    I was actually late to a meeting that day, so I could jump in and start downloading as soon as I could...... read more »

  • Compiling Several Linked Files Into One File

    Posted on Apr 8, 2008 at 2:04 PM

    Ben- I'd hesitate to use "smart numbers" in your file name to force a browser to re-request. Instead, try using ETags. Shouldn't be difficult to use CF to insure that a new ETag is used. http://en.wikipedia.org/wiki/HTTP_ETag... read more »

  • Using A SQL JOIN In A SQL UPDATE Statement (Thanks John Eric!)

    Posted on Mar 10, 2008 at 9:55 AM

    How odd that I would stumble across this. Recently I started using UPDATE...SET...FROM to persist an array of objects in one SQL statement. Essentially, I pass an array of components to a persistence object, and construct an in-memory table within the UPDATE statement, looping through the array ... read more »

  • DreamWeaver CS3 Slows Me Down

    Posted on Feb 19, 2008 at 10:16 AM

    @Brian In any CFC, whether output is set to true, false, or left off, the following will display to the browser: <cfdump var="#varname#"> <cfabort> I've set up an eclipse snippet and a key combo to prompt me for a variable name and insert that text at the cursor's location.... read more »

  • DreamWeaver CS3 Slows Me Down

    Posted on Feb 18, 2008 at 11:40 AM

    Hi, I'm Matt and I (sometimes) use HomeSite. :) I'm pretty much a dedicated Eclipse user. Yes- there are quirks, but IDEs are quirky. I just really like Eclipse. That being said, I think RDS works much better in HomeSite, and HS has it's place in my IDE roundup. I gave Dreamweaver CS3 a chance... read more »

  • The Fine Art Of Small Talk By Debra Fine

    Posted on Dec 3, 2007 at 4:07 PM

    I'd tell you to just embrace your inner introvert, but that would just make your inner introvert very uncomfortable...... 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