Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at CFinNC 2009 (Raleigh, North Carolina) with: Phil Molaro

XDOM.cfc - A ColdFusion Component For Easier XML Traversal, Manipulation, And Merging

Posted by Ben Nadel
Tags: ColdFusion

Yesterday, I shared some thoughts about XDOM.cfc - a ColdFusion component that provides an easier API for XML traversal, manipulation, and merging. Inspired by jQuery, XDOM.cfc maintains an internal collection of XML nodes that can queried and altered as a whole. Right now, there are only a few traversal and manipulation methods; but, I hope to add to those over time. If you want to take a look at the code, you can download it from the XDOM.cfc project page.

As always, if you have any suggestions on ways this can be improved, I'd love to hear them.




Reader Comments

@Rick,

Is funny you mention that - I thought some soft of toQuery() method would be player. I pictured it as some sort of parent/child query table. But the XDOM instance might contain multiple top-level nodes. As such, I wasn't sure how to think about it. Perhaps it would only convert the first node in the collection? Or do you think it should try to convert them all?

I probably should get on GitHub, right? I have an Apress coupon sitting around; perhaps it's time I get a book on Git and get my "learn" on. Seems to be what all the cool kids are using these days.

Reply to this Comment

The definitive guide is "Pro Git" by Scott Chacon and is available in its entirety online at http://progit.org/book/ . Amazon also has them for ~$20. (And it's from Apress.)

If you'd be interested in more interactive training, may I offer my services? Given your contributions to the community, I'd be happy to do a pro bono 2-hour webinar for you and whomever else you'd like.

Even if you want the down-and-dirty command line level tour, that only takes ~90 minutes for all but the really advanced stuff. A GUI-based intro takes about half that time. The rest of time could be used to talk about architecture and development patterns that Git enables.

I know the holiday season has everyone busy, so just consider that an open offer.

Reply to this Comment

@Rick,

I think that is the book I was checking out the other day. We use SVN at work; but, Git seems much more "community" friendly.

I really appreciate the offer - that's super kind of you. Perhaps that's an idea we can turn into some sort of screen recording. I'll hit you up via email.

Reply to this Comment

Post A Comment

?
You — Get Out Of My Dreams, Get Into My Comments
Live in the Now
Oops!
Comment Etiquette: Please do not post spam. Please keep the comments on-topic. Please do not post unrelated questions or large chunks of code. And, above all, please be nice to each other - we're trying to have a good conversation here.