[REBOL] Re: cheyenne and RSP
From: compkarori:gma:il at: 14-Jan-2007 6:00
Alan,
Ignore those guys ... they're still hung over from New Year! They're
talking about client side scripting, but RSP is server side scripting
to create dynamic html.
If you didn't read my response, then it's in the rebol.org archive.
I built a server application using Cheyenne that dynamically populates
the mailbox names etc using Firebird and ODBC.
On 1/14/07, Alan <fergus4-bellatlantic.net> wrote:
> I thought the point of Rebol server pages (RSP) was to avoid the need to use
> other tools like java script. I know rebol and I do not want to lewarn java
> script if I can avoid it. Or do I have the wrong idea about the uses of rsp.
> can RSP access these XMLHttpRequest functions the Java script does?
> -Alan
> ----- Original Message -----
> From: "Peter Wood" <pwawood-gmail.com>
> To: <rebolist-rebol.com>
> Sent: Saturday, January 13, 2007 7:45 PM
> Subject: [REBOL] Re: cheyenne and RSP
>
> >
> > Alan
> >
> > If the database is on the "server", as I'm guessing, you can avoid
> > using a new page to access a CGI by using JavaScript and the
> > XMLHttpRequest function built-in to the browser. (This is the core of
> > the so called Ajax).
> >
> > Basically, you can use JavaScript to get the data from a CGI and then
> > fill the web form without leaving the page.
> >
> > If you're not familiar with Ajax, there is a tutorial at
> > http://www.w3schools.com/ajax/default.asp
> >
> > Regards
> >
> > Peter
> >
> > On Sunday, January 14, 2007, at 03:11 am, Alan wrote:
> >
> >>
> >> I've been using Cheyenne to host a small website from home. It's great!
> >> Simple set up, no configuration for RSP, fast CGI already set up.
> >>
> >> My question is on RSP. I've got some simple functions working but some
> >> of
> >> the more complicated stuff I do not know where to look for info on.
> >> The RSP
> >> document I found is minimal.
> >>
> >> I'm trying to get a web form to fill with info from a database based
> >> on the
> >> name selected from a droplist. Sort of a phone book application with a
> >> drop
> >> list to pick the name.
> >>
> >> I do not know how to "read the selected name and insert thme into the
> >> form
> >> without exiting the page to CGI a new page. Is it possible. I've seen
> >> similar things done in Java Script.
> >>
> >> -alan
> >>
> >> --
> >> To unsubscribe from the list, just send an email to
> >> lists at rebol.com with unsubscribe as the subject.
> >>
> >
> > --
> > To unsubscribe from the list, just send an email to
> > lists at rebol.com with unsubscribe as the subject.
> >
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
--
Graham Chiu
http://www.synapsedirect.com
Synapse-EMR - innovative electronic medical records system