scholarly journals Continuations and Aspects to Tame Callback Hell on the Web

2021 ◽  
Vol 27 (9) ◽  
pp. 955-978
Author(s):  
Paul Leger ◽  
Hiroaki Fukuda ◽  
Ismael Figueroa

JavaScript is one of the main programming languages to develop highly rich responsive and interactive Web applications. In these kinds of applications, the use of asynchronous operations that execute callbacks is crucial. However, the dependency among nested callbacks, known as callback hell, can make it difficult to understand and maintain them, which will eventually mix concerns. Unfortunately, current solutions for JavaScript do not fully address the aforementioned issue. This paper presents Sync/cc, a JavaScript package that works on modern browsers. This package is a proof-of-concept that uses continuations and aspects that allow developers to write event handlers that need nested callbacks in a synchronous style, preventing callback hell. Unlike current solutions, Sync/cc is modular, succinct, and customizable because it does not require ad-hoc and scattered constructs, code refactoring, or adding ad-hoc implementations such as state machines. In practice, our proposal uses a) continuations to only suspend the current handler execution until the asynchronous operation is resolved, and b) aspects to apply continuations in a non-intrusive way. We test Sync/cc with a management information system that administers courses at a university in Chile.

Author(s):  
Salvador Lima ◽  
José Moreira

The Web is a crucial means for the dissemination of touristic information. However, most touristic information resources are stored directly in Web pages or in relational databases that are accessible through ad-hoc Web applications, and the use of automated processes to search, extract and interpret information can hardly be implemented. The Semantic Web technologies, aiming at representing the background knowledge about Web resources in a computational way, can be an important contribution to the development of such automated processes. This chapter introduces the concept of touristic object, giving special attention to the representation of temporal, spatial, and thematic knowledge. It also proposes a three-layered architecture for the representation of touristic objects in the Web. The central part is the domain layer, defining a Semantic Model for Tourism (SeMoT) to describe concepts, relationships, and constraints using ontologies. The data layer supports the mapping of touristic information in relational databases into Resource Description Framework (RDF) virtual graphs following the SeMoT specification. The application layer deals with the integration of information from different data sources into a unified knowledge model, offering a common vocabulary to describe touristic information resources. Finally, we also show how to use this framework for planning touristic itineraries.


Author(s):  
Juhana Harmanen ◽  
Tommi Mikkonen

Different programming languages have been designed to solve problems efficiently in different domains. The goal of polyglot programming, a technique where several languages are used in the creation of a single application, is to combine and utilize the best solutions from different programming languages and paradigms in a seamless fashion. In this paper, the authors examine polyglot programming in the context of web applications, where it has been commonly used to create compelling applications, but where there is still considerable potential to improve development in various ways.


2014 ◽  
Vol 1079-1080 ◽  
pp. 782-786
Author(s):  
Li Li ◽  
Feng Gao

This paper discusses the problem of sharing information technology in Research Information Management using WEB Services, Meanwhile a detailed description of the WEB Service Technology using in Management Information System.


Author(s):  
Humberto Cortés ◽  
Antonio Navarro

With the advent of multitier and service-oriented architectures, the presentation tier is more detached from the rest of the web application than ever. Moreover, complex web applications can have thousands of linked web pages built using different technologies. As a result, the description of navigation maps has become more complex in recent years. This paper presents NMMp, a UML extension that: (i) provides an abstract vision of the navigation structure of the presentation tier of web applications, independently of architectural details or programming languages; (ii) can be automatically transformed into UML-WAE class diagrams, which can be easily integrated with the design of the other tiers of the web application; (iii) encourages the use of architectural and multitier design patterns; and (iv) has been developed according to OMG standards, thus facilitating its use with general purpose UML CASE tools in industry.


Author(s):  
Elgi Janliza Putra ◽  
Dony Novaliendry ◽  
Titi Sriwahyuni

This study is based from a case in KOPERTIS Region X about scholarship management process that was done manually and spend a lot of time. From this case, a Scholarship Management Information Systems is designed to assist KOPERTIS Region X in scholarship management.Scholarship Management Information System was developed using Waterfall Mode, which starts with the specification of user needs and continued by planning, modelling, construction, delivering system to the deployment, and finally the system maintenance. Scholarship Management Information System is designed by using the web-based programming language such as HTML, PHP5, CSS, JavaScript, Ajax, jQuery and MySQL databases. From this study, a web-based system of Scholarship Management Information Systems is created at KOPERTIS Region X to help the performance of KOPERTIS Region X in  scholarship management. Keyword : Management Information System, Waterfall Mode, PHP, MySQL.


AL-HUKAMA ◽  
2019 ◽  
Vol 9 (2) ◽  
pp. 373-398
Author(s):  
Neila Sakinah ◽  
Ahmad Arif Masdar Hilmy

The web-based Marriage Management Information System (SIMKAH) is a new system that is used in the Office of Religious Affairs (KUA) Districts throughout Indonesia, replacing the desktop-based SIMKAH. Although Regulation No. 20 of 2019 regarding Marriage Registration has been passed to fully switch to web-based SIMKAH, the KUA of Gayungan, Surabaya, instead chose to implement Dual SIMKAH, which is web and desktop based. This article aims to find out the description and implementation of Dual SIMKAH in KUA of Gayungan, as well as a review of transformative strategic policies and legal effectiveness on the implementation of the Dual SIMKAH. This field research uses descriptive qualitative methods. Data mining is done through in-depth observation and interviews, as well as hands-on experience so that goals can be realized. This study produces several conclusions: (1) the implementation of Dual SIMKAH is very much needed as an anticipative effort when web-based SIMKAH experiences problems, especially in server repair, (2) the implementation of Dual SIMKAH can be assessed as a transformative strategic policy, (3) at the technical level, implementation Web-based SIMKAH still contains various problems, such as the application of Dual SIMKAH which has more support, old habits that are still inherent, the absence of announcements when the server will be repaired, and social conditions that make it impossible to switch completely to web-based SIMKAH.


Author(s):  
Salvador Lima ◽  
José Moreira

The Web is a crucial means for the dissemination of touristic information. However, most touristic information resources are stored directly in Web pages or in relational databases that are accessible through ad-hoc Web applications, and the use of automated processes to search, extract and interpret information can hardly be implemented. The Semantic Web technologies, aiming at representing the background knowledge about Web resources in a computational way, can be an important contribution to the development of such automated processes. This chapter introduces the concept of touristic object, giving special attention to the representation of temporal, spatial, and thematic knowledge. It also proposes a three-layered architecture for the representation of touristic objects in the Web. The central part is the domain layer, defining a Semantic Model for Tourism (SeMoT) to describe concepts, relationships, and constraints using ontologies. The data layer supports the mapping of touristic information in relational databases into Resource Description Framework (RDF) virtual graphs following the SeMoT specification. The application layer deals with the integration of information from different data sources into a unified knowledge model, offering a common vocabulary to describe touristic information resources. Finally, we also show how to use this framework for planning touristic itineraries.


2012 ◽  
Vol 5 (2) ◽  
pp. 47-64
Author(s):  
Sheikh Mohd Imran

The dramatic advances in technologies, particularly in Internet technologies have changed the way individuals seek and obtain information. The emerging of new programming languages for the web has promised new transformation for more dynamic web applications. This shift in web technologies is commonly under a sobriquet for several of online activities known currently by Web 2.0. There is little research that focuses on the impact and applications of web 2.0 in the libraries. The current study was undertaken to explore the impact and use of web 2.0 in libraries. The authors confined the study to twelve National Libraries of developed countries.


Sign in / Sign up

Export Citation Format

Share Document