ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v6:index

Differences

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

Link to this comparison view

Next revision
Previous revision
v6:index [2021/02/23 15:02] – created - external edit 127.0.0.1v6:index [2026/08/31 12:20] (current) – mnewnham
Line 9: Line 9:
 == Important Links == == Important Links ==
   * [[v6:reference:reference_index|The V6 Reference Manual]]     * [[v6:reference:reference_index|The V6 Reference Manual]]  
-  * [[v6:connector|Building A Connection]]   
   * [[v6:caching|Results Caching Services]]     * [[v6:caching|Results Caching Services]]  
   * [[v6:sessions|Session Management]]   * [[v6:sessions|Session Management]]
-  * [[v6:logging|ADOdb Logging With Monolog]]+  * [[v6:logging|ADOdb Logging Functions]]
 </WRAP> </WRAP>
-ADOdb Version 6 is a major **refactoring** (not rewrite) of the main portion of the ADOdb code into a [[https://www.php-fig.org/psr/|PSR Compliant]] codebase featuring autoloading and improved logging capabilities. Its focus is on the main Database Extraction features, as well as Meta Functions, The Data Dictionary, the Time library and Session management. There are no plans at this moment to move any of the add-on features, or deprecated drivers forward. Some functions may be discarded, even though the product is generally backwards compatible with version 5.+ADOdb Version 6 is a major **refactoring** (not rewrite) of the main portion of the ADOdb code into a [[https://www.php-fig.org/psr/|PSR Compliant]] codebase Its focus is on the main Database Extraction features, as well as Meta Functions, The Data Dictionary, and Session management. All of the additional addons and deprecated drivers have been removed, even though the product is generally backwards compatible with version 5.
  
 ==== Highlights ===== ==== Highlights =====
 === PHP Version === === PHP Version ===
-The minimum required version of PHP for this product is **7.4**+The minimum required version of PHP for this product is **8.3**
  
 === Logging === === Logging ===
-All of the logging functions of ADOdb have been offloaded to the [[https://packagist.org/packages/monolog/monolog|Monolog]] library, allowing you to define individual streams for both debug mode and error trapping. Logging for error handling is now always on, and unaffected by the ''debug mode'' flag, although messages along that channel can be discarded by setting up the appropriate monolog stream. For more about logging, visit [[v6:logging|Logging]]+The format of logging messages has changed, to replicate the standard syslog format. This means they can be consumed by log management applications.
  
 === Autoloading === === Autoloading ===
 ADOdb becomes a PSR level 4 autoload library. An appropriate autoloader class is required. ADOdb becomes a PSR level 4 autoload library. An appropriate autoloader class is required.
- 
-=== Encapsulation === 
-ADOdb Version 6 does not use any globalized variables or constants. Each connection becomes a standalone entity, with its own set of definitions, each definition representing an ADOdb Version 5 global or constant. This means, for example that a connection to one database might use numeric arrays in record fetch operations, while a second might simultaneously use associative arrays.  
  
 === Data Quality === === Data Quality ===
Line 34: Line 30:
 === Footprint === === Footprint ===
 By moving the code of most of the methods from the core files into JIT loadable classes, the footprint of ADOdb becomes much smaller By moving the code of most of the methods from the core files into JIT loadable classes, the footprint of ADOdb becomes much smaller
- 
-=== Easier to understand driver options === 
-Driver specific options are now directly exposed under the name ''** OEM Flags **''. Each drivers available options can be viewed and modified as necessary, then loaded into the driver. This feature replaces a number of individually crafted items, such as ''setConnectionParameter()'', ''optionFlags'' or ''driverFlags'' 
- 
-=== Feature Enhancements === 
-Part of the new development is to include requested feature that did not appear in version 5. Examples are: 
-  - Support for both GEO and JSON datatypes in the data dictionary and meta functions. 
-  - Additional metaIndex feature 
-  - Additional Date/Time features 
- 
- 
- 
- 
  
 ==== Example Connections ==== ==== Example Connections ====
v6/index.1614121324.txt.gz · Last modified: by 127.0.0.1