摘要
介绍了面向方面编程(AOP)的应用背景和核心概念,从面向对象编程的不足谈起,引出“横切关注“行为,面向方面编程就是在此基础上应运而生。接着简述了面向方面编程的一些基本概念,然后针对一个简单案例,通过分别用传统编程方式和AOP方式实现,从中体现AOP编程的优势。
Introduce the applying background and the core conception of AOP. Discussed from the disadvantage of OOP, crosscuttingconcern is put into truth and AOP are based from it. Then presented some definitions of AOP. According to a simple ease and accomplishing it with traditional programming and aspect - oriented programming, can know the superiority of AOP.
出处
《计算机技术与发展》
2006年第5期217-218,222,共3页
Computer Technology and Development