Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Reddit.com:
Aspect Orientated Programming - thoughts?
Dec 03, 2014 @ 17:19:18

On the /r/php subreddit on Reddit.com JustSteveKing asks the community about Aspect Oriented Programming. Aspect Oriented Programming makes use of cross-cutting concerns (modular functionality) along with encapsulation to make for more modular code.

What are the general thoughts on AOP? Anybody using it? After reading several articles and tutorials on the matter I have to admit it seems to have its plus points. The only thing I am wondering at this point is why is it not a widely adopted as MVC, I mean there must be a reason?

Most of the comments either fall into two categories. Either the commenter has made use of it in a limited fashion (like logging) or doesn't use it at all. There's also a good comment about some of the risks involved in its use and the "magic" that can come with it. Additionally, there are links to other articles for those wanting a good introduction to AOP and what it can do.

tagged: aspectoriented programming aop opinion adoption

Link: http://www.reddit.com/r/PHP/comments/2o1fau/aspect_orientated_programming_thoughts/


Trending Topics: