Type system for dynamic Web documents

16Citations
Citations of this article
13Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Many interactive Web services use the CGI interface for communication with clients. They will dynamically create HTML documents that are presented to the client who then resumes the interaction by submitting data through incorporated form fields. This protocol is difficult to statically type-check if the dynamic documents are created by arbitrary script code using printf-like statements. Previous proposals have suggested using static document templates which trades flexibility for safety. We propose a notion of typed, higher-order templates that simultaneously achieve flexibility and safety. Our type system is based on a flow analysis of which we prove soundness. We present an efficient runtime implementation that respects the semantics of only well-typed programs. This work is fully implemented as part of the 〈bigwig〉 system for defining interactive Web services.

Cite

CITATION STYLE

APA

Sandholm, A., & Schwartzbach, M. I. (2000). Type system for dynamic Web documents. In Conference Record of the Annual ACM Symposium on Principles of Programming Languages (pp. 290–301). ACM. https://doi.org/10.1145/325694.325733

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free