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
Next revision
Previous revision
v5:database:for_removal [2020/01/08 04:11] mnewnhamv5:database:for_removal [2020/01/09 04:03] (current) – [Functions in adodb-lib.inc.php] mnewnham
Line 53: Line 53:
  
 How to link them to the base driver I have no idea. 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
 +</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.1578453080.txt.gz · Last modified: 2020/01/08 04:11 by mnewnham