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

browser-based apps

 [1/4] from: norsepower::uswest::net at: 7-Mar-2001 7:44


I know all about /View, but I have some questions about building a browser-based application: Is it possible to use a web browser as a REBOL application's graphical user interface for applications running on the local machine? I'd like to develop a cross-platform, browser-based application using Javascript and REBOL which runs on a local machine, no web server required. Is it possible to use POST and GET cgi methods with a web server application which runs on a local machine? Is it possible to make REBOL be that web server? Finally, could all of this be packaged as a runtime version binary? -Ryan

 [2/4] from: rgombert:essentiel at: 7-Mar-2001 16:03


Of course Ryan. It's up to you to build a simple web server with Rebol, wich will process forms (and maybe rebol comands) sent by the browser and then return a new page. You'll find some good starting points to write your own webserver in the script library on rebol.com (http://www.rebol.com/library/library.html). Renaud

 [3/4] from: jseq:mediaone at: 7-Mar-2001 11:29


Ryan, I've read a lot about using Mozilla as an app hosting framework for just this purpose. Check out: http://protozilla.mozdev.org/white-paper.html (for redirecting cgi with local scripts) It's probably not quite what you want - requiring mozilla is not the same as requiring a browser- but it might be informative. I'd say the rebol web server is probably the way to go. Also, you might want to look at TclKit. http://www.equi4.com/tclkit/old/README.html Same idea as what you suggest, different (similar?) scripting language. John Sequeira System Architect http://www.pobox.com/~johnseq [johnseq--pobox--com]

 [4/4] from: gjones05:mail:orion at: 7-Mar-2001 12:07


John Sequeira wrote:
<snip> > Also, you might want to look at TclKit. > http://www.equi4.com/tclkit/old/README.html > Same idea as what you suggest, different (similar?) scripting language. <snip>
And, while you are checking out Tcl, definitely check out TclHttpd, an all Tcl Http server that is very configurable amd scriptable. It can be wrapped in the tclkit "scripted document" for very easy deployment on one or numerous machines. The scripted document is cross-platform and includes a non-sql database, whose data is stored in a compressed and cross-platform format. Tcl is very similar to REBOL in a Lispish way. It tends to encourage a little more assignment and flows a little less naturally (sub-evaluations need to be explicitly nested in brackets). In short, tcl isn't as expressive as REBOL, but it is mostly cross-platform, open-source and free with broad range of available libraries. dev.scriptics.com is a starting point, but http://www.arsdigita.com/books/tcl/ by Philip Greenspun (of MIT and photo.net fame), et al, has the best briefest introduction to Tcl that I've seen. --Scott Jones