SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2005
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    XML file or Database??

    Ok....i've got a product page that will access data and images. I can use the traditional Database/filesystem way........or i've recently used the XML/filesystem and it seems to work schlick too.
    My question is which is better? What are the drawbacks?
    Also if the XML route is sufficient.....would i use 1 big honkin XML file..or would it be more beneficial to break each product lisitng into its own XML file? (is there a potential file locking issue here???) I'm just worried about potential large traffic issues down the road (when the site hits it big! )

    Hope all is clear as mud.

    Thanks all.

  2. #2
    SitePoint Wizard silver trophy
    Join Date
    Mar 2006
    Posts
    6,132
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i would go with a database.

  3. #3
    Now available in Orange Tijmen's Avatar
    Join Date
    Jul 2004
    Location
    The Netherlands
    Posts
    1,472
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As far as i know XML would be fine as long as you don't have a large DB or a high traffic website. Since you are worried that your site might have large traffic issues i would go for the Database option.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •