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 January 6th, 2004, 03:07 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 196
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to jmss66
Default Is there a Software

I created a website and constantly updating it myself if any users need any information on it updated. My question is, is there a software I can use so if a user needs to update something on the website they can do it themselves? I am not talking about having Front Page in every users machine. For example, the file default.asp will have new information, they will just create a word document and default.asp will load or pull whatever is in the Word Document they created and will display it without sacrificing the layout of the website.

Maybe this can be done programatically in ASP? If there is anyone who can guide me on how to go about it please give me assistance.

Thanks,
Judy
 
Old January 6th, 2004, 03:23 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Are you planning on having the users be able to upload the data file(s)? What would be the user's access to the web site files?

Does it make sense to build a content management system for this site? You could put all the changable content into a database and then build a management interface.

You could have the content live in XML/text files (NOT Word), and read those in your pages for the content. The users could then update the XML/text files.

Peter
------------------------------------------------------
Work smarter, not harder.
 
Old January 6th, 2004, 04:08 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 196
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to jmss66
Default

Hi Peter,

That is exactly the answer I was looking for. I was thinking of a database where they can update it with their word document or like you said a text file. Building a content management system is where I will be needing help with. How to go about building it is new to me. I was hoping somebody can point me to a sample code, demo or a software that I can use to build the content management system.

Thanks,
Judy
 
Old January 7th, 2004, 01:32 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Well, there are oodles of content management systems (CMS) out there. I think the hardest part is that they have to be very customizable. I have build several from scratch to suit my needs. If you aren't familiar with writing database interaction code then I'd suggest getting a book or looking for some online demos/tutorials for talking to a database with ASP.

Writing a CMS of any kind for a web application opens up a whole can of worms with regards to user access (security, who can access what). It's no trivial task. There a lot of factors to consider that will affect your design:
- Can your web application support databases? Most any IIS based application would be able to support MS-Access. If you have a SQL server available, much better.
- Is your application an inTRAnet or an inTERnet application?
- Is there FTP access to the site? Although building a CMS is good, if there's FTP access, that could greatly simplify things and provide simple security.

Peter
------------------------------------------------------
Work smarter, not harder.
 
Old January 7th, 2004, 04:10 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 196
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to jmss66
Default

I am familiar with coding in ASP interacting with MS ACESS. This is actually what I wrote our website with. We have an internet application which one sections requires a user to login to their account and check balances and does calculations which required me to use a database. The rest are just html/text codes which I am planning to modify using a CMS or a program I will write.

I am currently experimenting on just one page of the website and it looks good. The page has 5 paragraphs and I keyed in the text in a field called DefaultParagraph, after typing in the second paragraph I had to put html code <P> so it would show a space between the 1st and the 2nd paragraph. I am concerned that the users might omit this in typing their text. Is there anyway I can show the separation of paragraphs without assigning a different field to each paragraph?

In regards to FTP. I can set it up so they can just FTP the changes. In setting up the FTP, do you just go to your IIS and start the FTP service and you will be able to have FTP Access.

Sorry, I have so many questions. I hope you can guide me with this project.

Thanks,
Judy
 
Old January 7th, 2004, 04:25 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

I was suggesting FTP as a possible alternative. It sounds like you are well on your way. Stick with a web based system, it'll be much less prone to errors once you have it working.

As far are your paragraph problem...

Let's say the user enters something like this:
"Here is some text for the first paragraph

Here is the second paragraph."

The database will store it like that, and when you write it to HTML it will end up like that, but the browser will ignore the hard returns. So just do a simple replacement to change the hard returns into an HTML break when you write it out...

Response.Write Replace(objRecordSet("contentField"), vbcrlf, "<br>")

Then you'll get:
"Here is some text for the first paragraph<br><br>Here is the second paragraph."

Peter
------------------------------------------------------
Work smarter, not harder.
 
Old January 7th, 2004, 05:47 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 196
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to jmss66
Default

Hi Peter,

The Response.write replace code worked good. Thanks for the tip and your patience. I will stick with a web based system like you suggested.

Thanks,
Judy





Similar Threads
Thread Thread Starter Forum Replies Last Post
Using C++ for Application software vicky_prudhvi C++ Programming 0 April 3rd, 2007 02:06 AM
Multilanguage software tiyyob .NET Framework 2.0 1 June 14th, 2006 08:51 AM
best WWW Authoring Software (FREE!) software crmpicco HTML Code Clinic 2 July 18th, 2005 03:37 AM
Software usage rajesh@sonimtech.com C++ Programming 0 October 15th, 2004 06:30 PM
NEED HELP FOR THIS SOFTWARE tps C++ Programming 0 December 27th, 2003 03:27 PM





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