官术网_书友最值得收藏!

Chapter 1. Understanding AOP Concepts

This chapter presents an overview of Aspect-Oriented Programming concepts, and explains their capabilities and features. Here is a brief outline of the topics covered in this chapter:

  • Limits of Object-Oriented Programming
  • The AOP solutions
  • Spring AOP components
  • Spring AOP 2.5

In this chapter we will see what the designing and realization process of an application or software system consists of.

We have to stop and think about the problems that we will see, beginning from the designing phase: how to structure the application, what are the problems in the implementation phase if we use only object-oriented programming, and in which forms they show themselves. We will also see how aspect-oriented programming can support object-oriented programming to solve problems in the implementation phase. We will finally see what Spring provides to allow us to use aspect-oriented programming with Inversion of Control (IoC).

If we use a method such as the Extreme Programming, we iteratively focus hard on the functionalities and improve them following the clients' feedback.

Therefore, who does what is described so that the functionalities that the system provides to the user are clear.

After having found these entities, we model them as classes that contain data and have behavior.

To do this, we use some features of the object-oriented languages, such as inheritance, polymorphism, encapsulation, and interfaces, to create a model that helps us solve the domain problem in the simplest way possible.

Drawing, structuring, and building software systems in this way is now considered a common practice. Nevertheless, there are some inefficiencies that emerge at the moment of realizing the project. In fact, however accurately the design may have been made with highly cohesive classes and low coupling, there are still some situations where we have to make compromises.

主站蜘蛛池模板: 上思县| 南宫市| 大英县| 库伦旗| 乐东| 石城县| 蓬莱市| 格尔木市| 大荔县| 施秉县| 周口市| 甘肃省| 唐河县| 清远市| 望城县| 拉孜县| 牙克石市| 镇雄县| 清水河县| 牙克石市| 敦煌市| 武冈市| 普兰店市| 铅山县| 广州市| 瓮安县| 龙山县| 南皮县| 阿坝| 哈尔滨市| 台中县| 延边| 东乡| 牙克石市| 江达县| 长丰县| 香格里拉县| 海宁市| 德州市| 图们市| 阿鲁科尔沁旗|