Journal "Software Engineering"
a journal on theoretical and applied science and technology
ISSN 2220-3397

Issue N2 2021 year

DOI: 10.17587/prin.12.74-81
Connected JavaScript-Microcomponents Architecture for Large Web-Projects
D. A. Orlov, cvaize@gmail.com, R. A. Karelova, riya2003@mail.ru, Nizhny Tagil Technological Institute (branch) of the Ural Federal University named after the first President of Russia B. N. Yeltsin, Nizhny Tagil, 622031, Russian Federation
Corresponding author: Karelova Riya A., PhD, Associate Professor, Nizhny Tagil Technological Institute (branch) of the Ural Federal University named after the first President of Russia B. N. Yeltsin, Nizhny Tagil, 622031, Russian Federation, E-mail: riya2003@mail.ru
Received on October 15, 2020
Accepted on December 09, 2020

The article describes the architecture of connected JavaScript components, which allows you to implement the interaction of many scripts connected in a web project asynchronously and executable at any time and in any order. The architecture is based on the idea of dividing code into components, JavaScript events and listening to them. This approach is intended to relieve the developer from the need to organize the sequence of connecting scripts in an HTML-document, track their loading time and select the loading method, which gives great opportunities for expanding and flexibility of the code.

Keywords: HTML, JavaScript, Event, CustomEvent, micro-components, asynchronous script connection, components
pp. 74–81
For citation:
Orlov D. A., Karelova R. A. Connected JavaScript-Microcomponents Architecture for Large Web-Projects, Programmnaya Ingeneria, 2021, vol. 12, no. 2, pp. 74—81