- Spring 2.5 Aspect Oriented Programming
- Massimiliano Dessi
- 298字
- 2021-05-21 20:23:11
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.
- 從零開始:Photoshop CC中文版基礎(chǔ)培訓(xùn)教程
- SketchUp印象 城市規(guī)劃項(xiàng)目實(shí)踐(第2版)
- Procreate繪畫創(chuàng)作從入門到精通
- PowerPoint 2019從入門到精通(移動(dòng)學(xué)習(xí)版)
- Word 2010實(shí)戰(zhàn)技巧精粹
- 中文版AutoCAD 2014高手之道
- Vue.js快速入門
- 會(huì)聲會(huì)影視頻編輯實(shí)戰(zhàn)秘技250招
- Photoshop CS6完美創(chuàng)意設(shè)計(jì):不一樣的圖像藝術(shù)處理
- UG NX 8.0模具設(shè)計(jì)教程
- 行攝 Photoshop CC后期修片高手之道(第2版)
- 跨境電商:速賣通搜索排名規(guī)則解析與SEO技術(shù)
- 零基礎(chǔ)學(xué)后期:Lightroom 6-CC數(shù)碼照片處理從新手到高手
- Maya Paint Effect 特效應(yīng)用手冊(cè)
- 3ds Max三維動(dòng)畫制作項(xiàng)目式教程