v5:database:for_removal
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
v5:database:for_removal [2020/01/08 03:09] – [Partial Removal] mnewnham | v5:database:for_removal [2020/01/09 04:03] (current) – [Functions in adodb-lib.inc.php] mnewnham | ||
---|---|---|---|
Line 8: | Line 8: | ||
| [[v5: | | [[v5: | ||
| [[v5: | | [[v5: | ||
- | | [v5: | + | | [[v5: |
| [[v5: | | [[v5: | ||
| [[v5: | | [[v5: | ||
Line 22: | Line 22: | ||
Occasionally renewed interest in a database may result in a driver being reactivated | Occasionally renewed interest in a database may result in a driver being reactivated | ||
===== Partial Removal ===== | ===== Partial Removal ===== | ||
- | ^ Driver | + | ^ Driver |
- | | [[v5: | + | | |
- | | [[v5: | + | | [[v5: |
- | | [[v5: | + | | [[v5: |
- | | [[v5: | + | | [[v5: |
- | | [[v5: | + | | [[v5: |
- | | [[v5: | + | | [[v5: |
- | | [[v5: | + | | [[v5: |
+ | | [[v5: | ||
+ | |||
+ | ===== Remaining ===== | ||
+ | ^ Old Name ^ New Name ^ Children ^ | ||
+ | |access|access|| | ||
+ | |db2|db2|| | ||
+ | |firebird|firebird| | ||
+ | |ldap|ldap|| | ||
+ | |mssqlnative|sqlserver|| | ||
+ | |mysqli|mysql|| | ||
+ | |oci8|oracle|| | ||
+ | |odbc|odbc|db2, | ||
+ | |pdo|pdo|dblib, | ||
+ | |postgres9|postgres|| | ||
+ | |sqlite3|sqlite|| | ||
+ | |||
+ | |||
+ | ===== The thing about the PDO driver ===== | ||
+ | Take, for example, pdo_mysql. This driver is really just the mysql driver. It doesn' | ||
+ | |||
+ | If you were going to make the drivers loadable classes, it would make no sense to have these as extensions of PDO, they should be an extension of the native driver so that they all have access to the already written methods in the native driver. | ||
+ | |||
+ | How to link them to the base driver I have no idea. | ||
+ | |||
+ | ===== LDAP Driver ===== | ||
+ | Isn't really the same thing as all the others. It's useful, but doesnt really fit in with the others. Maybe we should break it off to its own directory or something. | ||
+ | ===== ociquercus ===== | ||
+ | This seems to have a lot of complicated cursor stuff in it. I think John was a bit of an oracle hacker. would be a shame to lose it but not quite sure what to do with it | ||
+ | ===== Directory Structure ===== | ||
+ | I think we should break a lot of stuff away from the main directory, perhaps it could match a namespace or something? | ||
+ | <code php> | ||
+ | \adodb | ||
+ | \adodb\adodb | ||
+ | \adodb\adodb\drivers | ||
+ | \adodb\adodb\datadict | ||
+ | \adodb\adodb\perf | ||
+ | \adodb\adodb\xmlschema | ||
+ | \adodb\adodb\memcache | ||
+ | \adodb\adodb\errors | ||
+ | \adodb\adodb\lang | ||
+ | |||
+ | \adodb\session | ||
+ | |||
+ | \adodb\activerecord | ||
+ | |||
+ | \adodb\time | ||
+ | |||
+ | \adodb\other - everything else in subdirectories | ||
+ | </ | ||
+ | This would empty the main directory | ||
+ | |||
+ | ===== Functions in adodb-lib.inc.php ===== | ||
+ | There are a lot of functions in this file, for eaxample '' | ||
+ | |||
+ | <code php> | ||
+ | function _adodb_column_sql(& | ||
+ | |||
+ | becomes ADOconnection:: | ||
+ | |||
+ | </ | ||
+ | |||
+ |
v5/database/for_removal.1578449366.txt.gz · Last modified: 2020/01/08 03:09 by mnewnham