Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. Use a database or XML?

Use a database or XML?

Scheduled Pinned Locked Moved XML / XSL
questioncsharpdatabasexmlannouncement
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dreamaway820
    wrote on last edited by
    #1

    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.

    L S P 3 Replies Last reply
    0
    • D dreamaway820

      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.

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      dreamaway820 wrote:

      will take a lot (thousands and thousands)

      dreamaway820 wrote:

      should I store the file names/paths in a database or should I maybe use some sort of XML file?

      Database

      led mike

      1 Reply Last reply
      0
      • D dreamaway820

        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.

        S Offline
        S Offline
        Scott Dorman
        wrote on last edited by
        #3

        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]

        1 Reply Last reply
        0
        • D dreamaway820

          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.

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups