[REBOL] Re: Newbie question
From: tomc:darkwing:uoregon at: 24-Jan-2002 21:57
On Thu, 24 Jan 2002, Scot wrote:
> Hi Folks,
> First, I have to say thanks to Brett Handley for answering a bunch of
> wandering questions for me off the list and suggesting that I sign up for it
> and ask some of them here. From what I've seen so far, this list is like
> many of the developer lists out there- full of people willing to lend their
> expertise. Thanks all!
> Ok, the questions.
> Let's say you have a server with Command installed on it. I understand that
> .r files will be interpreted by Command before being spit out to the world.
asuming you are speaking of a web server snt the .r (or .whatever) files
are where they should be (say cgi-bin) ... with the correct permissions
and the scripts are being spit out into the world at beople who have
requested them etc then... yup
> Q1: If the .r files are have nothing more than text input and output, like
> any other CGI script, will they work in any standard browser? Can Netscape
> or IE display the dynamic information to a wandering web surfer from say, a
> Forum script written in Rebol that doesn't need View to see it in action?
yes, web pages are just printed text sent off by the server
> Q2: Is there a way to get Rebol to interpret .r files on my desktop through
> a local Rebol server so I don't have to bring View up each time I want to
> pull up a .r file? In Miva (a CGI scripting language I use - miva.com) I
> can set up a local Miva server and have my .mv files go through it by using
> 127.0.0.1 as the IP address in the URL line which lets me test everything in
> any browser on my system.
you do not say what your local desktop is running on
> Q3: Ok, now let's say you have a server with Command installed and a bunch
> of .r files that take advantage of the graphical interface of View as well
> as, let's say, some ODBC database stuff. How does the server let the local
> machine know that View needs to run this particular .r file? For example,
> if a person wanted to put that RebTris.r (demo tetris game) on a website for
> visitors to play from the server, how would they be notified that View is
> needed, or is that up to me?
hmmm getting over my head since I do not own command
but as I see it your clients would be running /view and the client's /view
would talk to the servers /command for the ODBC database stuff
the server is not apt to be telling the client anything about what it
should open .r files with as that is a local decision
i.e. on my machine .r files are opened into an editor by default
getting the rebtris to run in the local /view when clicked on in a web
page was not "out of the woods" last I checked... there is a plugin that
can be gotten to work but I do not think it made it out of beta yet
however if your clients were running rebol/link they
could click and play rebtris very realibaly