Aspect-jQuery: An aspect-oriented framework for jQuery

Kohei Nagashima, Hiroaki Fukuda, Shingo Takada

Research output: Chapter in Book/Report/Conference proceedingConference contribution

1 Citation (Scopus)

Abstract

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 li- braries have been developed, each having its own features. When we try to adapt aspect orientation to code which uses a JavaScript li- brary, 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.

Original languageEnglish
Title of host publicationAOAsia 2013
Subtitle of host publicationProceedings of the 8th International Workshop on Advanced Modularization Techniques - AOAsia/Pacific
Pages5-7
Number of pages3
DOIs
Publication statusPublished - 2013 Apr 15
Event8th International Workshop on Advanced Modularization Techniques, AOAsia 2013 - Fukuoka, Japan
Duration: 2013 Mar 252013 Mar 25

Publication series

NameAOAsia 2013: Proceedings of the 8th International Workshop on Advanced Modularization Techniques - AOAsia/Pacific

Conference

Conference8th International Workshop on Advanced Modularization Techniques, AOAsia 2013
CountryJapan
CityFukuoka
Period13/3/2513/3/25

    Fingerprint

Keywords

  • Aspect-oriented programming
  • Javascript
  • Jquery
  • Web devel- opment

ASJC Scopus subject areas

  • Computational Theory and Mathematics
  • Computer Science Applications
  • Software

Cite this

Nagashima, K., Fukuda, H., & Takada, S. (2013). Aspect-jQuery: An aspect-oriented framework for jQuery. In AOAsia 2013: Proceedings of the 8th International Workshop on Advanced Modularization Techniques - AOAsia/Pacific (pp. 5-7). (AOAsia 2013: Proceedings of the 8th International Workshop on Advanced Modularization Techniques - AOAsia/Pacific). https://doi.org/10.1145/2451469.2451472