Abstract
Client-side applications often contain similar features and facilitating reuse could offer considerable benefits in terms of faster development. Unfortunately, due to the specifics of prevailing technologies, the techniques and tools used to support reuse are not as advanced as in other software engineering disciplines and the main method of reuse is still copy-pasting code. Copy-paste reuse can introduce a number of different types of errors that are time-consuming to detect and fix. In this paper we present an automatic method for feature reuse in client-side web applications. We identify problems that occur when introducing code from one application into another, present a set of algorithms that detect and fix those problems and perform the actual code merging. We have evaluated the approach on four case study applications, and the results show that the method is capable of performing feature reuse.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Cottrell, R., Walker, R.J., Denzinger, J.: Jigsaw: a tool for the small-scale reuse of source code. In: ICSE, pp. 933–934. ACM (2008)
Eisenbarth, T., Koschke, R., Simon, D.: Locating features in source code. IEEE Transactions on Software Engineering 29(3), 210–224 (2003)
Holmes, R., Walker, R.J.: Semi-Automating Pragmatic Reuse Tasks. In: ASE, pp. 481–482. IEEE Computer Society Press (2008)
Maras, J., Carlson, J., Crnkovic, I.: Extracting client-side web application code. In: WWW 2012, pp. 819–828. ACM, New York (2012)
Maras, J., Štula, M., Carlson, J.: Reusing web application user-interface controls. Web Engineering, 228–242 (2011)
Murugesan, S.: Understanding web 2.0. IT Professional 9(4), 34–41 (2007)
Schraefel, M.C., Zhu, Y., Modjeska, D., Wigdor, D., Zhao, S.: Hunter Gatherer: Interaction Support for the Creation and Management of Within-Web-Page Collections. In: WWW, pp. 172–181 (2002)
Sugiura, A., Koseki, Y.: Internet scrapbook: creating personalized world wide web pages. In: HCI, pp. 343–344. ACM (1997)
Tanaka, Y., Ito, K., Fujima, J.: Meme Media for Clipping and Combining Web Resources. World Wide Web 9, 117–142 (2006)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Maras, J., Carlson, J., Crnković, I. (2013). Towards Automatic Client-Side Feature Reuse. In: Lin, X., Manolopoulos, Y., Srivastava, D., Huang, G. (eds) Web Information Systems Engineering – WISE 2013. WISE 2013. Lecture Notes in Computer Science, vol 8181. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-41154-0_36
Download citation
DOI: https://doi.org/10.1007/978-3-642-41154-0_36
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-41153-3
Online ISBN: 978-3-642-41154-0
eBook Packages: Computer ScienceComputer Science (R0)