This repository has been archived on 2018-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
OpenSQLManager/DEV_README.md

34 lines
1.6 KiB
Markdown
Raw Normal View History

2012-02-08 15:05:28 -05:00
#Developer Notes
##Programming Style
2012-02-29 15:03:51 -05:00
Follow the CodeIgniter [Style Guide](https://github.com/timw4mail/CodeIgniter/blob/develop/user_guide_src/source/general/styleguide.rst) - and:
2012-02-08 15:05:28 -05:00
* Do not use spaces to align code
* Do not use `global`, `eval`
* Do not use the error suppressor `@`
* Add a docblock to every method
2012-02-29 15:03:51 -05:00
* 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
2012-02-08 15:05:28 -05:00
## PHP-Gtk Resources
* [Reference](http://gtk.php.net/manual/en/reference.php)
* [Official Tutorials](http://gtk.php.net/manual/en/tutorials.php)
* [Community site](http://php-gtk.eu/) - Contains various tutorials
2012-02-08 17:32:40 -05:00
* [php-gtk2 Cookbook](http://www.kksou.com/php-gtk2/) - Various tutorials, requires registration
2012-02-08 15:05:28 -05:00
## Database reference material
### Firebird
* [Interbase 6 Lang Ref](http://fbclient.googlecode.com/files/LangRef.pdf) - SQL Syntax (pdf)
* [Firebird Lang Update Ref](http://www.firebirdsql.org/file/documentation/reference_manuals/reference_material/html/langrefupd25.html) - SQL Syntax Updates
### MySQL
* [MySQL Syntax](http://dev.mysql.com/doc/refman/5.1/en/sql-syntax.html)
* [Optimizing SQL Statements](http://dev.mysql.com/doc/refman/5.1/en/statement-optimization.html)
### PostgreSQL
* [PostgreSQL Syntax](http://www.postgresql.org/docs/9.0/interactive/sql.html)
* [Performance Tips](http://www.postgresql.org/docs/9.0/interactive/performance-tips.html)
### SQLite
* [SQL Syntax](http://www.sqlite.org/lang.html)
* [Pragma SQL Syntax](http://www.sqlite.org/pragma.html) - Internal / Performance Stuff