Optimizing Web Applications Using Declarative Software Rewriting

Guardado en:
Detalles Bibliográficos
Publicado en:ProQuest Dissertations and Theses (2025)
Autor principal: Gokhale, Satyajit
Publicado:
ProQuest Dissertations & Theses
Materias:
Acceso en línea:Citation/Abstract
Full Text - PDF
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
Descripción
Resumen:Performance and security are among the most desirable properties of Web Applications. The success of a Web Application depends on user satisfaction and is strongly correlated with the perceived responsiveness of the application and performance. Additionally, security is of utmost importance to retain user trust in a world ridden with malicious actors. However, drawing upon the full potential of a web application can involve the introduction of non-linear control flow, framework-specific changes and optimizations, or extensive refactoring for adoption of newer constructs in an ever-evolving ecosystem. Similarly, mitigating security vulnerabilities is also not trivial. These changes are often intrusive and can span multiple files. In this thesis, we explore how a declarative approach to specifying project-spanning program transformations can address these challenges. We present three major themes to improve the responsiveness and performance of web applications, and one theme to improve security: introducing asynchrony, introducing laziness, reducing superfluous computation, and introducing memory segmentation. We demonstrate the application of a declarative re-writing approach to these themes in the following contributions: (i) automatic migration from synchronous to asynchronous JavaScript APIs, (ii) increasing the responsiveness of web applications by introducing lazy loading, (iii) remediating superfluous re-rendering in React applications, and (iv) rewriting WebAssembly binaries to mitigate security vulnerabilities.
ISBN:9798290941578
Fuente:ProQuest Dissertations & Theses Global