luasql/index.html

185 lines
5.4 KiB
HTML
Raw Blame History

<! See Copyright Notice in license.html>
<html>
<head>
<style type="text/css">
ul { list-style-type: disc };
</style>
</head>
<body bgcolor="#FFFFFF">
<hr>
<center>
<table border=0 cellspacing=2 cellpadding=2>
<tr><td align=center><a href="http://www.lua.org">
<img border=0 alt="The Lua language" src="lua.png"></a>
<tr><td align=center><big><b>LuaSQL</b></big>
<tr><td align=center valign=top>Database connectivity for the Lua language
</table>
</center>
<p>
<center><small>
<a href=#over>overview</a> &middot;
<a href=#version>current version</a> &middot;
<a href=#download>download</a> &middot;
<a href=#new>news</a> &middot;
<a href=#installation>installation</a> &middot;
<a href="manual.html">manual</a> &middot;
<a href="license.html">license</a> &middot;
<a href=#hist>history</a>
</small></center>
<p>
<hr>
<h2>Contents</h2>
<p>
<ul>
<li> <a href=#over>Overview</a>
<li> <a href=#version>Current Version</a>
<li> <a href=#download>Download</a>
<li> <a href=#new>What's new</a>
<li> <a href=#installation>Installation</a>
<li> <a href="manual.html">User's manual</a>
<ul>
<li> <a href="manual.html#introduction">Introduction</a>
<li> <a href="manual.html#environment_object">Environment objects</a>
<li> <a href="manual.html#connection_object">Connection objects</a>
<li> <a href="manual.html#cursor_object">Cursor objects</a>
<li> <a href="manual.html#postgres_extensions">PostgreSQL extensions</a>
<li> <a href="manual.html#mysql_extensions">MySQL extensions</a>
<li> <a href="manual.html#oracle_extensions">Oracle extensions</a>
<li> <a href="manual.html#examples">Examples</a>
</ul>
<li> <a href="license.html">Copyright & License</a>
<li> <a href=#hist>History</a>
</ul>
</p>
<a name=over>
<h2>Overview</h2>
<p>
LuaSQL is a simple interface from Lua to a DBMS.
It enables a Lua program to:
<ul>
<li> Connect to ODBC, Oracle, MySQL and PostgreSQL databases;
<li> Execute arbitrary SQL statements;
<li> Retrieve results in a row-by-row cursor fashion.
</ul>
LuaSQL is <a href="license.html">free software</a>.
<a name=version>
<h2>Current version</h2>
<p>
LuaSQL version 2.0 beta (for Lua 5.0) is now available for
<a href="#download">download</a>!
The PostgreSQL driver
has been tested on Linux and MacOS X
and is compatible with PostgreSQL 7.x.
The ODBC driver has been tested on Windows
(SQLServer and Microsoft Access drivers).
The MySQL driver has been tested on Linux
and is compatible with version 4.1.
The Oracle driver has been tested on Windows
and is compatible with OCI 8 API.
</p>
<a name=download>
<h2>Download</h2>
LuaSQL can be downloaded in source code from the following links: <p>
<blockquote>
<a href="luasql-2.0b.tar.gz">luasql-2.0b.tar.gz</a><br>
<a href="luasql-2.0b.zip">luasql-2.0b.zip</a>
</blockquote><p>
<a name=new>
<h2>What's new</h2>
<p>
<ul>
<li>[10/dec/2003] Version 2.0 beta released
</ul>
<p>
Version 2.0 has some design modifications and implementation improvements
<ul>
<li>New <tt>fetch</tt> method: more eficient and more flexible
<li>New <tt>setautocommit</tt> method
<li>Lua 5.0 compatible
<li>Dynamically loadable or statically linked
<li>New drivers for Oracle and MySQL databases
</ul>
</p>
<a name="installation"></a>
<h2>Installation</h2>
<p>
LuaSQL is distributed as a set of C source files and a Lua script that
loads the dynamic library (if the library is not statically linked to
the application).
Each driver should be compiled together with luasql.c file (it's so small
that we don't make another library of it) to generate a library.
This library should be linked to the application (the initialization
function is <tt>luasql_libopen_<i>drivername</i></tt> and it's a Lua
open-library compatible function)
or dynamically loaded.
In this case, LuaSQL provide a Lua script template that must be
edited to suit the installation: the text <tt>LIB_NAME</tt> (in the line
<tt>local&nbsp;libname&nbsp;=&nbsp;"LIB_NAME"</tt>) should be substituted by the
complete path of the dynamic library.
The distribution contains a Makefile that has lines to do this job,
using <tt>sed</tt>, according to each driver and platform.
<a name=hist>
<h2>History</h2>
<h4>LuaSQL 2.0</h4>
<p>
Version 2.0 was redesigned by Roberto Ierusalimschy, Andr&eacute; Carregal
and Tom&aacute;s Guisasola behind the Kepler Project.
The implementation is compatible with Lua 5.0 and was coded by
Tom&aacute;s Guisasola, Eduardo Quint&atilde;o and Leonardo Godinho.
<h4>LuaSQL 1.0</h4>
<p>
LuaSQL was designed by Pedro Miller Rabinovitch and Roberto
Ierusalimschy.
The first implementation was compatible with Lua 4.0a.
Many modifications were made but not distributed by Diego Nehab (ODBC),
Carlos Cassino, Tom&aacute;s Guisasola and Eduardo Quint&atilde;o (PostgreSQL).
<p>
LuaSQL development was sponsored by
<a href="http://www.fabricadigital.com.br">F<EFBFBD>brica Digital</a>.
<p>
<center><small>
<a href=#over>overview</a> &middot;
<a href=#version>current version</a> &middot;
<a href=#download>download</a> &middot;
<a href=#new>what's new</a> &middot;
<a href=#installation>installation</a> &middot;
<a href="manual.html">manual</a> &middot;
<a href="license.html">license</a> &middot;
<a href=#hist>history</a>
</small></center>
<p>
<hr>
<small>
$Id: index.html,v 1.17 2003/12/10 17:43:14 tomas Exp $
</small>
</body>
</html>