Recommend this page to a friend! |
Classes of Yorch Ponce | Yorch MyDb | README.md | Download |
|
DownloadMyDbDescriptionAbstract Class to manage RDBMS (MySQL, MSSQLServer, ODBC, PostgreSQL) connections RequirementsDeveloper DocumentationExecute phpdoc -d MyDb/ InstallationCreate file composer.json {
} Execute composer.phar install Example
NotesThe SQL Server connection only works in MS Windows. For PostgreSQL the parameters in SQL Query must be $#. example: 'SELECT * FROM MYTABLE WHERE ID = $1 AND DESCRIPTION = $2' For ODBC connection, if the query insert uses ? parameters throw this error (COUNT field incorrect or syntax error). Sorry, my english is bad :(. Referenceshttp://es.wikipedia.org/wiki/Patr%C3%B3n_de_dise%C3%B1o http://es.wikipedia.org/wiki/Singleton http://es.wikipedia.org/wiki/Abstract_Factory DonateP.D. Let's go play !!! |