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

35 lines
1.6 KiB
Markdown
Raw Permalink 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
## wxPHP Resources
* [wxPHP Site](http://wxphp.org/)
* [wxWidgets Manual](http://www.wxwidgets.org/docs/)
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
2012-04-09 10:22:31 -04:00
* [Meta Data Queries](http://www.alberton.info/firebird_sql_meta_info.html)
2012-02-08 15:05:28 -05:00
### 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)
2012-04-09 10:22:31 -04:00
* [Meta Data Queries](http://www.alberton.info/postgresql_meta_info.html)
2012-02-08 15:05:28 -05:00
### SQLite
* [SQL Syntax](http://www.sqlite.org/lang.html)
* [Pragma SQL Syntax](http://www.sqlite.org/pragma.html) - Internal / Performance Stuff