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

Some questions

 [1/8] from: brett::codeconscious::com at: 25-Jan-2002 10:25


The questions below were emailed to me directly by a Miva developer who is interested in Rebol. I'm posting them here because I'm not confident in answering them accurately. Help please. :) Thanks, Brett. Anyhow, I have a couple more questions that I hope you can answer. I'm starting up a new project that I think Rebol will be very good for, but that means I need to master it in about three weeks :) 1. With Rebol Command, a developer has, among other things, the power to use ODBC databases that are located on the server, right? I have never used ODBC databases scripting, only DBF databases. Where exactly do these databases reside (normally)? 2. Can a .r be compiled for speedier execution? 3. In order to run a .r file from a server, does the server need some sort of Rebol engine on it, or is the Rebol engine only on the client side? What about accessing DB's and DLL's on the server side? Would a normal user be forced into purchasing Rebol View Pro in order to access .r files that control databases and access various DLL's? I'm a bit confused about this one because all interpreted languages that I know of need the engine and various modules to reside on the server to allow that sort of thing. If things do need to be installed on the server, are there good Rebol hosts out there? 4. Is it true to AOL is going to ship with Rebol built in? Does this mean that AOL users will be able to run Rebol files without having to install a special If you can give me some insight into these things, I'd certainly appreciate it!

 [2/8] from: al:bri:xtra at: 25-Jan-2002 13:03


Miva developer wrote:
> 2. Can a .r be compiled for speedier execution?
No. But Rebol scripts are quite fast anyway. My CGI scripts in Rebol take less than a second to run.
> 3. In order to run a .r file from a server, does the server need some sort
of Rebol engine on it, or is the Rebol engine only on the client side? The server needs to run the Rebol executable in order to process Rebol script at the server.
> What about accessing DB's and DLL's on the server side? Would a normal
user be forced into purchasing Rebol View Pro in order to access .r files that control databases and access various DLL's? The user doesn't need to purchase Rebol/View/Pro, only the people controlling the server side do. If using Rebol/IOS, I think each user needs Rebol/IOS on their machiner, and the server needs Rebol/IOS. All this in my opinion only. Andrew Martin ICQ: 26227169 http://valley.150m.com/

 [3/8] from: pwoodward:cncdsl at: 24-Jan-2002 19:04


Brett
> 1. With Rebol Command, a developer has, among other things, the power to
use
> ODBC databases that are located on the server, right? I have never used > ODBC databases scripting, only DBF databases. Where exactly do these > databases reside (normally)?
It really depends on the configuration of the Data Source Name (DSN) under ODBC. The database behind the DSN could be "anywhere" the system running the script can connect to. Think of the DSN under ODBC as a stub or pointer used to connect to the database. That database could be stored on the local system (in the form of a DBF file for instance) or on some remote system (as would likely be the case if you were using Oracle or SQL Server).
> 2. Can a .r be compiled for speedier execution?
Someone can probably talk more about "encap" - but my current understanding is that typically server-side Rebol is not compiled.
> 3. In order to run a .r file from a server, does the server need some sort > of Rebol engine on it, or is the Rebol engine only on the client side?
What
> about accessing DB's and DLL's on the server side? Would a normal user
be
> forced into purchasing Rebol View Pro in order to access .r files that > control databases and access various DLL's? I'm a bit confused about
this
> one because all interpreted languages that I know of need the engine and > various modules to reside on the server to allow that sort of thing. If > things do need to be installed on the server, are there good Rebol hosts
out
> there?
Yes. The server would need some version or another of the Rebol environment installed. For ODBC connectivity this would probably be /Command. Using Rugby standard Rebol clients could connect to the server and leverage the ODBC connectivity supplied by one installation of /Command (and any DLLs used by scripts on the server). Or - the Server-side Rebol installation could be used to power an HTML/CGI interface. However - there don't seem to be a huge number of internet hosts offering Rebol.
> 4. Is it true to AOL is going to ship with Rebol built in? Does this mean > that AOL users will be able to run Rebol files without having to install a > special
Uhh - who knows? I think the big announcement was the whole P2P sharing thing, but maybe there's an AOL deal in the works. - Porter Woodward

 [4/8] from: greggirwin:mindspring at: 25-Jan-2002 10:19


Hi Brett, << 4. Is it true to AOL is going to ship with Rebol built in? Does this mean that AOL users will be able to run Rebol files without having to install a special >> Unless RT jumps in, I don't think so. StreamCast/Morpheus is the only large on-line provider I know of that RT is going to be released with, or will provide technology for. As an aside, if it's an important project, I would be hesitant to try a new tool out with such a short deadline. It depends on the needs of course but , if I'm not familiar with a tool, trying to use it under pressure as an introductory experience isn't something I'd choose to do. --Gregg

 [5/8] from: riusa:email:it at: 11-Apr-2002 16:41


Hi all! I have encountered some problems during a software development. 1) I want to store the name of a field in a variable and I want assign the focus to the field whose name (or obj reference) is stored in such variable. How can I do? 2) What can I do to change the color (which refiniment) of the background of a field? thank you ! bye! -- Alessandro -- -- Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f Sponsor: Le maglie con il numero e il nome dei tuoi campioni, sono sul Milanstore Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=313&d=11-4

 [6/8] from: greggirwin:mindspring at: 11-Apr-2002 12:08


Hi Alessandro, << 1) I want to store the name of a field in a variable and I want assign the focus to the field whose name (or obj reference) is stored in such variable. How can I do? 2) What can I do to change the color (which refiniment) of the background of a field?
>>
Let me know if this helps. view layout [ f-1: field f-2: field button 200 "Goto Field 1" [focus f-1] button 200 "Goto Field 2" [focus f-2] button 200 "Set Field 2 color" [ ;f-2/colors/1: red f-2/colors: reduce [red green] show f-2 ] ] --Gregg

 [7/8] from: anton:lexicon at: 12-Apr-2002 14:21


You can also specify the colours directly: view layout [field green blue] Or make a style of it: view layout [ style field field green blue field field field ] Anton.

 [8/8] from: riusa:email:it at: 12-Apr-2002 9:43


Hi Gregg, it functions! I didn't find the correct refinement [colors/1 and colors/2]. thanks. =================================================
> Hi Alessandro, > <<
<<quoted lines omitted: 17>>
> ] > --Gregg
-- Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f Sponsor: Le maglie con il numero e il nome dei tuoi campioni, sono sul Milanstore Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=313&d=12-4

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted