• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

XML as database?

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am designing a website which is pretty much static. Readers of the website cant update anything on it. There will only be daily updates on the website from server side. Since my website is more about displaying content which has a preset format, i was thinking of using XML as database. But i dont know where to start from? Should i store data as .xml flat files? what abt ACID requirements then? I did have a look at some XML DBs such as baseX and eXist. But dont know whether to use them?

Also, since my website is content based, i need to create a small search engine for it. This is another reason why i was thinking of creating DB in XML files.

Please guide abt a suitable DB for my website reuirements....primarily search engine functionality and ease of updating content.
 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Might be it what you're looking for xindice

Cheers,
Oleg.
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you delivering the content as XML? Are you going to transform it using something like XSLT? If the answer to these questions is no, then I think it's a bad idea. Just store the data in a database. Otherwise, you're going to add the overhead and reading the XML, parsing it, and post-processing the data every time it is accessed. Databases are already optimized for I/O, much better than you could probably do on your own.
 
Shiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic