Abstract
A relatively recent trend in the web framework world is the use of continuations to model user-interaction. This paper shows the design and implementation of such a framework using a dialect of the functional language Scheme. We will show that Scheme, or any other Lisp-like language, is an adequate language for web development due to its use of s-expressions and its functional nature. Our web framework will use s-expressions to represent layout information in a manner similar to HTML. The generated web pages are represented as XML and are then transformed to XHTML by means of an XSL transformation.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
IBM developerWorks: Use continuations to develop complex Web applications (2004), http://www.ibm.com/developerworks/library/j-contin.html
Akhmechet, S.: Weblocks User Manual (2007), http://trac.common-lisp.net/cl-weblocks/wiki/UserManual
R6RS Editors Committee: Revised 6 Report on the Algorithmic Language Scheme (2007)
Cooper, E., Lindley, S., Wadler, P., Yallop, J.: Links: Web Programming Without Tiers (2006)
Graham, P.: Arc tutorial (2008), http://ycombinator.com/arc/tut.txt
Graunke, P.: Web Interactions. In: European Symposium on Programming, pp. 238–252 (2003)
Graunke, P., Krishnamurthi, S., Van Der Hoeven, S., Felleisen, M.: Programming the Web with High-Level Programming Languages. In: Sands, D. (ed.) ESOP 2001. LNCS, vol. 2028, pp. 121–136. Springer, Heidelberg (2001)
Hanus, M.: Putting Declarative Programming into the Web: Translating Curry to JavaScript. In: Proc. of the 9th International ACM SIGPLAN Conference on Principle and Practice of Declarative Programming, PPDP 2007 (2007)
The Seaside Project: Seaside Framework Tutorial (2008), http://www.seaside.st/documentation/tutorials
Krishnamurthi, S., Walton Hopkins, P., McCarthy, J.: Implementation and Use of the PLT Scheme Web Server. Higher-Order and Symbolic Computation 20, 431–467 (2007)
Ducasse, S., Lienhard, A., Renggli, L.: Seaside -A Multiple Control Flow Web Application Framework. In: ACM International Conference Proceeding Series, vol. 178, pp. 163–172 (2006)
Piancastelli, G., Omicini, A.: A Logic Programming Model for Web Resources. In: Proceedings of 4th International Conference on Web Information Systems and Technologies (WEBIST 2008), pp. 158–164 (2008)
Piancastelli, G., Omicini, A.: A Multi-Theory Logic Language for the World Wide Web. In: Garcia de la Banda, M., Pontelli, E. (eds.) ICLP 2008. LNCS, vol. 5366, pp. 769–773. Springer, Heidelberg (2008)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2009 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Muscar, A., Cosulschi, M. (2009). Blueprint: A Continuation-Based Web Framework. In: Papadopoulos, G.A., Badica, C. (eds) Intelligent Distributed Computing III. Studies in Computational Intelligence, vol 237. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-03214-1_31
Download citation
DOI: https://doi.org/10.1007/978-3-642-03214-1_31
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-03213-4
Online ISBN: 978-3-642-03214-1
eBook Packages: EngineeringEngineering (R0)