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

    Research output: Contribution to journalArticle

    Abstract

    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
    Volume28
    Issue number3
    Publication statusPublished - 2011

      Fingerprint

    ASJC Scopus subject areas

    • Software

    Cite this

    Ohashi, A., Kubo, A., Mizumachi, T., Eguchi, K., Murakami, S., Takahashi, R., Takahashi, H., Fukazawa, Y., Kanuka, H., Kodaka, T., Yamamoto, R., Nagai, Y., Yoshioka, N., Ishikawa, F., & Ikari, H. (2011). AOJS: Aspect-oriented programming framework for javascript. Computer Software, 28(3), 114-131.