[eluser]Buda[/eluser]
[quote author="elitemedia" date="1205595570"]There is too much Bla bla bla here. If you really make improvements, then post the code that you said you have improved or open a CI's fork website so you can post there your full remastered CI. Once we see code then we also can discuss better.[/quote]
If you want to see the code, download the framework, it's all there. The info I posted will help you find this issues. For example:
Design errors
Loader.php, line 177
Code:
$CI->$name = new $model();
$CI->$name->_assign_libraries();
That's when all the core libraries are assigned to a model, one of the most obscures behaviours I've seen so far.
CodeIgniter.php, line 97
Code:
if ($EXT->_call_hook('cache_override') === FALSE)
Some methods are prefixed with the private/protected underscore, but called as if they where public methods from anywhere. By doing this, developers cannot relay on the naming convention of the system, making the API almost useless.
Base5.php, line 55
Code:
function &get;_instance()
This file mixes a class with a function. That's is wrong, but worst is Base4.php:
Base4.php, line 41
Code:
class CI_Base extends CI_Loader {
The Application Controller extends the Controller class, which extends the CI_Base class. Now, normally applications don't have 3 levels of inheritance, but Base4.php goes a step further and extends a 3rd class, CI_Loader, that has nothing to do with the Application Controller itself.
Coding errors
Code:
class_exists('CI_DB')
I found a lot of coding errors, for example, the use of class_exists() function, where the second parameter is missing. This is a mayor bug in CI. Then, the unnecessary use of inlcude() instead of inlcude_once(), and more.
I hope that helps, good luck.
Buda