Tagged articles
Aspect-Oriented Programming
44 articles · Page 1 of 1
This tutorial demonstrates static proxy (decorator pattern), JDK dynamic proxy (interface-based), CGLIB dynamic proxy (subclassing), and Spring AOP's dual-proxy implementation with @EnableAspectJAutoProxy, using an EmployeeService example that adds C# and Go skills without modifying original code.
Aspect-Oriented ProgrammingBytecode GenerationCGLIB
0 likes · 15 min read

This article explains Spring AOP's core concepts including join points, advice abstraction, and weaving mechanisms, detailing the AOP Alliance interface design with JoinPoint and MethodInterceptor, and contrasting static versus dynamic weaving approaches used by Spring.
AOP AllianceAspect-Oriented ProgrammingCGLIB
0 likes · 9 min read

Spring AOP provides five distinct advice types—@Before, @AfterReturning, @AfterThrowing, @After, and @Around—each with specific execution timing; this guide explains their purposes, execution order, common pitfalls, and offers a complete SpringBoot example with code, Maven setup, and logging demonstrations.
AOPAspect-Oriented ProgrammingBackend
0 likes · 13 min read

This article explains what Python decorators are, why they are useful for cross‑cutting concerns, and walks through basic, parameterized, class‑based, stacked, and advanced AOP examples, while highlighting common pitfalls, best‑practice tips, and standard library utilities.
Aspect-Oriented ProgrammingBest PracticesCode Examples
0 likes · 13 min read

The article explains Spring AOP’s four fundamental components—pointcut, advice, aspect, and weaving—using a school security analogy and concrete code examples to show how they enable non‑intrusive enhancements such as logging, permission checks, and exception handling in a Spring application.
AdviceAspect-Oriented ProgrammingJava
0 likes · 11 min read

This article explains how aspect‑oriented programming (AOP) addresses cross‑cutting concerns by defining joinpoint interfaces, describing their design, illustrating Java examples, and comparing static and dynamic weaving techniques used in frameworks like Spring.
AOPAspect-Oriented ProgrammingJava
0 likes · 8 min read

This article introduces a high‑performance, high‑availability AOP plugin for the Webman framework that works on PHP 8, explains its features, installation, configuration, usage examples, custom aspect creation methods, notification types, execution order, JoinPoint API, and provides complete code samples for caching and transaction aspects.
AOPAspect-Oriented ProgrammingPHP
0 likes · 10 min read

This article explains Aspect Oriented Programming, contrasts it with Object Oriented Programming, illustrates cross‑cutting concerns with real‑world examples, and provides a step‑by‑step guide—including Maven dependencies, annotation definitions, and execution expressions—to implement AOP in a Spring Boot application.
AOPAspect-Oriented ProgrammingJava
0 likes · 6 min read

This article demonstrates how to build a reusable data‑desensitization component in Java by defining custom annotations, extending Hutool's DesensitizedUtil, and creating a Spring AOP aspect that automatically masks sensitive fields in returned objects such as pages, lists, or single entities.
AnnotationsAspect-Oriented ProgrammingHutool
0 likes · 7 min read

This article introduces Spring AOP concepts, explains their role in improving code maintainability, and presents a set of 20 multiple‑choice questions covering aspects, advices, pointcuts, and practical usage, followed by the correct answer key for self‑assessment.
Aspect-Oriented ProgrammingQuizSpring AOP
0 likes · 10 min read

Spring AOP cannot advise non‑bean, static, or internally‑called methods, limiting its use for the Diagnose framework, so the article proposes a Java Agent that transforms bytecode at startup, bypasses proxy constraints, and reliably intercepts private, static, and self‑invoked methods across separate class loaders.
Aspect-Oriented ProgrammingByteBuddyJava
0 likes · 13 min read

This article introduces the Go! AOP framework for PHP, outlines its key features, explains core AOP concepts, and provides a detailed, code‑rich tutorial on installing the library, creating an aspect kernel, defining aspects, and configuring optional caching options.
AOPAspect-Oriented ProgrammingBackend
0 likes · 8 min read

Learn how to implement a two‑level caching architecture in Spring Boot using Caffeine as a local cache and Redis as a remote cache, covering manual implementations, annotation‑driven approaches with @Cacheable/@CachePut/@CacheEvict, and a custom @DoubleCache annotation to minimize code intrusion while improving response times.
Aspect-Oriented ProgrammingCache AnnotationCaffeine
0 likes · 21 min read

This article explains the fundamentals of Aspect‑Oriented Programming (AOP) in Spring, describes its core concepts such as pointcuts, advice, aspects, join points and weaving, and provides multiple Spring Boot examples—including simple @GetMapping logging, custom permission annotations, and the use of various AOP annotations—complete with full source code snippets.
AOPAnnotationsAspect-Oriented Programming
0 likes · 18 min read

Aspect-Oriented Programming (AOP) separates cross‑cutting concerns such as logging, transactions, and security from core business logic, improving modularity, maintainability, and reusability, and the article explains its concepts, benefits, implementation methods (dynamic/static proxies, dedicated languages) and provides a Spring AOP code example.
AOPAspect-Oriented ProgrammingCross-cutting Concerns
0 likes · 4 min read

This article explains the fundamentals of Aspect‑Oriented Programming (AOP) in Spring, describes key concepts such as pointcuts, advice, aspects, and weaving, and provides step‑by‑step code examples—including simple and advanced use cases and detailed annotation usage—to help developers integrate AOP effectively into their Spring Boot applications.
AOPAnnotationsAspect-Oriented Programming
0 likes · 17 min read

This article explores how to design module interfaces using Aspect‑Oriented Programming in Java, covering AOP background, definition, pointcut identification, joinpoint interface design, advice abstraction, and both static and dynamic weaving techniques, with practical code examples and diagrams.
AOPAspect-Oriented ProgrammingJava
0 likes · 7 min read

This article demonstrates how to design and implement token generation, multi‑endpoint storage in Redis, custom login annotations, AOP verification, and corresponding Vue.js client handling for secure authentication across PC and mobile platforms within a Spring Cloud micro‑service system.
Aspect-Oriented ProgrammingSpring CloudVue.js
0 likes · 13 min read

This article explains the fundamentals of Aspect‑Oriented Programming in Java, covering the motivation behind AOP, the three main steps of defining join points, the design of Joinpoint interfaces, code examples, and the static and dynamic weaving techniques used by frameworks such as Spring.
Aspect-Oriented ProgrammingJavaWeaving
0 likes · 10 min read

This article explains the background of Aspect‑Oriented Programming, how to identify and describe join points through interface design, the structure of the AOP Alliance Joinpoint API, and the static and dynamic weaving techniques used by frameworks such as Spring.
AOPAspect-Oriented ProgrammingBackend
0 likes · 7 min read

This article analyzes AOP’s origins, defines join points and cross‑cutting logic, designs interfaces based on the AOP Alliance specifications, and compares static versus dynamic weaving approaches, illustrating each step with Java code examples and diagrams to show how Spring implements AOP.
AOPAspect-Oriented ProgrammingDynamic Weaving
0 likes · 10 min read

This article explains how to design and implement a business operation logging feature in a Spring Boot application using custom annotations and Spring AOP, covering requirement analysis, pitfalls of a naïve implementation, AOP design, code examples, and testing procedures.
Aspect-Oriented ProgrammingJavaMySQL
0 likes · 16 min read

This article explains how to design and implement a business operation logging feature in a Java Spring Boot application using AOP, covering requirement analysis, a flawed manual approach, the AOP‑based solution with custom annotations, code examples, testing tips, and a concise summary of the benefits.
Aspect-Oriented ProgrammingJavaSpring AOP
0 likes · 15 min read


转转QADec 8, 2022 · Backend Development
This article explains how Aspect‑Oriented Programming (AOP) was introduced into a data construction platform to address high development effort, strong business coupling, and maintenance difficulty by isolating cross‑cutting concerns such as logging, thereby improving modularity, development speed, and code maintainability.
AOPAspect-Oriented ProgrammingSpring
0 likes · 5 min read

This article walks through the design and implementation of a hand‑written Spring AOP module, covering core concepts such as Advice, Pointcut, weaving, proxy creation, and the integration of these components into a bean lifecycle to enable method‑level enhancements without modifying source code.
AOPAspect-Oriented ProgrammingJava
0 likes · 17 min read

This article explains the background, concepts, and implementation details of Aspect‑Oriented Programming in Java, covering joinpoint interface design, advice abstraction, static and dynamic weaving, and how Spring AOP applies these principles with illustrative code and diagrams.
AOPAdviceAspect-Oriented Programming
0 likes · 9 min read

This article explains the concept of Aspect‑Oriented Programming (AOP) and demonstrates how Python decorators—both function‑based and class‑based—can be used to implement AOP features such as pre‑ and post‑execution logic, handling arguments, preserving metadata with functools.wraps, and stacking multiple decorators.
AOPAspect-Oriented ProgrammingPython
0 likes · 18 min read

This article introduces Aspect‑Oriented Programming in Spring, explains core concepts such as pointcut, advice, aspect, join point and weaving, and provides step‑by‑step code examples—including a simple @GetMapping logger, a custom permission annotation with multiple aspects, and detailed usage of @Pointcut, @Around, @Before, @After, @AfterReturning and @AfterThrowing annotations—illustrated with diagrams and runnable snippets.
AOPAnnotationsAspect-Oriented Programming
0 likes · 19 min read

This article explains Aspect‑Oriented Programming (AOP) in Spring Boot, covering its core concepts, why it simplifies cross‑cutting concerns like logging and permission checks, provides step‑by‑step code examples of simple and advanced AOP implementations, and details the most commonly used AOP annotations.
AOPAnnotationsAspect-Oriented Programming
0 likes · 18 min read

This article explains the principles and step‑by‑step implementation of Aspect‑Oriented Programming (AOP) in a lightweight Spring‑style container, covering core concepts, advice and pointcut design, weaving mechanisms, proxy creation, observer integration, and practical code examples.
AOPAspect-Oriented ProgrammingJava
0 likes · 16 min read

This article introduces Aspect‑Oriented Programming in Java, explaining how AOP separates cross‑cutting concerns like logging using join points, pointcuts, advice, and aspects, and demonstrates dynamic proxies, various advice types, XML configuration, and aspect ordering within Spring AOP.
AOPAdviceAspect-Oriented Programming
0 likes · 20 min read

This article explains the syntax and components of Spring AOP pointcut expressions, demonstrates how to use various pointcut designators such as execution, within, this, target, args, @within, @target, @args, and @annotation, and provides practical code examples with advice types.
Aspect-Oriented ProgrammingSpring AOPbackend development
0 likes · 12 min read


58 TechApr 14, 2021 · Backend Development
Umajs is an open‑source, TypeScript‑driven Node.js web framework that offers rich parameter decorators, a unified return mechanism, and Aspect‑Oriented Programming support, enabling developers to handle input validation, response formatting, and cross‑cutting concerns with clean, reusable code.
Aspect-Oriented ProgrammingNode.jsParameter Decorator
0 likes · 18 min read

This article explains the fundamentals of Aspect‑Oriented Programming (AOP) in Spring, describes its core concepts and terminology, and provides step‑by‑step code examples for creating pointcuts, advices, and custom annotations, while also detailing the use of common AOP annotations such as @Pointcut, @Around, @Before, @After, @AfterReturning and @AfterThrowing.
AOPAspect-Oriented ProgrammingJava
0 likes · 19 min read

This article explains how to define custom Java annotations for field, method, and class validation, demonstrates the required @Target and @Retention settings, shows how to implement a ConstraintValidator, and provides practical Spring examples for permission checks and caching using interceptors and aspects.
Aspect-Oriented ProgrammingCustom AnnotationJava
0 likes · 9 min read


AntTechSep 29, 2020 · Information Security
The article explains how Ant Group’s security‑aspect defense model extends aspect‑oriented programming concepts to create a parallel, decoupled security layer for mobile and IoT applications, improving threat visibility, supply‑chain protection, and governance without requiring business code releases.
Aspect-Oriented ProgrammingIoTSecurity
0 likes · 7 min read

This article details how Ctrip's ticket‑search list page was refactored with clean‑architecture principles, introducing a unidirectional data flow, business Service layer, and plugin‑based aspect‑oriented modules to improve maintainability, testability, and cross‑platform reuse of front‑end code.
Aspect-Oriented ProgrammingMVPTypeScript
0 likes · 10 min read

This article explains how to design and implement custom Java annotations for field validation, permission checks, and caching, covering annotation definitions, target and retention policies, validator classes, interceptor and aspect implementations, and practical usage examples within Spring MVC.
Aspect-Oriented ProgrammingCustom AnnotationsJava
0 likes · 9 min read

After two years transitioning from e‑commerce to finance, the team shares practical monitoring strategies for low‑frequency financial services, contrasting e‑commerce traffic‑based methods with finance‑specific challenges, and detailing point‑based metrics, hourly success‑rate alerts, aspect‑oriented exception handling, white‑list filtering, and Sentinel‑based circuit breaking.
Aspect-Oriented ProgrammingFinancial ServicesOperations
0 likes · 16 min read

This article shares practical monitoring strategies for financial services with low‑frequency operations, contrasting e‑commerce monitoring methods, outlining the challenges of financial monitoring, and presenting reliable solutions such as success‑rate alerts, aspect‑oriented exception handling with whitelists, and circuit‑breaker degradation using Sentinel.
Aspect-Oriented ProgrammingCircuit BreakerFinancial Services
0 likes · 14 min read


58 TechFeb 24, 2020 · Mobile Development
This article presents a practical, scenario‑driven approach to app event‑tracking governance, combining aspect‑oriented, platformized, and dynamic techniques to achieve comprehensive, maintainable, and high‑performance data collection for mobile applications; it evaluates traditional manual, dynamic, and full‑stack solutions, outlines the overall system architecture, and discusses future improvements and challenges.
Aspect-Oriented Programmingdynamic instrumentationplatform engineering
0 likes · 8 min read

This tutorial explains the fundamentals of Aspect Oriented Programming (AOP) and demonstrates how to create a logging aspect in a Spring MVC application, covering AOP terminology, Spring annotations, pointcut expressions, a WebLog DTO, the WebLogAspect implementation, and how to test the logging output via Swagger UI.
AOPAspect-Oriented ProgrammingJava
0 likes · 10 min read

This article explains Aspect‑Oriented Programming (AOP) as a complement to OOP, introduces core AOP concepts such as aspects, join points, pointcuts, advice, weaving and introductions, and provides a step‑by‑step Spring XML configuration with Java code examples demonstrating time‑logging and logging aspects, ordering, selective pointcuts, and forced CGLIB proxy usage.
AOPAspect-Oriented ProgrammingCGLIB
0 likes · 14 min read

This article introduces Aspect‑Oriented Programming (AOP), explains its core concepts such as aspects, join points, advice, pointcuts, and weaving, outlines common advice types, lists typical cross‑cutting concerns, and demonstrates how AOP can replace repetitive permission checks with declarative annotations, improving modularity and maintainability.
AOPAspect-Oriented ProgrammingCross-cutting Concerns
0 likes · 7 min read
