JavaScript is the most widely used client-side scripting language, and has become
increasingly popular as a crucial component of the AJAX technology. JavaScript
is a dynamic, weakly typed, multi-paradigm programming language that supports
object-oriented, imperative, and functional programming styles. Many di erent programmers
appreciate this
exibility when implementing complex and interactive web
applications. This wide range of possible styles can hinder program comprehension
and make maintenance di cult, especially in large projects involving many di erent
programmers. A particular problem is the several di erent ways in which objectoriented
classes can be expressed in JavaScript. In this work we aim at enhancing
the maintainability of object-oriented JavaScript applications by automatically normalizing
the representation of classes to a single model. We begin by analyzing the
di erent ways that JavaScript programmers have represented the class concept, identifying
and cataloguing the di erent class patterns used in the language. We choose
one of these, and show how it is possible to automatically migrate JavaScript applications
from any mix of class styles to the chosen one, making it easier to understand
and maintain object-oriented JavaScript programs. / Thesis (Master, Computing) -- Queen's University, 2013-01-22 09:29:10.693
Identifer | oai:union.ndltd.org:LACETR/oai:collectionscanada.gc.ca:OKQ.1974/7754 |
Date | 22 January 2013 |
Creators | Gama, WIDD |
Contributors | Queen's University (Kingston, Ont.). Theses (Queen's University (Kingston, Ont.)) |
Source Sets | Library and Archives Canada ETDs Repository / Centre d'archives des thèses électroniques de Bibliothèque et Archives Canada |
Language | English, English |
Detected Language | English |
Type | Thesis |
Rights | This publication is made available by the authority of the copyright owner solely for the purpose of private study and research and may not be copied or reproduced except as permitted by the copyright laws without written authority from the copyright owner. |
Relation | Canadian theses |
Page generated in 0.0021 seconds