Normalizing Object-oriented Class Styles in JavaScript

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 style...

Full description

Bibliographic Details
Main Author: Gama, WIDD
Other Authors: Queen's University (Kingston, Ont.). Theses (Queen's University (Kingston, Ont.))
Language:en
en
Published: 2013
Subjects:
Online Access:http://hdl.handle.net/1974/7754
id ndltd-LACETR-oai-collectionscanada.gc.ca-OKQ.1974-7754
record_format oai_dc
spelling ndltd-LACETR-oai-collectionscanada.gc.ca-OKQ.1974-77542013-12-20T03:40:55ZNormalizing Object-oriented Class Styles in JavaScriptGama, WIDDComputer sciencenormalizationClassesobject-orientedmigrationJavaScriptJavaScript 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.693Queen's University (Kingston, Ont.). Theses (Queen's University (Kingston, Ont.))2013-01-22 09:29:10.6932013-01-22T18:56:24Z2013-01-22T18:56:24Z2013-01-22Thesishttp://hdl.handle.net/1974/7754enenCanadian thesesThis 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.
collection NDLTD
language en
en
sources NDLTD
topic Computer science
normalization
Classes
object-oriented
migration
JavaScript
spellingShingle Computer science
normalization
Classes
object-oriented
migration
JavaScript
Gama, WIDD
Normalizing Object-oriented Class Styles in JavaScript
description 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
author2 Queen's University (Kingston, Ont.). Theses (Queen's University (Kingston, Ont.))
author_facet Queen's University (Kingston, Ont.). Theses (Queen's University (Kingston, Ont.))
Gama, WIDD
author Gama, WIDD
author_sort Gama, WIDD
title Normalizing Object-oriented Class Styles in JavaScript
title_short Normalizing Object-oriented Class Styles in JavaScript
title_full Normalizing Object-oriented Class Styles in JavaScript
title_fullStr Normalizing Object-oriented Class Styles in JavaScript
title_full_unstemmed Normalizing Object-oriented Class Styles in JavaScript
title_sort normalizing object-oriented class styles in javascript
publishDate 2013
url http://hdl.handle.net/1974/7754
work_keys_str_mv AT gamawidd normalizingobjectorientedclassstylesinjavascript
_version_ 1716621532437938176