Abstract
iTask3 is the most recent incarnation of the iTask framework for the construction of distributed systems where users work together on the internet. It offers a domain specific language for defining applications, embedded into the lazy functional language Clean. From the mere declarative specification a complete multi-user web application is generated. Although the generated nature of the user interface (UI) entails a number of benefits for the programmer, it suffers from the lack of possibility to create custom UI building blocks. In this paper, we present an extension to the iTask3 framework which introduces the concept of tasklets for the development of custom, interactive web components in a single language manner. We further show that the presented tasklet architecture can be generalized in such a way that arbitrary parts of an iTask application can be executed on the client.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
The Google Web Toolkit site. http://code.google.com/webtoolkit/
Achten, P.: Clean for Haskell98 programmers - A quick reference guide, 13 July 2007. http://www.st.cs.ru.nl/papers/2007/achp2007-CleanHaskellQuickGuide.pdf
Collins, G., Beardsley, D.: The snap framework: A web toolkit for haskell. IEEE Internet Comput. 15(1), 84–87 (2011)
Cooper, E., Lindley, S., Yallop, J.: Links: Web programming without tiers. In: de Boer, F.S., Bonsangue, M.M., Graf, S., de Roever, W.-P. (eds.) FMCO 2006. LNCS, vol. 4709, pp. 266–296. Springer, Heidelberg (2007)
DART. Dart : structured web programming (2011)
Domoszlai, L., Bruël, E., Jansen, J.M.: Implementing a non-strict purely functional language in Javascript. Acta Univ. Sapientiae. Informatica 3(1), 76–98 (2011)
Jansen, J.M., Koopman, P., Plasmeijer, R.: Efficient interpretation by transforming data types and patterns to functions. In: Proceedings of 6th Symposium on Trends in Functional Programming, TFP 2006 (2006)
Jansen, J.M., Plasmeijer, R., Koopman, P.: iEditors: extending iTask with interactive plug-ins. In: Proceedings of 20th International Conference on Implementation and Application of Functional Languages, IFL 2008 (2011)
Krasner, G.E., Pope, S.T.: A cookbook for using the model-view controller user interface paradigm in Smalltalk-80. J. Object Oriented Program. 1(3), 26–49 (1988)
Lijnse, B., Jansen, J.M., Nanne, R., Plasmeijer, R.: Capturing the Netherlands coast guard’s SAR workflow with iTasks. In: Proceedings of the 8th International Conference on Information Systems for Crisis Response and Management, ISCRAM 2011 (2011)
Lijnse, B., Jansen, J.M., Plasmeijer, R.: Incidone: A task-oriented incident coordination tool. In: Proceedings of the 9th International Conference on Information Systems for Crisis Response and Management, ISCRAM 2012 (2012)
Plasmeijer, R., Achten, P.: iData for the world wide web – programming interconnected web forms. In: Hagiya, M. (ed.) FLOPS 2006. LNCS, vol. 3945, pp. 242–258. Springer, Heidelberg (2006)
Plasmeijer, R., Jansen, J.M., Koopman, P., Achten, P.: Declarative Ajax and client side evaluation of workflows using iTasks. In: Proceedings of 14th International Symposium on Principles and Practice of Declarative Programming, PPDP 2008, July 2008
Plasmeijer, R., Lijnse, B., Michels, S., Achten, P., Koopman, P.: Task-oriented programming in a pure functional language. In: Proceedings of the 14th Symposium on Principles and Practice of Declarative Programming, PPDP 2012, pp. 195–206. ACM, New York (2012)
Serrano, M., Gallesio, E., Loitsch, F.: Hop: a language for programming the web 2.0. In: ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages, and Applications, OOPSLA 2006 (2006)
Serrano, M., Queinnec, C.: A multi-tier semantics for hop. Higher-Order Symbolic Comput. 23, 409–431 (2010)
Snoyman, M.: Developing web applications with Haskell and Yesod. O’Reilly Media Inc (2012)
Surhone, L.M., Tennoe, M.T., Henssonow, S.F.: Node.Js. Betascript Publishing, Mauritius (2010)
Thiemann, P.: WASH/CGI: Server-side web scripting with sessions and typed, compositional forms. In: Proceedings of 4th International Symposium on Practical Aspects of Declarative Languages, PADL 2002, January 2002
Acknowledgements
The research was partially carried out as part of the EITKIC 12-1-2012-0001 project, which is supported by the Hungarian Government, managed by the National Development Agency, financed by the Research and Technology Innovation Fund and was performed in cooperation with the EIT ICT Labs Budapest Associate Partner Group.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this chapter
Cite this chapter
Domoszlai, L., Plasmeijer, R. (2015). Tasklets: Client-Side Evaluation for iTask3. In: Zsók, V., Horváth, Z., Csató, L. (eds) Central European Functional Programming School. CEFP 2013. Lecture Notes in Computer Science(), vol 8606. Springer, Cham. https://doi.org/10.1007/978-3-319-15940-9_11
Download citation
DOI: https://doi.org/10.1007/978-3-319-15940-9_11
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-15939-3
Online ISBN: 978-3-319-15940-9
eBook Packages: Computer ScienceComputer Science (R0)