Programmers confront a minefield when they design interactive Web programs. Web interactions take place via Web browsers. Browsers permit consumers to whimsically navigate among the various stages of a dialog, leading to unexpected outcomes. Furthermore, the growing diversity of browsers means the number of interactive operations users can perform continues to grow. To investigate this programming problem, we develop a foundational model of Web interactions that reduces the panoply of browser-supported user interactions to three fundamental ones. We use the model to formally describe two classes of errors in Web programs. The descriptions suggest techniques for detecting both classes of errors. For one class we present an incrementally-checked record type system, which effectively eliminates these errors. For the other class, we introduce a dynamic safety check that employs program annotations to detect errors. © 2006 Springer-Verlag Berlin Heidelberg.
CITATION STYLE
Krishnamurthi, S., Findler, R. B., Graunke, P., & Felleisen, M. (2006). Modeling web interactions and errors. In Interactive Computation: The New Paradigm (pp. 255–275). Springer Berlin Heidelberg. https://doi.org/10.1007/3-540-34874-3_11
Mendeley helps you to discover research relevant for your work.