ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:database:for_removal

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
v5:database:for_removal [2020/01/09 03:45] – [LDAP Driver] mnewnhamv5:database:for_removal [2020/01/09 04:02] – [ociquercus] mnewnham
Line 58: Line 58:
 ===== ociquercus ===== ===== 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 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
 +</code>
 +This would empty the main directory
 +
 +===== Functions in adodb-lib.inc.php =====
 +There are a lot of functions in this file, for eaxample ``_adodb_column_sql()``. I've never understood why these are functions and not part of the class. I think we should make them class functions, and if necessary, create some kind of helper functions that calls them. so:
 +
 +<code php>
 +function _adodb_column_sql(&$zthis ..
 +
 +becomes ADOconnection::adodbColumnSql
 +
 +</code>
 +
 +
  
v5/database/for_removal.txt · Last modified: 2020/01/09 04:03 by mnewnham