Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

REBOL Webserver

 [1/12] from: trobrock::crosswinds::net at: 28-Jul-2000 14:10


Hi, Does anyone know of any webservers made in REBOL that have Embedded REBOL using the <rebol></rebol> tags like "RebWeb" But also includes ASP and other languages like that?

 [2/12] from: news:ted:husted at: 28-Jul-2000 15:53


I've been meaning to ask about this myself. I think there's a script on REBOL.ORG that mentions "REBOL Server Pages". Meanwhile, I've been working with mSQL on a project. They have a CGI that you can call like this: /cgi-bin/w3-msql/path-to-your-webpage.html This leverages the protocol where a server tries each element in a path to see if it is executable, and launches the first one it finds. I haven't tried it, but I guess on Windows it would be /cgi-bin/w3-msql.exe/path-to-your-webpage.html Anyway, the w3-msql CGI just parses the Web page and spits it back at the browser. Been wondering if we could do the same with REBOL. The rebol-sp CGI would load the Web page, do any scripts it found between <% %> markers, and return the result. If something like this worked, we'd have plug-and-play server pages -- no server-side configuration changes. *********** REPLY SEPARATOR *********** On 7/28/2000 at 2:10 PM [trobrock--crosswinds--net] wrote: Hi, Does anyone know of any webservers made in REBOL that have Embedded REBOL using the <rebol></rebol> tags like "RebWeb" But also includes ASP and other languages like that?

 [3/12] from: doug:vos:eds at: 28-Jul-2000 16:11


try using "load/markup" and them use "parse" to do everything between <rebol> and </rebol>

 [4/12] from: petr:krenzelok:trz:cz at: 28-Jul-2000 22:36


[doug--vos--eds--com] wrote:
> try using "load/markup" and them use "parse" to > "do" everything between <rebol> and </rebol>
Hmm, why parse? In REBOL/Apache handler simply some <--[rebol code here]--> You can get your REBOL code just by a few lines of code ... page: {<HTML> blablabla page content ... <--[var1: "ahoy" type-var: func [stuff][print stuff] type-var var1]--></HTML>} tmp: find/tail page "<--[" do copy/part find tmp "]-->" ; note - before "doing" your code you should lower the security or just never run with none security :-) btw: IIRC there was some web server with so called reblets implemented some time ago ... Cheers, -pekr-

 [5/12] from: dynalt:dynalt at: 28-Jul-2000 13:47


Wiki webs do this. The web page HTML is generated by a script from text files or data records. I believe there is a REBOL version somewhere. The same technique applies. Twiki is a version built in perl. There are a surprising number of examples. www.editthispage.com supports editable pages using a similar mechanism. FWIW, getting a script that can be used the same as JavaScript (client side) requires building a DLL according Microsoft's scripting engine rules. The resulting scripts can be used in browser pages and the windows scripting host. Getting the effect of Active Server Pages (server side) requires either an add-on to the server or the CGI trick already discussed. HTH, Garold (Gary) L. Johnson DYNAMIC Alternatives [dynalt--dynalt--com]

 [6/12] from: trobrock:crosswinds at: 28-Jul-2000 16:59


Could Someone Make A Webserver with ASP and Embedded REBOL???

 [7/12] from: ryanc:iesco-dms at: 28-Jul-2000 18:29


[trobrock--crosswinds--net] wrote:
> Could Someone Make A Webserver with ASP and Embedded REBOL???0
Hey there, Sounds to me like nailing good boards over bad ones. I lived in a house like that once--they're tearing it down now. Not to cut on your idea too much, I could see someone doing such a thing in the not too distant future. However, my recommendation is to keep learning REBOL while waiting for the fabled REBOL/Serve. At that point in time use your ASP knowledge to write a conversion script. You surely would be very popular. Keep on firing, --Ryan Ryan Cole Programmer Analyst www.iesco-dms.com 707-468-5400

 [8/12] from: news:ted:husted at: 28-Jul-2000 22:09


[trobrock--crosswinds--net] wrote:
> Could Someone Make A Webserver with ASP and Embedded REBOL???0
ASP, by default, is really just embedded Virtual Basic. Give REBOL a way to connect to a decent database (Elan's DBMS?), and you could do anything that ASP or JSP can do. Visit www.serverpages.com for more about these technologies. But, again, given a script that can pluck-out and 'do REBOL statements, and pipe the rest back to the browser, you wouldn't need a special Web server or add-on. -T.

 [9/12] from: etcha:gsat:au at: 29-Aug-2000 18:19


Hello REBOL's, I have been working with the script %webserver.r alot lately... I have noticed it has bugs (one of which being _dont_ use IE). I have constructed from Webserver.r , a revised version which i call Web2. Web2 has plugin modules, module registration, custom cgi calls (i call them @jscall's), A Web Message Interface (not finished) , Basic ip adddress authentication, Session Variable creation and a few more features i am adding now. I have some things to question now, 1. is it worth the continued effort ? 2. if so i will release a base version in about 2 weeks 3. is anyone interested in this? If you would like to help me email me at [aden--gsat--edu--au] If you are interested in this project and using the web2 for development, post a message expressing so in the rebol list. Aden.

 [10/12] from: doug:vos:eds at: 29-Aug-2000 8:20


I would love to see the new improved web-server script. Can you send me a copy?

 [11/12] from: dameronm:rolfingsi at: 29-Aug-2000 11:15


Hi there! I am most definitely interested in this, and think it is worth continued effort; Particularly with the new multiplexing possibilities in the experimental versions. I have a project or two that would be greatly benefited. I would be willing to test web2, although I am not a TCP expert. Drop me a line. (and a copy!) Cheers, Dameron on Tue, Aug 29, 2000, [etcha--gsat--net--au] said something like:

 [12/12] from: petr:krenzelok:trz:cz at: 29-Aug-2000 20:51


[dameronm--rolfingsi--com] wrote:
> Hi there! > I am most definitely interested in this, and think it is worth > continued effort; Particularly with the new multiplexing possibilities in > the experimental versions. I have a project or two that would be greatly > benefited. I would be willing to test web2, although I am not a TCP > expert. Drop me a line. (and a copy!)
Very good example of holding pairs of multiple connections is imho Sterling's web-proxy.r scrip you can find on www.rebol.org .... Cheers, -pekr-