Viewing by month: November 2004

Nov 30 2004

I'm being DOS'd. Poorly.

Well, I guess you're someone when your server is under a DOS attack. Please excuse the slowness, but one of the sites we host provides the backend for a controversial Firefox extension, and I guess someone doesn't like it.

Sad part is, they can't get our CPU util above 50%.

9 comments - Posted by Joe Rinehart at 10:02 AM - Categories: Site News

Nov 30 2004

Learn to Love the Factory Method Pattern

A few weeks ago I posted a introduction to the DAO pattern. While it's handy on its own, it needs to be used with a few other patterns to really come alive: the Factory Method and the Abstract Factory Patterns. In this post, I'll introduce the Factory Method pattern.

Read more...

6 comments - Posted by Joe Rinehart at 9:50 AM - Categories: ColdFusion MX

Nov 29 2004

SOT: Get Foolish, Get Rich

As I watch my first self-researched two-bagger approach and my long-term holds start to pay off, I'm wondering how many of us developers don't pay any attention to money. If you're not thinking about the future, you're letting yourself down. Get Foolish and change that.

Read more...

1 comments - Posted by Joe Rinehart at 10:11 AM - Categories: Off Topic

Nov 28 2004

Oops: cfLocation in a cfTransaction

Oops. If you're doing a cfLocation after a query of some sort, and that query's in a transaction, make sure you locate after committing the transaction (usually by closing the cfTransaction block).

Otherwise, you don't get much, and spend a little while wondering why. Like me, until I noticed the transaction.

3 comments - Posted by Joe Rinehart at 7:51 AM - Categories: ColdFusion MX

Nov 16 2004

November 15, 2004: The Day of the DAO

I think I'm going to keep November 15th listed as a ColdFusion holiday named "The Day of the DAO" - it seems to be the day patterns , and specifically the DAO pattern, started to get a lot of visibility outside of the Fusebox and Mach-ii world. I wrote a long post on it (available here), DAO talk dominated Sean (Corfields)'s Permanent Meeting (go there), and a massive thread on the topic spiralled out of control on CFCDev (read it). Hopefully, [software] design topics will continue to be a popular topic, and we'll see them get more and more used in conjunction with CF.

4 comments - Posted by Joe Rinehart at 7:57 AM - Categories: ColdFusion MX

Nov 16 2004

jComponents: 2000 downloads, top of Google!

The jComponents set of custom tags has passed 2000 downloads. I also did a quick Google for "jComponents," and it looks like my site has gotten ahead of the Java sites dealing with the Java jComponents. Oops. More about the tags at http://clearsoftware.net/client/jComponents.cfm.

1 comments - Posted by Joe Rinehart at 7:49 AM - Categories: ColdFusion MX

Nov 15 2004

CF Web Services returning complex arrays

CF will understand an array of its own native structure type, but it'll leave .NET (and Java as well, I think) in the dark. It's a little extra work, but you'll need to use CFCs to define the type returned in the array. W/o going into to much detail (there'll be something in print on it soon), you return an array of CFCs with members defined via CFProperty.

Example service / client at http://clearsoftware.net/complexArrayWebService.zip.

2 comments - Posted by Joe Rinehart at 1:36 PM - Categories: ColdFusion MX