[REBOL] Re: [books] Pre-release of Chapter 5 of Rebol - A programmer's guide
From: pwawood:g:mail at: 3-Jul-2008 18:11
> I've been using mysql-protocol (Mysql Scheme) and cgi for many years
> now. I
> really like it, but I think that /command would bring some
> advantages, if
> it can directly access the "C" API for MySQL.
> Example: Using the mysql scheme on a tcp/ip connection, I have to code
> the escaping of special characters for insert and updates and code the
> unescaping of special characters for retrieval.
> Using the C API from other scripting languages, the
> function handles the escaping _appropriate_ to the version, and
> queries are similarly unescaped.
> If command can do the same, that might be an advantage over the
> mysql scheme
The book doesn't go into such detail on /Command database access; it
is after all aimed at introducing Rebol to programmers.
Now that RT has included library access in the latest free versions,
wouldn't it be possible to enhance Doc's scheme to include the MySQL C
API functions (not withstanding any licence implications). Perhaps a
note to Doc himself might catch his interest.