Abstract
The web application domain is one of the fastest growing and most wide-spread application domains today. By utilizing fast, modern web browsers and advanced scripting techniques, web developers are developing highly interactive applications that can, in terms of user-experience and responsiveness, compete with standard desktop applications. A web application is composed of two equally important parts: the server-side and the client-side. The client-side acts as a user-interface to the application, and can be viewed as a collection of behaviors. Similar behaviors are often used in a large number of applications, and facilitating their reuse offers considerable benefits. However, due to clientside specifics, such as multi-language implementation and extreme dynamicity, identifying and extracting code responsible for a certain behavior is dificult. In this paper we present a semi-automatic method for extracting client-side web application code implementing a certain behavior. We show how by analyzing the execution of a usage scenario, code responsible for a certain behavior can be identified, how dependencies between different parts of the application can be tracked, and how in the end only the code responsible for a certain behavior can be extracted. Our evaluation shows that the method is capable of extracting stand-alone behaviors, while achieving considerable savings in terms of code size and application performance.
Author supplied keywords
Cite
CITATION STYLE
Maras, J., Carlson, J., & Crnković, I. (2012). Extracting client-side web application code. In WWW’12 - Proceedings of the 21st Annual Conference on World Wide Web (pp. 819–828). https://doi.org/10.1145/2187836.2187947
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.