r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[SDK]

Geomol
6-Feb-2009
[1193]
The Reb Sites are located, if you click the REBOL.com icon in the 
Viewtop, then Public/Sites/
kib2
6-Feb-2009
[1194]
Geomol: Yes, I had a look at Reb Sites and I've seen a lot of good 
demos there. You mean all those apps are cloud located, I just have 
to upload mine in my repos and that's it ?
Geomol
6-Feb-2009
[1195]
yes
kib2
6-Feb-2009
[1196]
and how can we set a repository ?
Henrik
6-Feb-2009
[1197]
kib2, the Viewtop just downloads index.r files from ordinary websites.
kib2
6-Feb-2009
[1198]
Henrik: so simple...so rebol !
Henrik
6-Feb-2009
[1199x2]
There's no repository. it's just like serving webpages, only presented 
differently. Viewtop can just organize them via an index file from 
Rebol technologies.
I use the Viewtop to distribute my programs to customers.
kib2
6-Feb-2009
[1201]
Henrik: it seems like an interesting alternative.
Henrik
6-Feb-2009
[1202x4]
R3 will not use the Viewtop. It's a distribution model that Carl 
did not endorse as the metaphor is too confusing for web usage. Instead 
it will use a script that resembles a webbrowser, with a canvas and 
a URL bar, bookmarks, etc.
then when you go to http://somewhere.com/index.r, it loads a "rebpage", 
i.e. VID layout right in the canvas.
and after that, the world will hopefullly be amazed. :-)
because it basically sets out to solve all shortcomings of web2.0 
apps, while staying in the browser/internet metaphor.
kib2
6-Feb-2009
[1206]
Henrik: so all those nice Rebol R3 GUIs are supposed to work online 
? Really ?
Geomol
6-Feb-2009
[1207x2]
kib, you can also use the Viewtop to let others run your programs, 
but with adding your site under Public/Sites/. If you click the "Goto" 
menu button, you can enter an URL for an index.r file, you have somewhere 
on the internet. And from there launch your programs.
with = without
Henrik
6-Feb-2009
[1209]
they already do. you can do all this the same way in R2 by going 
to the console and typing:

do http://www.somewhere.com/script.r

the browser will just present the scripts a little differently.
kib2
6-Feb-2009
[1210]
Geomol: that's really cool. And inside my index.r, I just have to 
write the references to all my rebol scripts ?
Geomol
6-Feb-2009
[1211x2]
An index.r file can look like this:
http://home9.inet.tele.dk/johnn/index.r
You can have references to REBOL script, but also to HTML pages, 
documents, images, etc etc.
kib2
6-Feb-2009
[1213]
Geomol: that's really simple.
Geomol
6-Feb-2009
[1214]
yes, REBOL is really simple! :-)
kib2
6-Feb-2009
[1215]
From your two points of view, should I start playing with R2 or switch 
to R3 direclty (even if it's buggy)?
Geomol
6-Feb-2009
[1216x2]
So you can think of the Viewtop as kind of a browser, than can link 
together content from all over the internet.
Start with R2. If you have time left, look at R3 too.
Henrik
6-Feb-2009
[1218]
I agree with Geomol. You probably probably won't bump into too many 
shortcomings in R2 this early.
kib2
6-Feb-2009
[1219]
Ok, so I've prepared some Rebol lectures for tonight. I have to go. 
Let me thank you for your kindness, and I hope to see you soon here.
Geomol
6-Feb-2009
[1220]
A lot of what you do will run in R3 too. GUI have some changes, but 
you can go develop final programs in R2 now.
Henrik
6-Feb-2009
[1221]
have fun!
kib2
6-Feb-2009
[1222]
Bye!
Geomol
6-Feb-2009
[1223]
bye kib!
Maxim
6-Feb-2009
[1224x2]
yes R2 is a viable tool for commercial apps, Ive done a few.
have fun kib :-)
Brock
7-Feb-2009
[1226x2]
You know, that is interesting looking back at the ViewTop.  It's 
not something I played with and have even forgotten about.  I'll 
need to relook at that.
it creates a nice little desktop.
Geomol
7-Feb-2009
[1228]
If the Viewtop could handle bookmarks in a good way (like a browser), 
and if there was a nice utility to manage index.r files, it might 
be something.
amacleod
2-Mar-2009
[1229x9]
I'm trying to encap a script but I keep getting error: Cannot load 
file:


THe program runs fine and loading it does not seem to produce any 
errors.

Any suggestions?
using rebface I get a sytax error for the following:


 if s/x > cell_sizes/:c/x [cell_sizes/:c: s cell_matrix/:c: reduce 
 [r c]]

Syntax Error: Invalid word -- :c:
What is another way to write that?
Used poke


if s/x > cell_sizes/:c/x [poke cell_sizes c s poke cell_matrix c 
reduce [r c]]

seems to work...
No errors in rebface
Got it to Encap...

but I just get a console window with the code scrolling through...
I was able to catch the top of the output:

I think there is an error in mysql-protocol.r
MZ has no value....

Anyone else have a problem encaping mysql-protocol.r?
Can't find a refernec to MZ in mysql-protocol or my program
refernec = reference
Chris
2-Mar-2009
[1238]
cell_sizes/(c):

Is a valid set-path...
amacleod
2-Mar-2009
[1239]
Thanks Chris...
amacleod
3-Mar-2009
[1240]
The order of the include files seems to have an effect the error...


I moved the rebol mezz functions to the begining and now I get this 
error:

** Script Error: user-prefs has no value
** Where: vbug
** Near: if not dbg: user-prefs/debug [exit]
Graham
3-Mar-2009
[1241x2]
no
you have to create that object ... it's a long standing sdk bug