Unsticking the web

  • Authors:
  • Joshua Sunshine

  • Affiliations:
  • Carnegie Mellon University, Pittsburgh, PA, USA

  • Venue:
  • Proceedings of the ACM international conference companion on Object oriented programming systems languages and applications companion
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

A single web page in a complex web application has many possible runtime states. Functions, like JavaScript event handlers, that operate on such pages are therefore difficult to write correctly. I propose DynXML, a new language for the web which safely and naturally mutates XML trees. Any dynamic web application written in DynXML is statically guaranteed to be free of structural defects -- code that transforms the page in a way that is unexpected by other code or relies on an element of the page that is of the wrong type or does not exist. I specified DynXML formally and proved it sound. I intend to show its expressiveness by implementing several web application design patterns and a subsection of a popular JavaScript framework. I will analyze web application defects to validate the importance of structural defects.