Community Member Profile
- Profile: /members/1537-Matt-Osbun.htm
- Comments: 26
- Points: 154
Recent Blog Comments By Matt Osbun
-
Learning ColdFusion 9: Using CFQuery In CFScript Can Enable SQL Injection Attacks
Posted on Aug 7, 2009 at 1:55 PM
@Tim Sorry- I managed to completely miss your point. Seems to be my theme for the day. :(... read more »
-
Learning ColdFusion 9: Using CFQuery In CFScript Can Enable SQL Injection Attacks
Posted on Aug 7, 2009 at 1:05 PM
@Tim Seems to me that's a lot of effort that could be easily avoided by using <cfqueryparam>... read more »
-
Learning ColdFusion 9: Using CFQuery In CFScript Can Enable SQL Injection Attacks
Posted on Aug 7, 2009 at 8:34 AM
@Gary If you're talking about CACHEDWITHIN or CACHEDAFTER, CF8 lifted that restriction. And if the choice is between <cfqueryparam> and CF's built in caching, roll your own caching scheme, or use one of the many solutions available. Far easier than rolling your own SQL inj... read more »
-
Learning ColdFusion 9: Referencing Arrays Returned From Methods
Posted on Jul 14, 2009 at 3:09 PM
And it's about time, too.... read more »
-
Adobe Launches ColdFusion 9 And Bolt Public Betas
Posted on Jul 13, 2009 at 9:12 AM
Can't help but notice that despite the fact that Bolt is built on Eclipse, there's no Linux download. And when I downloaded Bolt into my Windoze install, I found out that none of my existing Eclipse project folders could be used. I'm still going to give Bolt a look, but I don't see it... read more »
-
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 p... read more »
-
Using Script Tags As Data Contains In AJAX-Powered jQuery
Posted on Jun 9, 2009 at 8:52 AM
@Ben It seems to me that if you're using the rel attribute and maybe storing a hashmap in the metadata, the position in the page souldnt matter as much. Something I'm curious to play with.... read more »
-
Using Script Tags As Data Contains In AJAX-Powered jQuery
Posted on Jun 9, 2009 at 8:19 AM
Interesting. I've been playing with the idea of metadata Javascript objects to make DOM manipulation easier. I think I like this approach better than what I was doing, though.... 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... 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. $.0... 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 pas... 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 »
-
Dot-Character Matches In ColdFusion And Java Regular Expressions
Posted on Dec 22, 2008 at 10:43 AM
@Ben I'm not against dealing with an upgrade at all. I'd just rather Adobe didn't deliberately make these things harder. Especially, as in this case, when there's a perfectly workable solution using Java. One that, IMO, isn't noticeable more complicated than using CF.... read more »
-
Dot-Character Matches In ColdFusion And Java Regular Expressions
Posted on Dec 22, 2008 at 10:32 AM
@Ben Even for those of us who do our own development, backwards-compatibility can be a PITA. Even upgrades that are supposed to work (ie, 6.1 to 7) have issues that you probably won't notice until an application starts throwing errors. I remember an issue with <cfxml> working slight... read more »
-
Ask Ben: Splitting Strings In Javascript To Form New Variables
Posted on Dec 19, 2008 at 5:43 PM
var urlData = "foobar| http://www.myurl.com "; var urlStruct = {"label": urlData.split("|")[0], "url": urlData.split("|")[1]};... read more »
-
Dot-Character Matches In ColdFusion And Java Regular Expressions
Posted on Nov 26, 2008 at 11:42 AM
Maybe it's just me, but the more I use regular expressions in web applications, the more I realize that it would just be easier to use Java rather than CF. The last three or four times I started out using REFind, I ended up using a Java Pattern Matcher.... 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 d... 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... 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 »



