Skip to main content

Agents in the Browser – Using Agent Oriented Programming for Client Side Development

  • Conference paper
Recent Developments in Computational Collective Intelligence

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

  • 686 Accesses

Abstract

Agent Oriented Programming is in need of an application domain that can give it exposure to a broader audience. Web technologies have matured over the past decade, having reached a point where it is feasible to develop complex, large client side applications, i.e. applications that run in the browser. Together with mobile applications, web applications is a field in which Agent Oriented Programming can shine.

In this paper we propose a dialect of Jason (a subset of Jason extended with promises for asynchronous computations) for client side development. We will give the design rationale of the language and some details on its implementation.

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.

Similar content being viewed by others

References

  1. Bordini, R.H., Hübner, J.F., Vieira, R.: Jason and the golden fleece of agent-oriented programming. In: Bordini, R.H., Dastani, M., Dix, J., Fallah-Seghrouchni, A.E. (eds.) Multi-Agent Programming, Multiagent Systems, Artificial Societies, and Simulated Organizations, vol. 15, pp. 3–37. Springer (2005)

    Google Scholar 

  2. Bordini, R.H., Wooldridge, M., Hübner, J.F.: Programming Multi-Agent Systems in AgentSpeak using Jason (Wiley Series in Agent Technology). John Wiley & Sons (2007)

    Google Scholar 

  3. Clark, K.L., McCabe, F.G.: Go! – a multi-paradigm programming language for implementing multi-threaded agents. Annals of Mathematics and Artificial Intelligence 41(2-4), 171–206 (2004)

    Article  MATH  Google Scholar 

  4. Clocksin, W.F., Mellish, C.S.: Programming in Prolog, 4th edn. Springer (1994)

    Google Scholar 

  5. Crockford, D.: JavaScript: The Good Parts. O’Reilly Media, Inc. (2008)

    Google Scholar 

  6. Garrett, J.J.: Ajax: A new approach to web applications (2005), http://www.adaptivepath.com/ideas/ajax-new-approach-web-applications

  7. Grigore, C.V., Collier, R.W.: Af-raf: an agent-oriented programming language with algebraic data types. In: Proceedings of the Compilation of the co-located Workshops on DSM 2011, TMC 2011, AGERE! 2011, AOOPES 2011, NEAT 2011, & VMIL 2011, SPLASH 2011 Workshops, pp. 195–200. ACM, New York (2011), http://doi.acm.org/10.1145/2095050.2095081 , doi:10.1145/2095050.2095081

    Google Scholar 

  8. Haller, P., Prokopec, A., Miller, H., Klang, V., Kuhn, R., Jovanovic, V.: Futures and promises, http://docs.scala-lang.org/overviews/core/futures.html

  9. Halvey, M.J., Keane, M.T.: An assessment of tag presentation techniques. In: Proceedings of the 16th International Conference on World Wide Web, WWW 2007, pp. 1313–1314. ACM, New York (2007), http://doi.acm.org/10.1145/1242572.1242826 , doi:10.1145/1242572.1242826

    Chapter  Google Scholar 

  10. Microsoft: Asynchronous programming with async and await (2013), http://msdn.microsoft.com/en-us/library/vstudio/hh191443.aspx

  11. Minotti, M., Piancastelli, G., Ricci, A.: Agent-oriented programming for client-side concurrent web 2.0 applications. In: Cordeiro, J., Filipe, J. (eds.) WEBIST 2009. LNBIP, vol. 45, pp. 17–29. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  12. Muscar, A.: Extending jason with promises for concurrent computation. In: Fortino, G., Badica, C., Malgeri, M., Unland, R. (eds.) Intelligent Distributed Computing VI. SCI, vol. 446, pp. 41–50. Springer, Heidelberg (2012), http://dx.doi.org/10.1007/978-3-642-32524-3_7

    Chapter  Google Scholar 

  13. O’Sullivan, B., Goerzen, J., Stewart, D.: Real World Haskell. O’Reilly Media, Inc. (2008)

    Google Scholar 

  14. Ricci, A., Santi, A.: Designing a general-purpose programming language based on agent-oriented abstractions: the simpal project. In: Proceedings of the Compilation of the Co-located Workshops on DSM 2011, TMC 2011, AGERE! 2011, AOOPES 2011, NEAT 2011, & VMIL 2011, SPLASH 2011 Workshops, pp. 159–170. ACM, New York (2011), doi:10.1145/2095050.2095078

    Google Scholar 

  15. Santi, A., Guidi, M., Ricci, A.: JaCa-android: An agent-based platform for building smart mobile applications. In: Dastani, M., El Fallah Seghrouchni, A., Hübner, J., Leite, J. (eds.) LADS 2010. LNCS, vol. 6822, pp. 95–114. Springer, Heidelberg (2011)

    Chapter  Google Scholar 

  16. International Organization of Securities Commissions, T.C.: Regulatory issues raised by the impact of technological changes on market integrity and efficiency. Tech. rep., International Organization of Securities Commissions (2011), http://www.iosco.org/library/pubdocs/pdf/IOSCOPD354.pdf

  17. Sussman, G.J., Steele Jr. G.L.: Scheme: an interpreter for extended lambda calculus. MIT AI Memo 349. Massachusetts Institute of Technology, Cambridge (1975)

    Google Scholar 

  18. Syme, D., Granicz, A., Cisternino, A.: Expert F# 2, 1st edn. Apress, Berkely (2010)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Alex Muscar .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer International Publishing Switzerland

About this paper

Cite this paper

Muscar, A. (2014). Agents in the Browser – Using Agent Oriented Programming for Client Side Development. In: Badica, A., Trawinski, B., Nguyen, N. (eds) Recent Developments in Computational Collective Intelligence. Studies in Computational Intelligence, vol 513. Springer, Cham. https://doi.org/10.1007/978-3-319-01787-7_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-01787-7_8

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-01786-0

  • Online ISBN: 978-3-319-01787-7

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics