skip to main content
10.1145/2162024.2162035acmconferencesArticle/Chapter ViewAbstractPublication PagesmodularityConference Proceedingsconference-collections
research-article

UniAspect: a language-independent aspect-oriented programming framework

Published: 27 March 2012 Publication History

Abstract

Existing AOP tools, typified by AspectJ, are proposed as extensions of a single language. Therefore, most existing AOP tools cannot deal with cross-cutting concerns, which are scattered on many modules implemented in two or more languages. We propose a novel language-independent AOP framework named UniAspect. UniAspect translates programs written in various languages into a Unified Code Object, which is our common representation of source code. And it achieves the modularization of scattered cross-cutting concerns in multiple languages by weaving aspects through the Unified Code Object. In this paper, we introduce a case study of the implementation of logs in a web application that is implemented in Java and JavaScript. Its result shows that UniAspect achieves the modularization of these concerns by a single aspect.

References

[1]
A> de Roo, et al. Compose*: a Language- and Platform-Independent Aspect Compiler for Composition Filters. In First International Workshop on Advanced Software Development Tools and Techniques (WASDeTT '08), 2008.
[2]
Andrew Jackson and Siobhan Clarke. SourceWeave.NET: Cross-Language Aspect-Oriented Programming. In Proceedings of the Generative Programming and Component Engineering (GPCE '04), 2004, pages 369--393.
[3]
Donal Lafferty and Vinny Cahill. Language-Independent Aspect-Oriented Proggraming. In Proceedings of the 18th annual ACM SIGPLAN conference on Object-Oriented Programing, Systems, Languages, and Applications (OOPSLA'03), 2003, pages 1--12.
[4]
Gregor Kiczales, et al. An overview of AspectJ. In Proceedings of the 15th European Conference on Object-OrientedProgramming (ECOOP'01), 2001, pages 327--353.
[5]
Hironori Washizaki, et al. AOJS: aspect-oriented javascript programming framework for web development. In Proceedings of the 8th workshop on Aspects, components, and patterns for infrastructure software (ACP4IS'09), 2009, pages 31--36.
[6]
Rodolfo Toledo, Paul Leger, and Éric Tanter. AspectScript: expressive aspect for the web, In Proceedings of the 9th ACM International Conference on Aspect-Oriented Software Development (AOSD'10), 2010, pages 13--24.
[7]
UniAspect website in UnicoenProject. http://www.unicoen.net/application/uniaspect.html
[8]
UNICOEN. A framework for developing code processing tools. http://www.unicoen.net/

Cited By

View all
  • (2017)LARA as a language-independent aspect-oriented programming approachProceedings of the Symposium on Applied Computing10.1145/3019612.3019749(1623-1630)Online publication date: 3-Apr-2017
  • (2016)Performance-driven instrumentation and mapping strategies using the LARA aspect-oriented programming approachSoftware—Practice & Experience10.1002/spe.230146:2(251-287)Online publication date: 1-Feb-2016

Index Terms

  1. UniAspect: a language-independent aspect-oriented programming framework

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    MISS '12: Proceedings of the 2012 workshop on Modularity in Systems Software
    March 2012
    58 pages
    ISBN:9781450312172
    DOI:10.1145/2162024
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    In-Cooperation

    • AOSA: Aspect-Oriented Software Association

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 27 March 2012

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. aspect-oriented programming
    2. language independent
    3. uniaspect
    4. unicoen

    Qualifiers

    • Research-article

    Conference

    AOSD '12

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)1
    • Downloads (Last 6 weeks)1
    Reflects downloads up to 19 Feb 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2017)LARA as a language-independent aspect-oriented programming approachProceedings of the Symposium on Applied Computing10.1145/3019612.3019749(1623-1630)Online publication date: 3-Apr-2017
    • (2016)Performance-driven instrumentation and mapping strategies using the LARA aspect-oriented programming approachSoftware—Practice & Experience10.1002/spe.230146:2(251-287)Online publication date: 1-Feb-2016

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Figures

    Tables

    Media

    Share

    Share

    Share this Publication link

    Share on social media