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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 22nd, 2004, 04:29 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
Default Online Updation

I want to display the online updation of my pages mean that how can I change my web pages as when I use some CSS on my pages and how can I update that page.


Numan
--------------------------------------------------
Love is the most precious thing of this world. So find it and grab it!
__________________
(*_*)

Numan
--------------------------------------------------
It is not important what you get But important is  how you got it
Reply With Quote
  #2 (permalink)  
Old September 22nd, 2004, 04:40 AM
Friend of Wrox
 
Join Date: Sep 2003
Location: Mentiri, Muara, Brunei.
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hello numan,

  What do you want to update on the page. Which content or styles? And when you want to update. Any conditions?


-----------
Rajani

Reply With Quote
  #3 (permalink)  
Old September 22nd, 2004, 04:43 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
Default

Dear Rajani I want to update both contents and style of my webpages using differnt style using CSS and update on almost every month


Numan
--------------------------------------------------
Love is the most precious thing of this world. So find it and grab it!
Reply With Quote
  #4 (permalink)  
Old September 22nd, 2004, 04:44 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
Default

Hello Numan,

Could you please word it slightly differently so that we can understand your requirements clearly ?
Reply With Quote
  #5 (permalink)  
Old September 22nd, 2004, 04:49 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
Default

ok, does the basic layout of the site remain the same always ? Or the layout itself change from month to month ?

Are you using only one css file throughout site ?

If layout remain same and there is only one css, you can apply a basic content management system and store the names of css files for each month in db. Then in session_onstart, you can determine the name of the css file to be used and use it in every page. Or you can have a small piece of script on each page to fetch the name of css file.
Reply With Quote
  #6 (permalink)  
Old September 22nd, 2004, 04:50 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
Default

 I want to just update contents and style of my webpages using differnt style using CSS and update regularly and for this we made again whole web site and upload it again for using so how we can online updation in the site



Numan
--------------------------------------------------
Love is the most precious thing of this world. So find it and grab it!
Reply With Quote
  #7 (permalink)  
Old September 22nd, 2004, 05:59 AM
Friend of Wrox
 
Join Date: Sep 2003
Location: Mentiri, Muara, Brunei.
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hello,

  If you want to change the contents means (thru database/manually)?
If thru database you code some small server side scripting.
And regarding styles, create a CSS file and add to every page using
<LINK href=cssfilename.css" ...>

Whenever you want to update the styles, just change the CSS file.

If this is not your requirement, let me know.

--------
Rajani

Reply With Quote
  #8 (permalink)  
Old September 22nd, 2004, 11:40 PM
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
Default

Dear I am not using any data base but now I want to use XML or any database. Please tel me which one is suiteable for me as the regular updation in the contents of the website?

Numan
--------------------------------------------------
Love is the most precious thing of this world. So find it and grab it!
Reply With Quote
  #9 (permalink)  
Old September 23rd, 2004, 12:14 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
Default

IMO, database is more suitable for content management.

You can use XML also. But you have to decide the methods very clearly. You have to define XML format very clearly and then design parser according to it. In future when the client requirements changes, you may have to modify both XML format and parser.

Using database
--------------
You can have a table for storing the contents of pages. One page may itself have more than one "dynamic" portions. You need one record for each such section. An approx. design for this table will be

PageID primary auto-increment
PageName varchar(50)
DynamicSectionName varchar(50)
Content Text

You need a WYSIWYG editor to help admin users edit the content without the knowledge of HTML. There are many such editors available online.
Reply With Quote
  #10 (permalink)  
Old September 23rd, 2004, 12:24 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
Default

Dear madhukp tel me that weather it is good to have the whole contents of the page are in data base and when we migrate our technology then does it may difficult to menage both data base and the whole language. But in XML we dont care to use any language. For example if we migrate from windows to Linux with SQL server or MS Access to mysql or sysbase then it make difference in the case of database ?




Numan
--------------------------------------------------
Love is the most precious thing of this world. So find it and grab it!
Reply With Quote
Reply


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 07:29 AM.


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