%0 %0 Conference Proceedings %A Ceri, S.; Daniel, F.; Demaldé, V. & Facca %D 2005 %T An Approach to User-Behavior-Aware Web Applications %E %B Web Engineering 5th International Conference, ICWE 2005 %C %I LNCS, Springer %V %6 %N %P %& %Y %S %7 %8 July %9 %? %! %Z %@ %( %) %* %L %M %1 %2 %3 inproceedings %4 %# %$ %F ceri05 %K adaptive behavior model user-aware web webml %X The Adaptive Web is a new research area addressing the personalization of theWeb experience for each user. In this paper we propose a new high-level model for the specification ofWeb applications that take into account the manner users interact with the application for supplying appropriate contents or gathering profile data. We therefore consider entire processes (rather than single properties) as smallest information units, allowing for automatic restructuring of application components. For this purpose, a high-level Event-Condition-Action (ECA) paradigm is proposed, which enables capturing arbitrary (and timed) clicking behaviors. Also, a possible architecture as well as a first prototype implementation are discussed. %Z %U http://www.springerlink.com/content/cvfy8pwx0ywl2nkn/ %+ %^ %0 %0 Conference Proceedings %A Sch\"arli, Nathanael; Ducasse, St\'ephane; Nierstrasz, Oscar & Black, Andrew %D 2003 %T Traits: Composable Units of Behavior %E %B Proceedings of European Conference on Object-Oriented Programming (ECOOP'03) %C %I Springer Verlag %V 2743 %6 %N %P 248-274 %& %Y %S LNCS %7 %8 July %9 %? %! %Z %@ %( %) %* %L %M %1 %2 %3 inproceedings %4 %# %$ %F Scha03a %K behavior languagedesign %X Despite the undisputed prominence of inheritance as the fundamental reuse mechanism in object-oriented programming languages, the main variants --- single inheritance, multiple inheritance, and mixin inheritance --- all suffer from conceptual and practical problems. In the first part of this paper, we identify and illustrate these problems. We then present traits, a simple compositional model for structuring object-oriented programs. A trait is essentially a group of pure methods that serves as a building block for classes and is a primitive unit of code reuse. In this model, classes are composed from a set of traits by specifying glue code that connects the traits together and accesses the necessary state. We demonstrate how traits overcome the problems arising from the different variants of inheritance, we discuss how traits can be implemented effectively, and we summarize our experience applying traits to refactor an existing class hierarchy. %Z %U http://www.iam.unibe.ch/~scg/Archive/Papers/Scha03aTraits.pdf %+ %^