SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: XML file or Database??
-
Apr 4, 2006, 09:29 #1
- 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.
-
Apr 4, 2006, 09:53 #2
- Join Date
- Mar 2006
- Posts
- 6,132
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
i would go with a database.
-
Apr 4, 2006, 10:59 #3
- Join Date
- Jul 2004
- Location
- The Netherlands
- Posts
- 1,469
- 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