Back

I am working on a package but i came accross some limitations. And when I check how to do it with Java, i found out AspectJ.

i really wanna know what do you know/think about Java AspectJ and Aspect-Oriented Programming generally. I see that we can have similar behaviours by using middlewares, event-listeners etc. but maybe in PHP we need something similar?

What do you think, wouldn't it be better to have a more specialized toolset for handling cross-cutting concerns in PHP?

Limitations:
- PHP’s execution model doesn’t include a pre-runtime bytecode stage that can be intercepted.
- In PHP we have OPcache but this process happens dynamically and is not designed for external tools to inject or modify the bytecode

128

  • No matching results...
  • Searching...

/ 1000