Initial Commit
This commit is contained in:
commit
7fa93a8886
16
README.md
Normal file
16
README.md
Normal file
@ -0,0 +1,16 @@
|
||||
#OpenSQLManager
|
||||
|
||||
OpenSQLManager is an attempt to create an alternative to Navicat that is free and open. It is build with PHP-GTK, so I'm looking for a way to create normal binaries.
|
||||
|
||||
### Planned Features
|
||||
* CRUD (Create, Read, Update, Delete) functionality
|
||||
* Database table creation and backup
|
||||
|
||||
The databases currently slated to be suported are:
|
||||
|
||||
* PostgreSQL
|
||||
* MySQL
|
||||
* SQLite
|
||||
|
||||
|
||||
|
15
src/databases/mysql.php
Normal file
15
src/databases/mysql.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* OpenSQLManager
|
||||
*
|
||||
* Free Database manager for Open Source Databases
|
||||
*
|
||||
* @author Timothy J. Warren
|
||||
* @copyright Copyright (c) 2012
|
||||
* @link https://github.com/aviat4ion/OpenSQLManager
|
||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
||||
*/
|
||||
class MySQL {
|
||||
|
||||
|
||||
}
|
14
src/databases/odbc.php
Normal file
14
src/databases/odbc.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
/**
|
||||
* OpenSQLManager
|
||||
*
|
||||
* Free Database manager for Open Source Databases
|
||||
*
|
||||
* @author Timothy J. Warren
|
||||
* @copyright Copyright (c) 2012
|
||||
* @link https://github.com/aviat4ion/OpenSQLManager
|
||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
||||
*/
|
||||
class ODBC extends DB_PDO {
|
||||
|
||||
}
|
14
src/databases/pdo.php
Normal file
14
src/databases/pdo.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
/**
|
||||
* OpenSQLManager
|
||||
*
|
||||
* Free Database manager for Open Source Databases
|
||||
*
|
||||
* @author Timothy J. Warren
|
||||
* @copyright Copyright (c) 2012
|
||||
* @link https://github.com/aviat4ion/OpenSQLManager
|
||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
||||
*/
|
||||
class DB_PDO extends PDO {
|
||||
|
||||
}
|
14
src/databases/pgsql.php
Normal file
14
src/databases/pgsql.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
/**
|
||||
* OpenSQLManager
|
||||
*
|
||||
* Free Database manager for Open Source Databases
|
||||
*
|
||||
* @author Timothy J. Warren
|
||||
* @copyright Copyright (c) 2012
|
||||
* @link https://github.com/aviat4ion/OpenSQLManager
|
||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
||||
*/
|
||||
class pgSQL {
|
||||
|
||||
}
|
15
src/databases/sqlite.php
Normal file
15
src/databases/sqlite.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* OpenSQLManager
|
||||
*
|
||||
* Free Database manager for Open Source Databases
|
||||
*
|
||||
* @author Timothy J. Warren
|
||||
* @copyright Copyright (c) 2012
|
||||
* @link https://github.com/aviat4ion/OpenSQLManager
|
||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
||||
*/
|
||||
class SQLite {
|
||||
|
||||
|
||||
}
|
25
src/index.php
Normal file
25
src/index.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* OpenSQLManager
|
||||
*
|
||||
* Free Database manager for Open Source Databases
|
||||
*
|
||||
* @author Timothy J. Warren
|
||||
* @copyright Copyright (c) 2012
|
||||
* @link https://github.com/aviat4ion/OpenSQLManager
|
||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
||||
*/
|
||||
if ( ! class_exists('gtk'))
|
||||
{
|
||||
die("Please load the php-gtk2 module in your php.ini\r\n");
|
||||
}
|
||||
|
||||
//Load modules
|
||||
$dbs = array_map('require_once', glob('./databases/*.php'));
|
||||
$wnds = array_map('require_once', glob('./windows/*.php'));
|
||||
|
||||
|
||||
|
||||
|
||||
//Start the GTK event loop
|
||||
GTK::main();
|
19
src/windows/main.php
Normal file
19
src/windows/main.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
/**
|
||||
* OpenSQLManager
|
||||
*
|
||||
* Free Database manager for Open Source Databases
|
||||
*
|
||||
* @author Timothy J. Warren
|
||||
* @copyright Copyright (c) 2012
|
||||
* @link https://github.com/aviat4ion/OpenSQLManager
|
||||
* @license http://philsturgeon.co.uk/code/dbad-license
|
||||
*/
|
||||
class Main extends GtkWindow {
|
||||
|
||||
function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user