2005

You are browsing the archive for 2005.

YubNub

Spike sent me this link to www.yubnub.org,
which endeavors to be a "command line for the web", as they put
it.  It's a pretty cool idea, really.  You create commands
that are implemented with web services, and then anyone can run your
commands via the shell.  Not sure if it has any real application,
but it's definitely an interesting use [...]

Death to DevNet Edition

So I just set up a CF7 server a week or two
ago and started moving one of my apps over to it.  We use the
CF6.1 DevNet edition on our dev servers, and it's great.  I
figured I'd do the same with CF7.  All going along great until I
start testing our admin area, which relies heavily on [...]

Revenge of the Dragon, pt II

Couple more little glitches as the app has continued to be tested:
1)
I mistyped 'reqeustTimeout' [sic] in a CFSETTING tag.  BD didn't
complain, and I didn't catch it, because the extra time for the request
never happened to be needed, but CF threw a syntax error immediately.
2)
BD 6.2 puts the CFFILE result struct from uploads into local variable
(if [...]

Fusebox 4.1 Lexicons

I was the presenter at the Portland, OR CFUG last week, and the
topic was Fusebox 4.1.  One of the big points of interest was
custom lexicons, so I thought I'd share a couple examples here as well.
Fusebox
4.x is based around an XML grammar (composed of individual verbs, much
like CFML is composed of CF tags) for describing [...]

Revenge of the Dragon

I know what you're saying: "please, not more whining."  Well
rest assured that this isn't that kind of a post.  Yes, I ran into
some more problems with BD's compatibility with CFMX last night, but
I'm not bitter, I swear.  I took an app that I'd written for BD
and was moving it to CF7 this evening and found [...]

The Musical Meme

Thanks to my dear friend Simeon, who not only sent me this, but pressured me into actually doing it.   Grumble…..
Total Volume (of my MP3 library): 5.32 GB
Last CD Bought: No idea, been too long.  Probably Billy Joel's Greatest Hits Vol. III

Song Playing Right Now:
"Save Me" – Aimee Mann

Five Songs I Listen To a [...]

CFARGUMENT/CFPARAM and DEFAULT

Say I have code like this (intentionally left incomplete):
<cffunction name="myMethod" …>
  <cfargument name="item" … required="true" />
  <cfargument name="childList" … required="false"
    default="#getChildList(item.id)#" />
  … do some stuff …
</cffunction>

Now you'd hope that CF wouldn't actually execute the getChildList
method unless it the variable was missing, but from the structure of
code, you might expect it to anyway.  Fortunately, [...]

XPath, xmlSearch, and Namespaces

I've been doing a bunch of XML stuff over the past few days, and ran
into an interesting issue.  If you have a default namespace
defined in a document that you're going to run xmlSearch on, you have
to respect that namespace.  What does that mean?  You need to
prefix your element names with a colon.  Take these three [...]

Fusedocer Updated

A long while ago, I wrote a utility called Fusedocer that parses a Fusebox 3 application and generated per-fuse documentation similar to the way JavaDoc works. It was quite useful at the time, but since I moved to Fusebox 4, I'd almost forgotten about it. Turns out people are still using it though, [...]

Watch out for Inherited Meta Data

I've been working on a project that makes heavy use of metadata over
the past few weeks and just got bit hard by a little quirk with
metadata.  Metadata is created on the first call to getMetaData()
for a given CFC type, and then cached for quicker subsequent
recall.  That's a good thing.  However, you can run into
issues with [...]