【24h】

Program Transformation with Reflection and Aspect-Oriented Programming

机译:使用反射和面向方面的编程进行程序转换

获取原文
获取原文并翻译 | 示例

摘要

A meta-programming technique known as reflection can be regarded as a sophisticated programming interface for program transformation. It allows software developers to implement various useful program transformation without serious efforts. Although the range of program transformation enabled by reflection is quite restricted, it covers a large number of interesting applications. In particular, several non-functional concerns found in web-application software, such as distribution and persistence, can be implemented with program transformation by reflection. Furthermore, a recently emerging technology known as aspect-oriented programming (AOP) provides better and easier programming interface than program transformation does. One of the roots of AOP is reflection and thus this technology can be regarded as an advanced version of reflection. In this tutorial, we will discuss basic concepts of reflection, such as compile-time reflection and runtime reflection, and its implementation techniques. The tutorial will also cover connection between reflection and aspect-oriented programming.
机译:称为反射的元编程技术可以视为用于程序转换的复杂编程接口。它使软件开发人员无需费力即可实现各种有用的程序转换。尽管通过反射实现的程序转换范围受到很大限制,但它涵盖了许多有趣的应用程序。特别是,可以通过反射对程序进行转换,从而实现Web应用程序软件中发现的一些非功能性问题,例如分发和持久性。此外,一种最新出现的技术,即面向方面的编程(AOP),提供了比程序转换更好,更容易的编程接口。 AOP的根源之一是反射,因此该技术可以被视为反射的高级版本。在本教程中,我们将讨论反射的基本概念,例如编译时反射和运行时反射及其实现技术。本教程还将介绍反射与面向方面的编程之间的联系。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号