Page is a not externally linkable
- Code, Content, and Presentation
-- XML Development
---- XML Datafeeds to Database


dylanz - 8:51 pm on Jan 22, 2009 (gmt 0)


Thanks for the great suggestions everyone, very informative.

A caveat to my approach is that I'm versioning product records. There is logic to see if prices, sale prices, descriptions, etc have changed, and then doing the necessary versioning if so. That definitely adds some extra logic, but, some of the approaches above would still fit the bill.

Hah... XML. Coming from a Java background, you start to think XML is the only format to handle structured data ;)

XML does have some perks however, and I'm still going to use it, as the libraries and code used to parse the data ends up being a lot cleaner than using CSV/TAB/etc. Breaking out generic, re-usable bits of processing code in XML seems to be a little more elegant. Also, you'd assume that most third parties would have XML as an option, and I wouldn't have to switch contexts if they didn't provide CSV/TAB.

In the end, I need to run my processing code in production, as the machines are a lot beefier than my local laptop. It's a touchy process, and making sure you pay attention to the operations/memory allocation/etc routines is crucial. I already found one small allocation that was adding about 10 minutes to the processing :)

Thanks again everyone :)


Thread source:: http://www.webmasterworld.com/xml/3826763.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com