Using the event-driven programming style of JavaScript to develop the concurrent and highly interactive client-side of Web 2.0 ap- plications is showing more and more shortcomings in terms of engineering properties such as reusability and maintainability. Additional libraries, frameworks, and AJAX techniques do not help reduce the gap between the single-threaded JavaScript model and the concurrency needs of ap- plications. We propose to exploit a different programming model based on a new agent-oriented abstraction layer, where first-class entities – namely agents and artifacts – can be used, respectively, to capture con- currency of activities and their interaction, and to represent tools and resources used by agents during their activities. We specialise the model in the context of client-side Web development, by characterising com- mon domain agents and artifacts that form an extension of an existing programming framework. Finally, we design and implement a simple but significant case study to showcase the capabilities of the model and verify the feasibility of the technology.
M. Minotti, G. Piancastelli, A. Ricci (2010). Agent-Oriented Programming for Client-Side Concurrent Web 2.0 Applications. HEIDELBERG : Springer Berlin.
Agent-Oriented Programming for Client-Side Concurrent Web 2.0 Applications
PIANCASTELLI, GIULIO;RICCI, ALESSANDRO
2010
Abstract
Using the event-driven programming style of JavaScript to develop the concurrent and highly interactive client-side of Web 2.0 ap- plications is showing more and more shortcomings in terms of engineering properties such as reusability and maintainability. Additional libraries, frameworks, and AJAX techniques do not help reduce the gap between the single-threaded JavaScript model and the concurrency needs of ap- plications. We propose to exploit a different programming model based on a new agent-oriented abstraction layer, where first-class entities – namely agents and artifacts – can be used, respectively, to capture con- currency of activities and their interaction, and to represent tools and resources used by agents during their activities. We specialise the model in the context of client-side Web development, by characterising com- mon domain agents and artifacts that form an extension of an existing programming framework. Finally, we design and implement a simple but significant case study to showcase the capabilities of the model and verify the feasibility of the technology.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.