By barneyb on November 28, 2006
Scriptaculous has some fairly slick drag and drop facilities built in, though they're clearly targeted at backing some of the other features (like Sortables). I was playing today and noticed the lack of an onUnhover callback corresponding to the onHover method of a Draggable (i.e. a drop-zone). That's not needed for Sortables, but [...]
Posted in javascript
By barneyb on November 28, 2006
Just ran into an interesting problem with IE7. It doesn't seem to allow JavaScript prompts without confirming with the user that it should allow them – per page. I'm not sure what the logic is, but perhaps mitigating certain types of XSS attacks? Something to watch out for, I guess.
Posted in development
By barneyb on November 27, 2006
I don't use CFLOOP with the condition attribute very much, and when I do, it's usually for simple stuff like a 'while true' loop. However, I ran into a weird quirk today with it, and thought I'd share. Take this code:
[cfloop condition="count LT #config.MAX_IMAGES_PER_IMPORT#">...
Pretty simple, right? As you undoubtedly know, CFLOOP evaluates [...]
Posted in coldfusion
By barneyb on November 17, 2006
I've been using DWR quite a bit on a new Java application, and WOW, it's awesome. It's not really that different from any other JS remoting toolkit, but it is really slick. In a nutshell, you declare "remotable" objects (mine happen to be Spring-configured services) along with what methods are remotable, and any complex data [...]
Posted in java
By barneyb on November 17, 2006
Last night I presented at the Portland CFUG/ASUG about ColdSpring. There were at about 25 people in attendance, both in the room and watching via Breeze. Here's a link to my presentation files, and Sim will be posted them to the PDXCFUG site as well. He'll also put up a link to [...]
Posted in coldfusion
By barneyb on November 15, 2006
Tomorrow evening I'll be presenting on ColdSpring for the Portland CFUG/ASUG. Festivities start at 5:30 with pizza and socializing, with the meeting proper starting at 6. In my mind, ColdSpring represents one of the top three events in ColdFusion's world, along with Fusebox 3 (the first "real" CF framework to enjoyed widespread [...]
Posted in coldfusion
By barneyb on November 10, 2006
I've been doing a lot of Java lately, and (at least at work) moving away from ColdFusion. I've got mixed feelings about the transition, but that's a different post. Today I was doing some VERY primitive profiling on the application, and was amazed.
Not surprisingly, the majory of the request processing time went to data access. [...]
Posted in java
By barneyb on November 9, 2006
I swear I didn't get this blog back online just to bitch. That being said, the theme I installed last night apparently doesn't work correctly in IE. Snippets of text work, but the vast majority just blanks out for some reason. So I put up one of the other themes that I'd been playing with, [...]
Posted in meta
By barneyb on November 9, 2006
Saw this on Brandon Long's (the author of ClearSilver) sig line:
Don't get suckered in by the comments — they can be terribly misleading. Debug only code.
– Dave Storer
Which isn't to say comments are bad, but they are NOT a replacement for clear, readable code. Well written code should require very few comments, as it [...]
Posted in aside
By barneyb on November 7, 2006
Not really. Fortunately, WordPress reads Movable Type exports, which greatly smoothed the moving of blog entries and comments, but that's just the tip of the iceberg. I've also added RewriteRules to automatically redirect from any of the old RSS/Atom feeds to the new feed, so aggregators/feed readers shouldn't have to be updated. [...]
Posted in meta