Abstract
Developing interactive Web programs poses unique problems. Due to the limitations of server protocols, interactive Web programs (conceptually) consists of numerous “scripts” that communicate with each other through Web forms and other external storage. For simplistic applications, one can think of such scripts as plain functions that consume a Web page (form) and produce a Web page in response. For complex applications, this view leads to subtle, and costly, mistakes. These lecture notes explain how to overcome many of these problems with a mostly functional programming style that composes scripts via (hidden) first-class continuations.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Felleisen, M., Findler, R.B., Flatt, M., Krishnamurthi, S.: How to Design Programs. MIT Press, Cambridge (2001)
Graunke, P., Findler, R., Krishnamurthi, S., Felleisen, M.: Automatically restructuring programs for the web. In: Proc. 2001 Automated Software Engineering, pp. 211–222 (2001)
Graunke, P., Krishnamurthi, S., Van Der Hoeven, S., Felleisen, M.: Programming the web with high-level programming languages. In: Proc. 2001 European Symposium on Programming, pp. 122–136 (2001)
Hughes, J.: Generalizing monads to arrows. Sci. Comp. Prog. 37, 67–111 (2000)
Queinnec, C.: The influence of browsers on evaluators or, continuations to program web servers. In: Proc. 2000 International Conference on Functional Programming, pp. 23–33 (2000)
Thiemann, P.: WASH/CGI: Server-side web scripting with sessions and typed, compositional forms. In: Proc. 2002 Practical Applications of Declarative Languages, pp. 192–208 (2002)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Felleisen, M. (2003). Developing Interactive Web Programs. In: Jeuring, J., Jones, S.L.P. (eds) Advanced Functional Programming. AFP 2002. Lecture Notes in Computer Science, vol 2638. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-44833-4_4
Download citation
DOI: https://doi.org/10.1007/978-3-540-44833-4_4
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-40132-2
Online ISBN: 978-3-540-44833-4
eBook Packages: Springer Book Archive