Data stored as XML vs a database
First off, I am incredibly green when it comes to XML, so please bear with me.
We currently have a product listing in the form of an HTML table, about 3000 rows long! To no surprise this table takes quite a while to load and is very painful to edit.
I have no problem getting the data into XML from an Excel spreadsheet but my question is how realistic/feasible would it be to query this much XML data? In practice, a user would specify search criteria and in turn only the relevant XML records are returned, essentially mimicking a database.
I know that a SQL database would be the best solution but that's on the back burner as a long-term solution. Right now we're just trying to find something that's more efficient than what we've got now.
Any advice anyone may have would be great!
FYI: I merely want the XML data to be searched and the relevant results displayed. There would be no abilities to edit the XML data through the web-based interface, it would be read-only. I just wondered if processing an XML document containing 3000 records is unreasonable.
Without a webserver to process that xml, I would say you're out of luck and should stick with HTML if you cannot code client-side scripting.
If you can, you wouldn't have a problem in the first place.
If you're willing to pick up a book and read, here is how you're going to attack this and avoid having a web server and not buy $ a piece of software.
- Microsoft provides a decent XML Editor. It's free. You can use that instead of using notepad.
My 2 cents.
I greatly appreciate your reply. What I've currently been testing is a working XML document (authored in Excel) and an ASP page that processes the XML file. The ASP form currently allows the XML file to be searched while only returning the relevant records to the client. It seems to work well.
I just wonder if 3000+ records is too much for an XML solution? Would it tax the server more than having one big raw table? Given that my only other option is a massive HTML table, what I'm currently testing surely seems to be the lessor evil.
By the way, do you know the name of that Microsoft XML application you referred to?
My apologies. You do have a server.
I wouldn't consider 3000 huge but a database will certainly help. Especially, if the table is indexed correctly. You can even just use MS Access and not go to SQL Server immediately.
As for the editor, it's called XML Notepad
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)