EllisLab/CodeIgniter — pull request #1224 by jjang9b (2012-03-28 06:14:44+00:00)
Title: Ci sqlrelay v2.1.0

https://github.com/EllisLab/CodeIgniter/pull/1135

All based on the latest version V2.1.0 was modified, php5-style suit (visibility declarations, __ construct (), etc.) Has been modified contents.
And according to the coding style guide to modify all is well.

1. application / config / database.php for the comments you wish to use only if sqlrelay
So that you can use to customize the guide suggests, was a part. So the basic database.config file a request that part will offer to remove and reinstall.
And ['dbdriver'], and to use sqlrelay, ['dbcase'] config because with the addition of
CI calls the driver matched the value in itself because dbdriver sqlrelay driver must call course, and actually give the associated matching db ['dbcase'] config value was needed.

2. v2.1.0 also normal in the test have been confirmed.
Is one kind of change, v2.1.0 version oci8_driver who restrict access to files being added to create an object of each DB as a middle ware
In the sqlrelay that the mapping must inherit a specific driver that is accessible to the corresponding method must take the issue has occurred.
So as a representative of each method invocation of the driver to give a class in a way that generates new approach has been modified. This approach to further restrict access by the driver may be added, all accessible manner.

3. Finally, why you need sqlrelay adapter be told once again, DB middle ware as the stability and performance when accessing aspects sqlrelay will be used to meet.
Many medium-sized projects, or accessed through middle ware is thought that in many cases, in many companies seems to be a lot of networks, internal DB.
Codeigniter forward progress through the DB access through the project sqlrelay issue considered a necessary part, and to use their own if provided sqlrelay
The user's perspective so will thank you.