Skip to main content

Blueprint: A Continuation-Based Web Framework

  • Conference paper
Intelligent Distributed Computing III

Part of the book series: Studies in Computational Intelligence ((SCI,volume 237))

  • 574 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 169.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. IBM developerWorks: Use continuations to develop complex Web applications (2004), http://www.ibm.com/developerworks/library/j-contin.html

  2. Akhmechet, S.: Weblocks User Manual (2007), http://trac.common-lisp.net/cl-weblocks/wiki/UserManual

  3. R6RS Editors Committee: Revised 6 Report on the Algorithmic Language Scheme (2007)

    Google Scholar 

  4. Cooper, E., Lindley, S., Wadler, P., Yallop, J.: Links: Web Programming Without Tiers (2006)

    Google Scholar 

  5. Graham, P.: Arc tutorial (2008), http://ycombinator.com/arc/tut.txt

  6. Graunke, P.: Web Interactions. In: European Symposium on Programming, pp. 238–252 (2003)

    Google Scholar 

  7. 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)

    Chapter  Google Scholar 

  8. 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)

    Google Scholar 

  9. The Seaside Project: Seaside Framework Tutorial (2008), http://www.seaside.st/documentation/tutorials

  10. 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)

    Article  MATH  Google Scholar 

  11. 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)

    Google Scholar 

  12. 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)

    Google Scholar 

  13. 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)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics