[REBOL] Re: Sort of new
From: patrick::flyingpaper::com at: 9-Nov-2004 12:33
Hi,
Thanks for the info! I am really interested in picking up Rebol and do
something nice with it. :-)
Patrick
>Hi Patrick
> I always wanted to get into Rebol but for some reason I never really went
> into it. Rebol made huge progress since the last time I was into it. So I
> have some questions I like to ask. What can do Rebol for me when it comes
>to
> websites? Can I use it to write for example a calender, mini database
>program,
> show pictures, and so on. Could I say that what I can do with php, perl I
> can do also with Rebol?
Yes. REBOL as a CGI language is equally capable. Here are two sites that
are
fully dynamic (executing REBOL CGIs):
http://www.rebol.org/
http://www.oops-as.no/rix
There are a couple of tools for building REBOl websites. I've not used them
myself, but they look useful:
RSP (REBOL Server Pages): http://www.shlik.org/rsp/
Magic!: http://www.compkarori.com/vanilla/display/Magic!
They are both PHP-like -- in that you embed the code snippets in HTML.
Note also the 2nd one is hosted on a vanilla (REBOL wiki) site -- spot the
calendar.
You can also simply run CGIs that print HTML as you would do with Perl.
REBOL.org is written that way.
Either way, the limit is what you can do with HTML, not the CGI language you
use.
Database programs also exist in REBOL. DMOZ is a good starting point for
exploring these and other REBOL-related resources:
http://dmoz.org/Computers/Programming/Languages/REBOL/
> Another question I have is that if it is possible to "
> compile" the scripts? Let's say I write a script, it would be viewable for
> everyone. Or do I have to purchase a package to do that? That's it for
> now.
The official "solution" is to use encap. That costs. There are some
alternatives around -- I hope someone else will be able to point you to
them.
But, if you are referring to your CGI scripts: then in principle, they are
as
secure as any other CGI script. If your cgi-bin is read protected the
scripts should be safe. (There are various security provisos about other
sites
hosted on the same machine, and so on. But they apply to any CGI
environment).
Sunanda.