- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Aspect Oriented Programming 面向方面的编程 摘要 Background and Motivation AOP AspectJ Summary 摘要 Background and Motivation AOP AspectJ Summary Background and Motivation Where OOP has brought us Reusability of components Modularity Less complex implementation Reduced cost of maintenance …… Modularity is a universal advancement over structured programming that leads to clearer and better understood software Modularity in Reality Code from org.apache.tomcat Modularity in Reality Modularity in Reality History of Programming Paradigms In the beginning: Programming in whichever way. Monolithic programs History of Programming Paradigms Structured Programming Functional decomposition History of Programming Paradigms Object-Oriented Programming Encapsulation Inheritance Nice thins of OOP Modular structure Reuse Class Design patterns Framework Limitations of OOP A motivating example: Tracing Java API Example Crossing cutting concerns What is a concern? A particular goal, concept, or area of interest (requirement) A software system contains: Business (application) logic concerns System-level concerns Crosscutting Concerns Crosscutting is how to characterize a concern than spans multiple units of OO modularity Crosscutting concerns resist modularization using normal OO construct Separation of Concerns (SoC) Object-Oriented Programming separates and encapsulates some concerns Others end up tangled and scattered Basic problem N dimensions of concerns 1 dimension of implementation structure Tyranny decomposition Approaches to SoC Composition Filters Multi-dimensional Separation of Concerns Adaptive Programming Aspect-Oriented Programming Was developed at Xerox PARC (施乐公司 帕洛阿尔托研究中心) (Related) Meta-Object Protocol (MOP) Reflective programming, meta-object protocol 摘要 Background and Motivation AOP AspectJ Summary The AOP Idea Many cross-cuts aren’t random! They serve specific purposes They have well-defined structure So…let’s capture the cross-cutting structure in a modular way to bett
您可能关注的文档
最近下载
- 《现代汉语语法研究——层次分析法》PPT课件.pptx VIP
- 2022年厦门大学计算机科学与技术专业《操作系统》科目期末试卷B(有答案).pdf VIP
- 跨越国界的正义追寻:腐败犯罪所得跨境追回的国际法律剖析.docx VIP
- 水电站安全标准化全套资料—安全管理制度汇编.pdf VIP
- 2026-2030女鞋市场发展分析及行业投资战略研究报告.docx
- CFD软件:CFX二次开发_(11).边界条件的自定义开发.docx VIP
- 《工程项目管理》期末考试试卷(有答案).pdf VIP
- T∕NAHIEM 111-2024 生物、医疗行业传递窗技术规范.pdf VIP
- 2023年厦门大学计算机科学与技术专业《操作系统》科目期末试卷A(有答案).docx VIP
- 《现代汉语(下册语法部分)》PPT课件.ppt VIP
原创力文档


文档评论(0)