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

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.

主站蜘蛛池模板: 石狮市| 辽宁省| 桃园县| 武强县| 扶沟县| 晋中市| 繁昌县| 华安县| 独山县| 昆山市| 碌曲县| 峨山| 乐东| 伊春市| 焦作市| 五大连池市| 罗源县| 满城县| 开远市| 伊川县| 贵南县| 永平县| 广河县| 卓尼县| 舟山市| 明光市| 左贡县| 元谋县| 安龙县| 米脂县| 高淳县| 平塘县| 聂拉木县| 土默特右旗| 岑巩县| 奇台县| 徐水县| 名山县| 砀山县| 潮州市| 稷山县|