Object adaptation of Drag and Drop technology for web-system interface components

Authors

  • D.V. Ratov Volodymyr Dahl East Ukrainian National University

DOI:

https://doi.org/10.33216/1998-7927-2021-268-4-7-12

Keywords:

object adaptation, Drag and Drop, information system

Abstract

Today, in the development of information systems, cloud technologies are often used for remote computing and data processing. There are web technologies, and on their basis, libraries and frameworks have been developed for creating web applications and user interfaces designed for the operation of information systems in browsers. Ready-made JavaScript libraries have been developed to add drag and drop functionality to a web application. However, in some situations, the library may not be available, or there may be overhead or dependencies that the project does not need to use it. In such situations, an alternative solution provides the functionality of APIs available in modern browsers. The article discusses the current state of the methods of the Drag and Drop mechanism and proposes a programmatic way to improve the interface by creating a class for dragging and dropping elements when organizing work in multi-user information web systems. Drag and Drop is a convenient way to improve the interface. Grabbing an element with the mouse and moving it visually simplifies many operations: from copying and moving documents, as in file managers, to placing orders in online store services. The HTML drag and drop API uses the DOM event model to retrieve information about a dragged element and update that element after the drag. Using JavaScript event handlers, it is possible to turn any element of the web system into a drag-and-drop element or drop target. To solve this problem, a JavaScript object was developed with methods that allow you to create a copy of any object and handle all events of this object aimed at organizing the Drag and Drop mechanism. Basic algorithm of Drag and Drop technology based on processing mouse events. The software implementation is considered and the results of the practical use of object adaptation of the Drag and Drop technology for the interface components of the web system - the medical information system MedSystem, in which the application modules have the implementation of the dispatcher and the interactive window interface are presented. In the "Outpatient clinic" module, the Drag and Drop mechanism is used when working with the "Appointment sheet". In the "Hospital" module of the MedSystem medical information system, the Drag and Drop mechanism is used in the "List of doctor's appointments". The results of using object adaptation of Drag and Drop technology have shown that this mechanism organically fits into existing technologies for building web applications and has sufficient potential to facilitate and automate work in multi-user information systems and web services.

References

1. Medvedev A. Cloud technologies: development trends, examples of execution // Modern automation technologies. 2013. No. 2. P. 6-9

2. Papadopoulos A., Katsaros D. A-Tree: Distributed Indexing of Multidimensional Data for Cloud Computing Environments. Third IEEE Intl Conf. on Cloud Computing Technology and Science, 2011, pp. 407-414.

3. Crane D., Pascarello E. Ajax in action. Moscow: Ed. house "Williams", 2006.

4. Ratov D. Architectural paradigm of the interactive interface module in the cloud technology model. Applied Computer Science. 2020. Vol. 16, No. 4. P. 48–55.

5. MVP architecture. Url:http://www.gwtproject.org / articles / mvp-architecture.html (date accessed: 05/15/2021).

6. jQuery. URL: http://jquery.com/ (date of access: 05/15/2021).

7. AngularJS - Superheroic JavaScript MVW Framework. URL: http://angularjs.org/ (date accessed: 05/15/2021).

8. Gamma E., Helm R., Johnson R., Vlissides J. Techniques of object-oriented design. Design patterns. SPb. : Peter, 2001.368 p.

9. HTML 4.01 Specification. Url:https://www.w3.org/ TR / html401 / (date accessed: 05/15/2021).

10. Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification. URL: https://www.w3.org/TR/CSS22/ (date accessed: 05/15/2021).

11. ECMAScript Language Specification - ECMA-262 Edition 5.1. URL: http://www.ecma-international.org/ecma-262/5.1/ (date accessed: 05/15/2021).

12. Stoyan Stefanov. Javascript. Templates. St. Petersburg, 2011, 263 p.

13. Ratov D.V. Model of the module for the interface of the information web-system. Mathematical machines and systems. 2020. No. 4. P. 74–.81.

Downloads

Published

2021-06-10