I am working on a new website, and the XML file we will be getting from our vendors will have 82 fields. Will it make sense to build a new database for AbleCommerce or is it still OK to add extra fields from the XML files.
Anyone has any experience on this? Thanks.
XML vs SQL data fields
- Shopping Cart Admin
- AbleCommerce Admin
- Posts: 3055
- Joined: Mon Dec 01, 2003 8:41 pm
- Location: Vancouver, WA
- Contact:
I pull an XML feed now.
My process involved creating a class for the XML data so it is strongly-typed in code for my import/update routines. Made it much easier to work with although null values are still the work of the devil himself.
I created a script that makes a new temporary table in SQL. Then I load the XML feed into the table. From there my code processes through all the records. The end of my code drops the table and the work is complete.
Probably not the most efficient, but speed isn't my enemy just yet - only about 10,000 items in the XML feed.
My process involved creating a class for the XML data so it is strongly-typed in code for my import/update routines. Made it much easier to work with although null values are still the work of the devil himself.
I created a script that makes a new temporary table in SQL. Then I load the XML feed into the table. From there my code processes through all the records. The end of my code drops the table and the work is complete.
Probably not the most efficient, but speed isn't my enemy just yet - only about 10,000 items in the XML feed.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
-
- Ensign (ENS)
- Posts: 2
- Joined: Wed Feb 20, 2008 4:30 pm
Thx
Hi All,
Thanks for your input.
Peter
Thanks for your input.
Peter