Browsing by Author "Guo, Yi"
Now showing 1 - 2 of 2
- Results Per Page
- Sort Options
Item Aspects for Modularizing Collaborating Behaviors in Method Implementation(2005-04-06) Liang, Donglin; Guo, YiA method of a class in an object-oriented (OO) program often must implement collaborating behaviors that require multiple inter-dependent tasks to be performed within the same period of time to accomplish a certain goal. To achieve the separation of concerns in the description of a collaborating behavior, the tasks involved and the protocol through which these tasks interact should be modularized and described separately. This paper presents a new programming technique to support such a modularization strategy during method design. With examples, we illustrate that our technique may allow the achievement of better modularity in an OO program than using existing techniques.Item Effective Language Support for Aspectual Behavior Decomposition(2005-04-04) Liang, Donglin; Guo, YiAspects have been proposed as a new program abstraction to achieve better separation of concerns during software design. Although many aspect-oriented programing (AOP) techniques have been proposed to support the use of aspects, the conceptual framework for characterizing the design problems that can be solved using aspects is not well formulated. The lack of a well-formulated framework makes it difficult for software developers to identify the places where aspects can be best used; it also makes it difficult to evaluate and to improve the techniques that support aspects. In this paper, we propose to formulate a conceptual framework with the concept of collaborating behaviors. Based on this perspective, we discuss the concept of aspectual behavior decomposition and the limitations with the existing AOP techniques in supporting such a decomposition strategy. We also give a brief overview of a new AOP technique that illustrates how some of these limitations can be overcome.