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.
Looking For A New Job?
- Back-End Engineer - Node.js & Mongo at Interface Foundry
- Senior ColdFusion Web Developer at HD Web Studio
- In House ColdFusion at Marketing Holdings
I got it. You are Great!!!
Thanks my man, hope you like it.
We gotta get you on GitHub. I'd love to submit an
patch for this.
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.
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.
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.