Coder Social home page Coder Social logo

aopdemo's Introduction

AopDemo

Android AOP 测试用例(基于 AspectJ 方式)

AspectJ 属于静态AOP,它是在编译时进行增强,会在编译时期将AOP逻辑织入到代码中。由于是在编译器织入,所以它的优点是不影响运行时性能,缺点是不够灵活。

AOP 即面向切面编程,区别于 OOP(面向对象编程)的功能模块化,AOP 主要侧重于解决某一类的问题。

aop

从上图可以看出,面向切面编程是在不影响原业务功能的情况下,将我们所需要的功能插入进原业务代码中。

  1. Android AOP 引入AspectJ 配置
  2. 写给Android工程师的AOP知识!
  3. Android AOP面向切面编程和Gradle插件编写(二) -- 通过 gradle 插件简化 AspectJ 的配置
  4. Android中AOP的实际运用

aopdemo's People

Contributors

hgncxzy avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.