AOJS:Aspect-oriented programming framework for javascript

Akira Ohashi*, Atsuto Kubo, Tomohiko Mizumachi, Kazuki Eguchi, Shinichi Murakami, Ryuichi Takahashi, Hironori Takahashi, Yoshiaki Fukazawa, Hideyuki Kanuka, Toshihiro Kodaka, Rieko Yamamoto, Youichi Nagai, Nobukazu Yoshioka, Fuyuki Ishikawa, Hisashi Ikari

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review


JavaScript is one of major script languages, which is widely used for client-side programming on the Web. In programming, since cross-cutting concerns such as logging scatter on many modules of a program and tangle with other concerns, the maintainability of the program will decrease. Separation of cross-cutting concerns and core concerns is one of the challenge of programming. Aspect-oriented programming (AOP) has been proposed as a mechanism that enables the modular implementation of cross-cutting concerns. H wever, existing AOP frameworks cannot separate aspect's weaving designation from JavaScript program. In this paper, we propose an aspect-oriented programming framework for JavaScript achieving completely separated aspect description. AOJS guarantees the complete separation of aspects and other core modules by adapting proxy-based architecture for aspect weaving. AOJS realizes implementation of cross-cutting concerns such as logging without modifying programs of existing application.

Original languageEnglish
Pages (from-to)114-131
Number of pages18
JournalComputer Software
Issue number3
Publication statusPublished - 2011 Sept 19

ASJC Scopus subject areas

  • Software


Dive into the research topics of 'AOJS:Aspect-oriented programming framework for javascript'. Together they form a unique fingerprint.

Cite this