Re: Rivet and snit....
- From: davidhbigelow@xxxxxxxxxxxxxxxxxxx
- Date: 12 Dec 2005 06:15:56 -0800
You are thinking too much about this - you are at the point you need to
start testing.
If you are not backloading Apache 1.3 to get the benefits of rivet,
then just go at it with tcl as a CGI execution.
You will need to set up Apache to make sure your directories are ready
to execute CGI (if you plan to say turn your welcome page into a CGI
script to generate the page). Also - you will need to make sure the
file extension is knowln by Apache (e.g. if you use something other
than .cgi as a file extension for your scripts).
Do not worry about generating forms or receiving forms at this point.
Just get your first script to execute properly (.e.g "hello world") --
then move on to more interesting aspect of doing this.
I personally like to create ONE script to handle a page delivery and
also a form submission from that same page. This basically becomes a
huge IF statement to determine how the user is addressing the page and
what to do with that request -- specifically, if the user is calling
the script, and there are not submission variables - I know to just
deliver information to them, -- if they submit data to the page, I have
logic to look for some key submission variables and values that clearly
indicate it's intent - then process it as a form submission script.
You can use SSI, it works fine, but would recommend that you only do
this when you do not want to use frames.
Hope this helps.
Dave
.
- Follow-Ups:
- Re: Rivet and snit....
- From: Ulrich Schöbel
- Re: Rivet and snit....
- References:
- Rivet and snit....
- From: davidhbigelow
- Re: Rivet and snit....
- From: Tom Conner
- Re: Rivet and snit....
- From: Robert Hicks
- Re: Rivet and snit....
- From: David N. Welton
- Re: Rivet and snit....
- From: Tom Conner
- Re: Rivet and snit....
- From: Tom Conner
- Re: Rivet and snit....
- From: Darren New
- Re: Rivet and snit....
- From: Tom Conner
- Rivet and snit....
- Prev by Date: Re: Q about [info args] and [info default]
- Next by Date: Re: Rivet and snit....
- Previous by thread: OT: Combining CGI and SSI (Was: Re: Rivet and snit)
- Next by thread: Re: Rivet and snit....
- Index(es):
Relevant Pages
|