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

A word to all novice port programmers

 [1/4] from: cribbsj:oakwood at: 19-Oct-2000 15:41


This message goes out to all you who, like me, are novices when it comes to using ports to communicate between your Rebol script and other programs. I am in the process of learning Rebol. I have been writing some small applications that use text files to store any data needed. Because Core does not allow you to run system commands and because I do not yet have much experience using ports to communicate, I thought that I would have to wait until I purchased Command or someone wrote a script that connected Core to MySQL (or the like) via ports. Then I found MDBMS (www.hinttech.com). This is a very small, simple DBMS written by a guy named Marty Bochane. Basically, you start it up on a Linux box, then you can communicate to it interactively using telnet. But, wait, it gets better. MDBMS has a little utility called FOP (Fast Opendatabase Protocol). FOP allows you to open a port (default 2224) to your MDBMS database and interact with it via simple ASCII strings terminated by newlines. Using FOP, I was able to very easily open up a port while in Rebol, send sql queries to my MDBMS database, and receive the result set. It was so cool! Here I was, a guy who knows VERY little about port programming, basically building a client/server app in less than 30 minutes. I know that this will be very mundane, basic stuff to the people on this list that have a lot of port programming experience. But, if you are a novice like me, this might be a way to get your feet wet in this subject. I know I am already learning a lot. I guess this is also a testament to Rebol's incredible knack for making things easy to do. The ability you have to easily open, read from, and write to ports is incredible! Anyway, just thought I would pass this info along. -- Jamey Cribbs

 [2/4] from: s_woodrum:hot:mail at: 19-Oct-2000 16:28


Thanks for the tip, I'm going to check it out. Scott _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.

 [3/4] from: sharriff:aina:med-iq at: 20-Oct-2000 7:20


>I know that this will be very mundane, basic stuff to the people on this
list
>that have a lot of port programming experience. But, if you are a novice
like
>me, this might be a way to get your feet wet in this subject. I know I am >already learning a lot.
Hi Jamey! I wouldŽnt consider this as mundane stuff at all, IŽm a port programmer novice just like you, and I consider this information as valuable. I once posted a request that CORE should support at least 1 free DB, this would definately win more of the programmers that use PHP, or PERL to access databases on the REBOL side. Best regards and thanks for the link! Sharriff Aina med.iq information & quality in healthcare AG

 [4/4] from: pa::russo::perd::com at: 20-Oct-2000 9:42


>This message goes out to all you who, like me, are novices when it comes to >using ports to communicate between your Rebol script and other programs.
<<quoted lines omitted: 6>>
>is incredible! >Anyway, just thought I would pass this info along.
Thank you Jamey, really interesting. -- Paolo Russo [pa--russo--perd--com] _________________ PERD s.r.l. Virtual Technologies for Real Solutions http://www.perd.com

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