Docsity

Aspect Oriented Software Development - Software Engineering - Lecture Slides, Slides of Software Engineering

Partial preview of the text

Download Aspect Oriented Software Development - Software Engineering - Lecture Slides and more Slides Software Engineering in PDF only on Docsity!

ASPECT ORIENTED SOFTWARE

DEVELOPMENT

CONCERN

 A Concern is a particular set of information that has an effect on code

 Examples of concerns

 Security  Transactional behavior  Logging  Others

ASPECT-ORIENTED SOFTWARE

DEVELOPMENT

 Approach to software development that addresses modularization of software systems

 Separates out or isolates supporting functions from the program’s main business logic

 Concerns are addressed independently

 The dominant programming paradigm is object- oriented software development (OOSD)  AOSD is not meant to replace OOSD but instead to build upon and improve  AOSD supports separation of concerns that OOSD handles poorly

EXAMPLE

EXAMPLE CONT’D

RESOURCES

 AOSD.net contains much information on the topic, it is also a great starting point because it links to separate resources

 AspectJ is an AOP extension for Java

 Since its release in 2001, it quickly became the de facto standard for AOP

 Integrated into the Eclipse IDE

 Displays the cross-cutting structure

 Many programming languages have implemented AOP either within the language or as a separate library

CONCLUSION

 AOSD has both strengths and weaknesses

 Not meant to replace other programming paradigms

TEST QUESTIONS

 Describe the concepts and ideas behind aspect oriented software development.

 Describe a simple application that you would write using AOSD and briefly explain why you chose this particular application.

REFERENCES CONT’D

 Kiczales, Gregor. "Aspect-Oriented Programming: Radical Research in Modularity." Online video clip. YouTube. YouTube, 16 May 2006. Web. 8. Mar. 2013. http://www.youtube.com/watch?v=cq7wpLI0hco   Mezini, Mira. Research Topics in Aspect-Oriented Programming [PDF Document]. Retrieved from ftp://ftp.cordis.europa.eu/pub/ist/docs/directorate_d/st- ds/mezini.pdf   “The Home of AspectC++.” AspectC.org. Web. 8 Mar.

  1. http://www.aspectc.org/   Wampler, Dean. “Aspect Programming.” AspectProgramming.com. Web. 8 Mar. 2013. http://www.aspectprogramming.com/