Update READMEs to reflect change to wxPHP

This commit is contained in:
Timothy Warren 2012-05-25 20:38:43 -04:00
parent f54669817a
commit d4def2fc04
2 changed files with 10 additions and 15 deletions

View File

@ -3,7 +3,6 @@
##Programming Style ##Programming Style
Follow the CodeIgniter [Style Guide](https://github.com/timw4mail/CodeIgniter/blob/develop/user_guide_src/source/general/styleguide.rst) - and: Follow the CodeIgniter [Style Guide](https://github.com/timw4mail/CodeIgniter/blob/develop/user_guide_src/source/general/styleguide.rst) - and:
* Stick to PHP 5.2 features - unless I have a PHP 5.3 bundle with PHP-GTK for Windows attached
* Do not use spaces to align code * Do not use spaces to align code
* Do not use `global`, `eval` * Do not use `global`, `eval`
* Do not use the error suppressor `@` * Do not use the error suppressor `@`
@ -11,11 +10,10 @@ Follow the CodeIgniter [Style Guide](https://github.com/timw4mail/CodeIgniter/bl
* Use [heredoc](http://us2.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc) string syntax for multi-line SQL statements to minimize PHP escape characters * Use [heredoc](http://us2.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc) string syntax for multi-line SQL statements to minimize PHP escape characters
* Use prepared statements whenever possible * Use prepared statements whenever possible
## PHP-Gtk Resources ## wxPHP Resources
* [Reference](http://gtk.php.net/manual/en/reference.php) * [wxPHP Site](http://wxphp.org/)
* [Official Tutorials](http://gtk.php.net/manual/en/tutorials.php) * [wxWidgets Manual](http://www.wxwidgets.org/docs/)
* [Community site](http://php-gtk.eu/) - Contains various tutorials
* [php-gtk2 Cookbook](http://www.kksou.com/php-gtk2/) - Various tutorials, requires registration
## Database reference material ## Database reference material
### Firebird ### Firebird

View File

@ -1,31 +1,28 @@
#OpenSQLManager #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. OpenSQLManager is an attempt to create an alternative to Navicat that is free and open. It is build with wxPHP, so I'm looking for a way to create normal binaries.
[![Build Status](https://secure.travis-ci.org/timw4mail/OpenSQLManager.png)](http://travis-ci.org/timw4mail/OpenSQLManager) [![Build Status](https://secure.travis-ci.org/timw4mail/OpenSQLManager.png)](http://travis-ci.org/timw4mail/OpenSQLManager)
### Pre-configured version of php for windows ### Pre-configured version of php for windows
Because php-gtk is such a pain to compile on Windows, I've put together this package from the latest php-gtk windows package. It's available in the downloads section. I've put together this package from the latest wxPHP windows package. It's available in the downloads section.
### How to run: ### How to run:
* On Windows: drag the `index.php` file to the `php.exe` or `php-win.exe` executable in the php package. `php.exe` brings up a DOS console, `php-win.exe` does not. * On Windows: drag the `OpenSQLManager.php` file to the `php.exe` or `php-win.exe` executable in the php package. `php.exe` brings up a DOS console, `php-win.exe` does not.
* On Mac: * On Mac:
* Install [MacPorts](http://guide.macports.org/#installing) * Install [MacPorts](http://guide.macports.org/#installing)
* Install these ports using MacPorts * Install these ports using MacPorts
* php5 * php5
* php5-cairo
* php5-gtk
* php5-iconv * php5-iconv
* php5-mysql * php5-mysql
* php5-postgresql * php5-postgresql
* php5-sqlite * php5-sqlite
* php5-ssh2 * php5-ssh2
* Run via terminal in the OpenSQLManager folder using `php index.php` * Run via terminal in the OpenSQLManager folder using `php OpenSQLManager.php`
## PHP Requirements ## PHP Requirements
* Version 5.2 - 5.3.* * Version 5.3.*
* PHP-Cairo PECL extension * [wxPHP](http://wxphp.org/) PHP Extension
* [PHP-GTK](http://gtk.php.net) PHP Extension
* OpenSSL * OpenSSL
* JSON * JSON
* PDO * PDO