Skip to main content

Client-Side Web Scripting with HaskellScript

  • Conference paper
  • First Online:
Practical Aspects of Declarative Languages (PADL 1999)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1551))

Included in the following conference series:

Abstract

Using client-side scripting it is possible to build interactive web pages that don’t need round-trips to the server for every user-event. The web browser exposes itself to the script via an object model (DOM), which means that scripts can add and remove page content, or change the position and color of elements via their style attributes. We explain the object model as implemented by Microsoft Internet Explorer by means of examples and report on our experiences of using Haskell as a programming language for client-side web scripting using the HaskellScript scripting engine.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight 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.

Reference

  1. Richard Bird. Introduction to Functional Programming using Haskell (2nd edition). Prentice Hall, 1998.

    Google Scholar 

  2. David Chappel. Understanding ActiveX and OLE. Microsoft Press, 1996.

    Google Scholar 

  3. J. Petersoneditor et. al. Report on the programming language Haskell version 1.4. http://www.haskell.org/ , April 61997.

  4. Lauren Woodet. al. Document Object Model (DOM) Level 1 Specification. http://www.w3.org/TR/REC-DOM-Level-1 , October1998.

  5. Sigbjorn Finne, Daan Leijen, Erik Meijer, and Simon Peyton Jones. H/Direct: A Binary Foreign Language Interface to Haskell. In Proceedings of ICFP’98, 1998.

    Google Scholar 

  6. Scott Isaacs. Inside Dynamic HTML. Microsoft Press, 1997.

    Google Scholar 

  7. Simon L. Peyton Jones and Philip Wadler. Imperative functional programming. In POPL 20, pages 71–84, 1993.

    Google Scholar 

  8. Simon Peyton Jones, Erik Meijer, and Daan Leijen. Scripting COM components from Haskell. In Proceedings of ICSR5, 1998.

    Google Scholar 

  9. SL Peyton Jones and J Launchbury. State in Haskell. Lisp and Symbolic Computation, 8(4):293–341, 1995.

    Article  Google Scholar 

  10. HĂĄkon Wium Lie and Bert Bos, editors. Cascading Style Sheets. Addison-Wesley, 1997.

    Google Scholar 

  11. John Matthews, John Launchbury, and Byron Cook. Microprocessor Specification in Hawk. In International Conference on Computer Languages, 1998.

    Google Scholar 

  12. Erik Meijer. Server-side Scripting in Haskell. Journal of Functional Programming, Accepted for publication.

    Google Scholar 

  13. Microsoft Press. Automation Programmers Reference, 1997.

    Google Scholar 

  14. D. Ragget, Arnoud Le Hors, and Ian Jacobs. HTML 4.0 specification. http://www.w3.org/TR/REC-html40 , December 1997.

  15. Philip Wadler. Personal communication.

    Google Scholar 

  16. Philip Wadler. Monads for functional programming. In J. Jeuring and E. Meijer, editors, Advanced Functional Programming, volume 925 of LNCS. Springer Verlag, 1995.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1998 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Meijer, E., Leijen, D., Hook, J. (1998). Client-Side Web Scripting with HaskellScript. In: Gupta, G. (eds) Practical Aspects of Declarative Languages. PADL 1999. Lecture Notes in Computer Science, vol 1551. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-49201-1_14

Download citation

  • DOI: https://doi.org/10.1007/3-540-49201-1_14

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-65527-5

  • Online ISBN: 978-3-540-49201-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics