Why SqLite?

Teryaki

A greate database with a great background.

Havalite CMS is based on three magnificant softwares which changed the face of the modern internet: Php, Javascript and SqLite. The first two of them are well known as they exist since the beginning of the internet era. The third one SqLIte is not well known as much as Mysql but it aproved it self as a strong challange

Features of SQLite

Zero-Configuration

SQLite does not need to be “installed” before it is used. There is no “setup” procedure. There is no server process that needs to be started, stopped, or configured. There is no need for an administrator to create a new database instance or assign access permissions to users.

Serverless

Most SQL database engines are implemented as a separate server process. Programs that want to access the database communicate with the server using some kind of interprocess communication (typically TCP/IP) to send requests to the server and to receive back results. SQLite does not work this way. With SQLite, the process that wants to access the database reads and writes directly from the database files on disk. There is no intermediary server process.

Single Database File

An SQLite database is a single ordinary disk file that can be located anywhere in the directory hierarchy. If SQLite can read the disk file then it can read anything in the database. If the disk file and its directory are writable, then SQLite can change anything in the database. Database files can easily be copied onto a USB memory stick or emailed for sharing.

Stable Cross-Platform Database File

The SQLite file format is cross-platform. A database file written on one machine can be copied to and used on a different machine with a different architecture.

Compact

When optimized for size, the whole SQLite library with everything enabled is [footprint | less than 350KiB in size]

Manifest typing

Most SQL database engines use static typing. A datatype is associated with each column in a table and only values of that particular datatype are allowed to be stored in that column. SQLite relaxes this restriction by using manifest typing. In manifest typing, the datatype is a property of the value itself, not of the column in which the value is stored. SQLite thus allows the user to store any value of any datatype into any column regardless of the declared type of that column.

Variable-length records

SQLite, in contrast, use only the amount of disk space actually needed to store the information in a row.

Readable source code

The source code to SQLite is designed to be readable and accessible to the average programmer.

Public domain

The source code files for other SQL database engines typically begin with a comment describing your license rights to view and copy that file. The SQLite source code contains no license since it is not governed by copyright. Instead of a license, the SQLite source code offers a blessing:

May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.

Read More

 

Editors for SqLite

 

SQLite Database Browser

SQLite Database Browser

SQLite Database browser is a light GUI editor for SQLite databases, built on top of Qt. The main goal of the project is to allow non-technical users to create, modify and edit SQLite databases using a set of wizards and a spreadsheet-like interface.


phpliteadmin

phpLiteAdmin is a web-based SQLite database admin tool written in PHP with support for SQLite2 and SQLite3. Following in the spirit of the flat-file system used by SQLite, phpLiteAdmin consists of a single source file, phpliteadmin.php, that is dropped into a directory on a server and then visited in a browser. There is no installation required. The available operations, feature set, interface, and user experience is comparable to that of phpMyAdmin.


SQLite Studio

SQLiteStudio is a SQLite database manager with the following features:

  • Single executable file – no need to install or uninstall. Binary distribution is just the single, ready to use file.
  • Intuitive interface,
  • All SQLite3 and SQLite2 features wrapped within simple GUI,
  • Cross-platform – runs on Windows 9x/2k/XP/2003/Vista/7, Linux, MacOS X, Solaris, FreeBSD and should work on other Unixes (not tested yet).
  • Localizations, currently translated to: English, Polish, Spanish, German, Russian, Japanese, Italian, Dutch, Chinese,
  • Exporting to various formats (SQL statements, CSV, HTML, XML),
  • Numerous small additions, like formatting code, history of queries executed in editor windows, on-the-fly syntax checking, and more,
  • UTF-8 support,
  • skinnable (interface can look native for Windows 9x/XP, KDE, GTK, Mac OS X, or draw widgets to fit for other environments, WindowMaker, etc),
  • Configurable colors, fonts and shortcuts.
  • Open source and free – Released under GPLv2 licence.