Autor: |
Atsuto Kubo, Toshihiro Kodaka, Nobukazu Yoshioka, Kazuki Eguchi, Hironori Washizaki, Hideyuki Kanuka, Yoshiaki Fukazawa, Tomohiko Mizumachi, Yoichi Nagai, Nobuhide Sugimoto, Rieko Yamamoto |
Rok vydání: |
2009 |
Předmět: |
|
Zdroj: |
Proceedings of the 8th workshop on Aspects, components, and patterns for infrastructure software. |
DOI: |
10.1145/1509276.1509285 |
Popis: |
JavaScript is a popular scripting language that is particularly useful for client-side programming together with HTML /XML on the Web. As JavaScript programs become more complex and large, separation of concerns at the implementation level is a significant challenge. Aspect orientation has been a well known concept to realize improved separation; however, existing mechanisms require modifications in the target modules for aspect weaving in JavaScript (i.e., not "complete" separation). In this paper, we propose an Aspect-Oriented JavaScript framework, named "AOJS", which realizes the complete separation of aspects and other core modules in JavaScript. AOJS can specify function executions, variable assignments and file initializations in JavaScript programs as the joinpoints of aspects. Moreover, AOJS guarantees the complete separation of aspects and core program modules by adopting a proxy-based architecture for aspect weaving. By utilizing these features, we confirmed that AOJS offers improved modifiability and extendability for JavaScript programming. |
Databáze: |
OpenAIRE |
Externí odkaz: |
|