Advertisement

Functional Web and Mobile Development in F#

  • Adam GraniczEmail author
Chapter
Part of the Lecture Notes in Computer Science book series (LNCS, volume 8606)

Abstract

In these lecture notes we present examples of F# mobile web applications using WebSharper [1], an open source F# web framework. In the first part of the tutorial, we provide a quick walkthrough of the relevant WebSharper features and concepts. WebSharper, through its extensions, can provide type-safe interfaces to various JavaScript libraries. We will make use of extensions to jQuery Mobile [2] and Sencha Touch [3], and demonstrate how to develop F# mobile web applications with these libraries.

Keywords

Visual Studio Event Handler Integrate Development Environment Intermediate Language Quotation Data 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Notes

Acknowledgements

The author would like to thank his IntelliFactory colleagues Loic Denuziere and Andras Janko for their help with the examples in this tutorial, and Anton Tayanovskyy for writing most of Sect. 1.4.

References

  1. 1.
    Granicz, A., Tayanovskyy, A., Denuziere, L., Janko, A., et al.: The WebSharper website. http://websharper.com, Accessed 10 December 2013
  2. 2.
    The jQuery Mobile website. http://jquerymobile.com, Accessed 10 December 2013
  3. 3.
    The Sencha Touch website. http://www.sencha.com/products/touch. Accessed 10 December 2013
  4. 4.
    The jQuery website. http://jquery.com, Accessed 10 December 2013
  5. 5.
    Syme, D., Granicz, A., Cisternino, A.: Expert F# 3.0. Apress, Berkeley (2012)Google Scholar
  6. 6.
    Bjornson, J., Tayanovkyy, A., Granicz, A.: Composing reactive GUIs in F# using WebSharper. In: Hage, J., Morazán, M.T. (eds.) Implementation and Application of Functional Languages. LNCS, vol. 6647. Springer, Heidelberg (2011)Google Scholar
  7. 7.
    Cooper, E., Lindley, S., Wadler, P., Yallop, J.: An Idioms Guide to Formlets. Technical report, University of Edinburg (2008)Google Scholar
  8. 8.
    Denuziere, L., Rodriguez, E., Granicz, A.: Piglets to the rescue. In: 25th Symposium on Implementation and Application of Functional Languages, IFL. Nijmegen, The Netherlands (2013)Google Scholar
  9. 9.
    Fielding, R.T.: Architectural styles and the design of network-based software architectures. Ph.D. thesis, University of California, Irvine (2000)Google Scholar
  10. 10.
    Granicz, A., Tayanovskyy, A., Denuziere, L.: Experience Report: Developing a Cloud-Based Integrated Environment for F# Web and Mobile Applications. InformatikaKorszeru Technikai, IKT 2012. Dunaujvaros, Hungary (2012)Google Scholar
  11. 11.
    Czaplicki, E., Chong, S.: Asynchronous functional reactive programming for GUIs. In: The Proceedings of the 34th ACM SIGPLAN Conference on Programming Language Design and Implementation, PLDI 2013, pp. 411–422. Seattle, WA, USA (2013)Google Scholar
  12. 12.
    Syme, D., Neverov, G., Margetson, J.: Extensible pattern matching via a lightweight language extension. In: The Proceedings of the 12th ACM SIGPLAN International Conference on Functional Programming, ICFP 2007. Freiburg, Germany (2007)Google Scholar

Copyright information

© Springer International Publishing Switzerland 2015

Authors and Affiliations

  1. 1.IntelliFactoryBudapestHungary

Personalised recommendations