Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old September 24th, 2004, 12:05 AM
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

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
  #12 (permalink)  
Old September 24th, 2004, 01:27 AM
Friend of Wrox
Points: 1,288, Level: 14
Points: 1,288, Level: 14 Points: 1,288, Level: 14 Points: 1,288, Level: 14
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2004
Location: Stockholm, Sweden
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!
Reply With Quote
  #13 (permalink)  
Old September 24th, 2004, 07:26 PM
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
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
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 09:17 PM.

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