ECOOP '01 Proceedings of the 15th European Conference on Object-Oriented Programming
AOJS: aspect-oriented javascript programming framework for web development
Proceedings of the 8th workshop on Aspects, components, and patterns for infrastructure software
AspectScript: expressive aspects for the web
Proceedings of the 9th International Conference on Aspect-Oriented Software Development
Hi-index | 0.00 |
User interactions in modern web sites are often coded in JavaScript. Unfortunately, they can become very complicated, so developers try to simplify by using a JavaScript library. Many JavaScript libraries have been developed, each having its own features. When we try to adapt aspect orientation to code which uses a JavaScript library, we cannot weave the aspect properly because existing aspect-oriented frameworks for JavaScript do not have a sufficient join point model and pointcuts for such library code. This paper proposes a framework, called "Aspect-jQuery", for adapting code based on jQuery, a JavaScript library. We specifically target jQuery because it is one of the most popular libraries. Aspect-jQuery provides two new kinds of join points and a new pointcut for enabling developers to weave aspect into the code based in jQuery. Aspect-jQuery consists of a weaver and a jQuery plugin. The weaving process is done before execution.