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

[REBOL] The Rebol Web Toolkit

From: maarten::koopmans::surfnet::nl at: 3-Mar-2003 19:38

Watch for the mails with subject "RWT: ..." Here's the stuff I mailed earlier to one of the other Rebolers. Included in the rsp.r is the require function (and its infrastructure) that form my dynamic-loadable module system. Typically Imake a config.r wihcih includes words for all the paths, and then do require/search-path [ ..] lib-path This makes deployment on different sites easy as 1-2-3. Please note that this production quality code! The db-logic works really nice with the mysql-protocol.r from DocKimbel. You just do init-db once, and then query-db for all your query functions (and I also set the db-path or so in the config.r). cgi.r and cookie.r speak for themselves, and handle.r is nice error handling code (I typically wrap process-rsp between handle/with [ .. ] to prevent users from viewing "code" in the page when an error occurs). All this GPL'ed by Ernie van der Meer and myself. I'd be happy to collaborate with you and turn this into the web toolkit. (two years ago I did erebol, which was the first rsp like incarnation and even made to the new core as 'build-markup) Enjoy, --Maarten