xing393939
V2EX  ›  问与答

请教一下有关aop编程的思想

  •  
  •   xing393939 · Feb 22, 2013 · 2594 views
    This topic created in 4847 days ago, the information mentioned may be changed or developed.
    看了这篇文章:http://cloudbbs.org/forum.php?mod=viewthread&tid=7820

    我现在知道,AOP面向切面编程,一个主业务,其它分支业务都是主业务的切面(即使去掉主业务照常运行),但是有一下疑惑。

    1,切面如何和主业务通信?
    2,切面和切面之间如何通信?这一点还好实现,只是会造成切面和切面之间的一点耦合

    这个一般如何实现的呢?不会java,主要关注于PHP的
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   946 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 21:53 · PVG 05:53 · LAX 14:53 · JFK 17:53
    ♥ Do have faith in what you're doing.