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 22nd, 2004, 04:29 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
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
 
Old September 22nd, 2004, 04:40 AM
Friend of Wrox
 
Join Date: Sep 2003
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

 
Old September 22nd, 2004, 04:43 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
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!
 
Old September 22nd, 2004, 04:44 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
Default

Hello Numan,

Could you please word it slightly differently so that we can understand your requirements clearly ?
 
Old September 22nd, 2004, 04:49 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
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.
 
Old September 22nd, 2004, 04:50 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
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!
 
Old September 22nd, 2004, 05:59 AM
Friend of Wrox
 
Join Date: Sep 2003
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

 
Old September 22nd, 2004, 11:40 PM
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
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!
 
Old September 23rd, 2004, 12:14 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
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.
 
Old September 23rd, 2004, 12:24 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
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!





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.