Thursday, March 26, 2009

cXML – the tool you need in your IT tool box…

I probably get about four or five calls a month from recruiters asking about if I would like a job based on my knowing what the heck cXML is.  It’s one of those skills that you never think about being important – until people start calling you and asking if you’d like a job because you know what the heck it is.

In the current economic state where every edge in getting a job counts – cXML is one of those tools you want to put in your tool box where you can find it.  The funny thing is – it’s basically pretty easy to work with and understand.

So … what is it and how can you find out about it? Well it is a protocol – that was created by Ariba for eProcurement.  Now if you don’t know what Ariba is you probably need to go back to eCommerce school and take class 101 - “How web sites sell things”.  Ariba pretty much created much of the concept of B2B back in the late 90’s, in fact they were one of the first B2B companies to go public and cXML is one of the reasons for their success.

cXML isn’t just a fancy version of XML.  For anyone who doesn’t know how commerce on the internet works you the customer, log into a web site, you find something you like, you click on it and an order is placed and you miraculously get your product.

What happens behind the scenes in this scenario that you don’t know is that it really works something like this You – the user – clicked on a link for a book – say on ArugulaBooks.com, and the link to that book is really just an item in a catalog, and that item was picked from the catalog and added to your “cart” the cart being your order.

But Arugula for example, doesn’t create books do they?  And they’d go broke pretty quick if they had to keep copies of every one of those books you see on their site sitting in a warehouse.  So what really happened is Arugula Books has probably a couple hundred or more catalogs of books from different manufacturers of books. When you clicked on that link to put the book in your cart – this really incredible story began that interacted with several different businesses. 

First you and Arugula created an order on their system – that order generated an order to a book distributor – and the book distributor received that order and arranged to have it shipped with FedNext shipping directly to your house, and Arugula also sent another Invoice message to your credit card company. 

All you see on your card – all you know – is you clicked on a link – and you got a book 2 days later. 

But the story of cXML is the story of how all that happens.  A “proper” cXML order has room for all the fields necessary for those transactions.  It has in it’s header all the info needed to communicate who the company is placing the order, who the company is that’s filling that order, where it’s supposed to be delivered, how it’s supposed to be delivered, the kind of item you ordered, credit card info, heck it even knows every item by it’s UNSPSC code.  

So if you can learn to read a cXML document – and you can learn what it takes to make one work with all these different systems – you pretty much have a solid chance at landing a very good very solid job.

You can find out more about cXML at some of these links … and I’ll cover more about how to read it, what rules are required to make a good cXML document – and even a tool I created to test them in the next few blogs.

.Now – I’m not going to dig in too deep but you should find the next few blogs here a good starting point for understanding this amazing and sometimes complex process. 

That’s your reading assignment for this week…

Monday, March 23, 2009

Boredom leads to adventures…

So I’ve been pretty bored of late.  Over at work I’m working on eCommerce issues – mostly dealing with the various choices vendors have in linking to our network and they all involve XML based products.  You’d be surprised how many top notch IT departments have grown so reliant on tools by Oracle and others for their procurement solutions they literally click buttons and fill in forms without knowing how their tool really works. 

Not that I’m an expert on procurement (well actually I suppose technically I am) but it seems to me that any time you’ve sufficiently automated yourself to the point that you don’t know what kind of XML you’re pumping out, how it gets to the other guy and what kind of an output you need to put out… your over adapted to your technology and now dependant on it.  Which is never a good thing.

So naturally – since I handle a lot of post-production troubleshooting these days… I automated things with a few tools.  I’ll detail these out in a future blog since I’m pretty sure most people have never had to deal with cXML or understand the difference between it and standard XML, and I’ve encountered several “Oracle Gurus” who keep insisting that what Oracle pumps out is “XML”… it is – but not in the classical sense anyone else would expect.

So I’ve started a couple projects there to make it easier for people and those are forth coming…

I also… decided to do a bit of video fun and that… is how I fought off boredom this weekend.  Did two bits you can find here

 

and here…

 

Sunday, March 8, 2009

Who watched the Watchmen?

I think by now everyone knows – I’m a fan of Alan Moores the Watchmen.  I also think that there’s a fair chance a lot of people have seen the movie.  Experienced it. 

The graphic novel is a very powerful story that you either get – or you don’t.  As they went to the effort of creating the world of the Watchmen on film they were so very careful to keep the detail of the visual.  Zach Snyder the director – is great for those kind of details.  And he did – he pegged it visually almost perfectly So where the movie works best is in replicating that world. 

Where it fails is in those areas that don’t fit on film.  The subtle nuances that can only come from a book.  What we are left with on screen from his efforts can best be described as a visual feast – an optical orgasm – a color filled three dimensional… turd.

(If you have not seen the movie – turn back now – spoilers ahead)

image I am not a purist.  When I heard that the original ending wasn’t used I kind of wanted to cut Zach a break because all of the visual elements of the film were done so well in the pre-release scenes we got to see.  Now I have to admit that by removing the original ending and substituting Doc Manhattan as the “big evil” that the world must fear to draw us together.  Now not only didn’t this work as a plot device but there is a rule about monkeying with a classic story – if you’re going to change the plot – change it for the better.  So – all of that was a waste.  Zach’s attempt to provide us with the message that the only reason we’re decent humans is our fear of Dr. Manhattan (substitute “God” for Dr. Manhattan and you’ll see what Snyder was shooting for and missed) – this message almost everyone missed who wasn’t watching for Dreibergs lines at the very end.

And the hinting that – perhaps – maybe – there could be “more of the story” a … sequel?  That’s just incredibly poor taste.  For those who missed these hints – trust me it’s all there.  It was blended carefully … hidden, almost like a subtle threat - but it’s there.  Snyder sold any die hard fan out with that ending.  The original, would have made far more sense.  I had to ask several people if anyone else caught the supposed logic of tying the nukes to the death of the inmate Rorschach “greases” in the film. 

With the supposed logic that when he died – the prison would go insane – and this somehow would be the trigger for Dr. Manhattan’s global attack.  Umm… yeah… that… is a lot more believable to the world and will bring them together than being attacked by an alien life form which wipes out all of New York, and causes madness for miles around. 

The film was rushed – and although visually detailed – the story was so lacking as to cause a feeling as if we, like Dr. Manhattan, are merely observers to this world and have no real emotional stake in it.   And I can’t blame the actors who did amazing jobs on this.  Each understood their characters so well and brought them to life adroitly – with the exception of Ozymandias.  Who was, card board – a cut out of the book’s character and not a very good one at that. 

If it were not for Jackie Earle Hailey’s stabilizing presence of the character Rorschach this film would not even merit discussion.  It’s his complete and total ability to sell the character of Rorschach that allows the film to work even on a basic level.  He’s supported of course by the other performances that are damned good, but it’s his time on screen both with the mask on and off that really sells this movie. 

Even the death scene works without going over the top, and he brings to the role the sensitivity and an empathy needed for us to buy the meaning to his death.  This is where the film really works – in the scenes with Rorschach.  Here Snyder can wring out of the story something close to what the story really is, his attempts with Manhattan, and NiteOwl are well intended but they’re only “good”.

This is not a movie that can get away with “good”.  You either have bought into the premise presented and are going along with it or you haven’t.  Which frankly is where it fails and falls flat. It’s the insecurity of Snyder’s need as a director to reinforce the world he’s created that moves it from allowing us to accept it to rub it in our faces.  It’s in his need to keep beating us over the head with “Hey this is an alternate 1985” or “Hey did you notice I can put yet another blue penis into this shot in spite of the fact that it wasn’t in the book… I just thought it’d be cool to show a blue man’s penis so you’d know he has not concept of or the need for clothing…”.  So instead of just having these details where they belong – they become a gaudy display, they rub our noses into this world. 

Instead of acceptance it becomes a struggle to accept.  The actors have given us their all, the sets, the crew, all have provided us with a perfect replica of the world needed for us to fall into this reality … and then the Director has to screw it up by forcing this world on us rather than letting us see it, accept it, and not need to have storied aesthetics that add nothing and make us go “Huh?  What? – Why… Wha?” and before we can digest it – have the story move on again to a moment which seems not to make any more sense than the words before.  As a result … It’s a long movie that ambles all over the place trying to make a point and in trying to make so many points - it’s doubtful if it ever does. 

Others may judge this film differently but to me – this was a film that needed to be made in 3 films – and to take your time.  But that’s not what we got.  It was pretty.  It was kind of deep.  But it was not… the Watchmen.