newbie: Examples / tutorials for networking protocols ?
[1/8] from: apwing:zonnet:nl at: 15-Sep-2003 17:37
Hello all,
the more I look into REBOL, the more I like it after my quest for "the best"
programming language.
However, I have a background in administrative and DBM programming and not
in networking.
Can anybody tell me where to find cookbook like examples of how to use
networking protocols like HTTP and FTP. Of course it would be nice if that
material had some examples in REBOL too.
Thanx in advance,
Arie van Wingerden
[2/8] from: mfontana7:inwind:it at: 15-Sep-2003 21:29
> Hello all,
> the more I look into REBOL, the more I like it after my quest for "the
<<quoted lines omitted: 7>>
> that
> material had some examples in REBOL too.
The Rebol script library already contains lots of example on how to use
those protocols.
See http://www.reboltech.com/library/library.html
Hope this helps
M&F
[3/8] from: greggirwin:mindspring at: 15-Sep-2003 23:43
Hi Arie,
Welcome to REBOL!
AvW> Can anybody tell me where to find cookbook like examples of how to use
AvW> networking protocols like HTTP and FTP. Of course it would be nice if that
AvW> material had some examples in REBOL too.
Well, with REBOL you really don't need to know how to use the
networking protocols. That is, you can read and write files over HTTP
or FTP just like you do local files. As M&F said, there are examples
in the library, but you can also ask here if you have specific things
you're trying to do; the people here are very nice and enormously
helpful.
RT just started a REBOL cookbook, so there's not a whole lot there,
but it's a start.
www.rebol.net/cookbook/
Happy REBOLing!
-- Gregg
[4/8] from: apwing:zonnet:nl at: 16-Sep-2003 12:13
Hi Gregg,
thanks for your answer. You said: "with REBOL you really don't need to know
how to use the networking protocols".
Does that mean that one does not have to know the low level stuff (commands
/ response codes) at all when using REBOL? This info was exactly what I was
searching for!
Is it still useful to know the low level stuff or just a waste when
programming REBOL ?
Thanx
Arie
[5/8] from: apwing:zonnet:nl at: 16-Sep-2003 12:14
Hi M&F
thanks. Hope to explore that stuff soon.
Arie
[6/8] from: g:santilli:tiscalinet:it at: 16-Sep-2003 13:17
Hi Arie,
On Tuesday, September 16, 2003, 12:13:07 PM, you wrote:
AvW> Is it still useful to know the low level stuff or just a waste when
AvW> programming REBOL ?
Well, knowing is always useful, but you don't need to. If you want
to read a web page, for e.g. rebol.com, you just have to use:
read http://www.rebol.com/
That's all. Same for FTP, POP3, etc.
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/
[7/8] from: maximo:meteorstudios at: 16-Sep-2003 11:31
Welcome Arie,
might I add that since all accesses to external data are done internally via port objects
( (including files, networks, even audio and the clipboard) they are all pretty much
accessed the same way... not just the network stuff.
for example, reading text from the clipboard is as easy as:
read clipboard://
(be carefull, rebol currently only supports text in the clipboard)
this way, the number of commands and procedures is reduced and instead of learning new
protocols and schemes, you concentrate on WHAT you extract or push from/to them instead
of HOW you do it.
if you still want to access the low-level stuff (like I did recently, to call a chmod
when transfering *.cgi files in the ftp protocol), you can look at an article on the
rebol forces (www.rebolforces.com) site written by Jeff Kreis which is an excelent tutorial
on the basics of creating your own protocol and/or modifying the current ones.
-MAx
[8/8] from: apwing:zonnet:nl at: 16-Sep-2003 20:05
Hi Gabriele and Maxim,
thanks for the to the point info. I think the message is quite clear (REBOL
takes away the real need to know a lot about the low level stuff) ;-)
Also thanks for the links; quite useful!
Kind regards,
Arie
----- Original Message -----
From: "Maxim Olivier-Adlhoch" <[maximo--meteorstudios--com]>
To: <[rebol-list--rebol--com]>
Sent: Tuesday, September 16, 2003 5:31 PM
Subject: [REBOL] Re: newbie: Examples / tutorials for networking protocols ?
> Welcome Arie,
>
> might I add that since all accesses to external data are done internally
via port objects ( (including files, networks, even audio and the clipboard)
they are all pretty much accessed the same way... not just the network
stuff.
> for example, reading text from the clipboard is as easy as:
>
> read clipboard://
>
> (be carefull, rebol currently only supports text in the clipboard)
>
> this way, the number of commands and procedures is reduced and instead of
learning new protocols and schemes, you concentrate on WHAT you extract or
push from/to them instead of HOW you do it.
> if you still want to access the low-level stuff (like I did recently, to
call a chmod when transfering *.cgi files in the ftp protocol), you can look
at an article on the rebol forces (www.rebolforces.com) site written by Jeff
Kreis which is an excelent tutorial on the basics of creating your own
protocol and/or modifying the current ones.
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted