Client to maintain site online?

They have: 44 posts

Joined: May 2000

Hi all,

A quick thank you to all the help I have received in the past. So glad you are here.

I want to create a site that the client can update online. I suppose I will make a form that only the client can access, it is then processed through a cgi which then updates the site. This is the rumor, anyway. :/

Does this make sense? If so, how is it done. Please offer great detail; I am very new to web design.

The site is for a school. They would enter weekly info (class homework, lunch menu, etc.)

Thanks,

MichelleB
[email protected]

They have: 1,587 posts

Joined: Mar 1999

yes, that can easily be done using cgi.

all u need is a form and know how to use print in cgi.

good luck

They have: 383 posts

Joined: Sep 2000

Depends on what areas the client needs to be able to maintain. If we’re talking one or two specific areas you can use Perl without a problem. Simply write a script to append to a text file then have then include the text file using SSI. That way the script is only executed when modifying the content - rather then every time someone visits the site.

They have: 1,587 posts

Joined: Mar 1999

nah, u don't need to use ssi to display the page. when ever the client updates their page. the script will just delete the old one and make new one in html format. it's real simple and easy on the server.

Traffic-Website.com free traffic, affiliate programs, hosting, & domain names.
My Site got hacked, but i'm coming back?

They have: 383 posts

Joined: Sep 2000

If the script appends to the HTML file that would be fine as well. Just a different way of doing it.

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

I won't get into the detail of coding this. This how I would do it, but you may be too much for what you need.

Us a database back-end to store the content, as well as any header/footer info you may need. Create an admin center that would pull the info and put it in a textarea for the client to edit. A submit would send the new data to the server where it could update the tablel, and then print a confirm screen.

If you REALLY wanted to get fancy, you could go XML, and create a set of tags that the clients could use to format their content. This would enable to create a 'theme' and change the XSL formating of the XML tags later.
Then you can store the tags with the content in the DB. When you pull it out, you can use XSL to define your tags and format the mess. [including the header/footer files].

Good luck,

Mark Hensler
If there is no answer on Google, then there is no question.

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi Michelle,

As you see, there are many alternative. Smiling
If you post some particulars, I/we might be able to help a bit more.

Vinny

They have: 1,587 posts

Joined: Mar 1999

yeah, tons of ways to do it. just depends on what ur looking for (speed, efficiency, and so on).

They have: 20 posts

Joined: Feb 2000

One of the other members here made a really cool program that did what I think you want. You can check it out if you want, its called Director and I believe the site is http://www.perlshell.com .

They have: 44 posts

Joined: May 2000

Thanks for all the input on this subject.

Since I am a cut & paste person when it comes to scripts, can you suggest any good books, websites, etc., to learn to work with perl?

MichelleB

They have: 568 posts

Joined: Nov 1999

Director is my creation Laughing out loud

Go buy a book called "Learning Perl", it's really good.

They have: 44 posts

Joined: May 2000

Orpheus,

Thank you for the book recommendation. I am also going to download your script "Director". I have prospective clients who insist on maintaining their own site. Wish me luck.

Thanks to everyone

MichellB

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.