luasql/index.html

215 lines
6.3 KiB
HTML
Raw Blame History

<! See Copyright Notice in license.html>
<html>
<head>
<title>LuaSQL: Database connectivity for the Lua programming language</title>
<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.keplerproject.org/luasql">
<img border=0 alt="LuaSQL logo" src="luasql.png"></a>
<tr><td align=center><big><b>LuaSQL</b></big>
<tr><td align=center valign=top>Database connectivity for the
<a href="http://www.lua.org">Lua</a>
programming 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="#credits">credits</a> &middot;
<a href="#contact">contact us</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="#credits">Credits</a>
<li> <a href="#contact">Contact us</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, SQLite and PostgreSQL databases;
<li> Execute arbitrary SQL statements;
<li> Retrieve results in a row-by-row cursor fashion.
</ul>
LuaSQL is free software and uses the same
<a href="license.html">license</a>
as Lua 5.0.
<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 versions 4.0 and 4.1.
The Oracle driver has been tested on Windows
and is compatible with OCI 8 API.
The SQLite drivers had been tested on Linux
and are compatible with versions 2. and 3 beta.
</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>[??/sep/2004] Version 2.0 beta 2 released
<li>[10/dec/2003] Version 2.0 beta released
</ul>
<p>
Version 2.0 beta 2 has some bug fixes and the new SQLite drivers.
Also, it follows the new 5.1 model for dynamic library loading.
<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 is 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>luaopen_luasql_<i>drivername</i></tt> and it is 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="credits">
<h2>Credits</h2>
<h4>LuaSQL 2.0</h4>
<p>
Version 2.0 was redesigned by Roberto Ierusalimschy, Andr&eacute; Carregal
and Tom&aacute;s Guisasola as part of the
<a href="http://www.keplerproject.org">Kepler Project</a>.
The implementation is compatible with Lua 5.0 and was coded by
Tom&aacute;s Guisasola and Eduardo Quint&atilde;o,
with many invaluable contributions by Michael Roth, Tiago Dionisio,
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>.
<a name="contact"></a>
<h2>Contact us</h2>
<p>
For more information please
<a href="mailto:tomas-NO-SPAM-THANKS@keplerproject.org">contact us</a>.
Comments are welcome!
</p>
<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="#credits">credits</a> &middot;
<a href="#contact">contact us</a>
</small></center>
<p>
<hr>
<small>
$Id: index.html,v 1.22 2004/08/30 15:28:51 tomas Exp $
</small>
</body>
</html>