Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 24th, 2004, 12:05 AM
Friend of Wrox
Join Date: Oct 2003
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to madhukp

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.
Old September 24th, 2004, 01:27 AM
Friend of Wrox
Join Date: Jun 2004
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to qazi_nomi

Thanks for all of you for your response and helping me in this situation. And as Madhu suggested that now I am considering the database is the best solution for my problem .
But tel me that weather can I store the contents of css in data base if yes then how and if you can give me any example then it wil be great ful for me

Love is the most precious thing of this world. So find it and grab it!
Old September 24th, 2004, 07:26 PM
Friend of Wrox
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41

You can store any collection of integers, strings and the like in a database and render them on any dynamic page. Yes a style sheet can be dynamic, however to change the style of your site often:

rajanikrishna's suggestion is on the money.
1..Have multiple style sheets and either:
  a..manualy change the style path to your new .css
  b..Place a conditional statement around your style sheet link, based on a date range you can alternate them as your chosen period of time passes by.

Wind is your friend

Similar Threads
Thread Thread Starter Forum Replies Last Post
help in updation sanjeev jha Classic ASP Basics 0 November 12th, 2007 04:17 AM
Updation of Online Data anubhav.kumar .NET Web Services 0 February 18th, 2005 08:32 AM
updation prob.......... abhit_kumar JSP Basics 0 December 14th, 2004 08:07 AM
updation problem abhit_kumar Pro JSP 0 November 25th, 2004 01:44 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.