Thread: Online Updation
View Single Post
  #11 (permalink)  
Old September 24th, 2004, 12:05 AM
madhukp madhukp is offline
Friend of Wrox
 
Join Date: Oct 2003
Location: Cochin, Kerala, India.
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to madhukp
Default

Both database and XML have got their advantages and dis-advantages.

XML advantages

1)Migration to a different server is easy. You need only copy a set of XML files.

2)reduction in cost - no need to buy database

XML disadvantages

1)You cannot make a schedules backup of data etc.

2)It is difficult to have two different version of content.

3)Poor security.

Database advantages

1)You can backup database on a fixed schedule.

2) security of data is more

3) version control of the content is more easy. You can put the content for next week in the same table and can make your script to show it only on next week. You can do this with XML also, but with more difficulty.

Database dis-advantages

1) It is difficult to migrate to a different database.

2) cost of hosting will be slightly more as data enabled hosting facilities are generally costlier.

But, IMO, clients are generally not technology specific unless it affects their budget very much. Once you setup a CMS with database and scripts, why do they want to migrate to different technology frequently ? That is why I suggested database.

If you want to make frequent technology changes (or if you are building a general CMS which may be supplied to a large number of clients), then it is better to go for XML.
Reply With Quote