The problem encountered: Phalcon could not check AOP for half a day and found that there are two methods for Implementing AOP in PHP: 1. Expand 2 with CAOP of PHP, existing AOP implementation, but now two of Phalcon do not work. 1. Phalcon conflicts with AOP expansion, and resolutely gives up 2. The existing AOP implementation principles are Hackaut... problem: Phalcon cannot use AOP.
After checking for half a day, we found that there are two methods to implement AOP in PHP: 1. Use c aop in PHP to expand 2. The existing AOP implementation
But now two of Phalcon do not work,
1. Conflicts between Phalcon and AOP expansion, and decisive abandonment
2. The existing AOP implementation principle is that Hack autoloader generates a new class to implement AOP, but Phalcon writes autoloader to his own C. How can he Hack?
Help!
// Update May 20, 2015 12:45:36
There is no way to write only one AOP used in the business layer: https://github.com/zjsxwc/PhalconAOPForBusinessService
Reply content:
Problem: Phalcon cannot use AOP.
After checking for half a day, we found that there are two methods to implement AOP in PHP: 1. Use c aop in PHP to expand 2. The existing AOP implementation
But now two of Phalcon do not work,
1. Conflicts between Phalcon and AOP expansion, and decisive abandonment
2. The existing AOP implementation principle is that Hack autoloader generates a new class to implement AOP, but Phalcon writes autoloader to his own C. How can he Hack?
Help!
// Update May 20, 2015 12:45:36
There is no way to write only one AOP used in the business layer: https://github.com/zjsxwc/PhalconAOPForBusinessService
AOP
What is the so-called aspect orientation?
Python
Probably not used to this setting mode.Python
There are roughly two methods to achieve this:
You can use the Event mechanism, and you need to bury various points in the program.