Use a database or XML?
-
I hope this isn't a dumb question. I am working on an ASP .NET web application that will take a lot (thousands and thousands) of PDF files and allow users to search for a file/group of files and display them on the web page. Then the user can click the one they want and open it. There are so many files that I don't want to access the directory structure every time someone searches for a file. So my question is this - should I store the file names/paths in a database or should I maybe use some sort of XML file? I would update it once a day or so. I have never really worked with XML before and was wondering if this would be a good application for it. Thank you for any ideas.
-
I hope this isn't a dumb question. I am working on an ASP .NET web application that will take a lot (thousands and thousands) of PDF files and allow users to search for a file/group of files and display them on the web page. Then the user can click the one they want and open it. There are so many files that I don't want to access the directory structure every time someone searches for a file. So my question is this - should I store the file names/paths in a database or should I maybe use some sort of XML file? I would update it once a day or so. I have never really worked with XML before and was wondering if this would be a good application for it. Thank you for any ideas.
-
I hope this isn't a dumb question. I am working on an ASP .NET web application that will take a lot (thousands and thousands) of PDF files and allow users to search for a file/group of files and display them on the web page. Then the user can click the one they want and open it. There are so many files that I don't want to access the directory structure every time someone searches for a file. So my question is this - should I store the file names/paths in a database or should I maybe use some sort of XML file? I would update it once a day or so. I have never really worked with XML before and was wondering if this would be a good application for it. Thank you for any ideas.
Definately a database.
Scott. —In just two days, tomorrow will be yesterday. —Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[Forum Guidelines] [Articles] [Blog]
-
I hope this isn't a dumb question. I am working on an ASP .NET web application that will take a lot (thousands and thousands) of PDF files and allow users to search for a file/group of files and display them on the web page. Then the user can click the one they want and open it. There are so many files that I don't want to access the directory structure every time someone searches for a file. So my question is this - should I store the file names/paths in a database or should I maybe use some sort of XML file? I would update it once a day or so. I have never really worked with XML before and was wondering if this would be a good application for it. Thank you for any ideas.
Yes, a database. Of course that database may be XML... :-D I do a similar thing, with a Windows Service periodically looking for new files to add to the index.