Welcome Guest, Not a member yet? Register   Sign In
Aspect oriented programming with CodeIgniter
#1

[eluser]Unknown[/eluser]
Hi @all,

at first: Thanks for developing such a nice framework!!

Now to my concern:

I created some classes to get Aspect oriented programming (AOP) in PHP. I used a simple trick for that:
Before you can instantiate a class you must include the required class file. I overwrote this function which copies the original file, replaces some lines of code and includes afterwards the newly created file. With this simple trick AOP can be integrated in PHP without modifying anything else.

Now I want to include this small framework in CodeIgniter. For this I need the main entry point of the inclusion of all controllers. I found it under system/core/Codeigniter.php (237-250). If I change anything in there it will be lost after updating.

So my question is: Is there a smart way to include my framework which can overwrite the CodeIgniter's core functionality?

Hope I explanied everything understandable. If not, please ask




Theme © iAndrew 2016 - Forum software by © MyBB