Multi-strategy AJAX and event-driven state management for responsive web applications
Вантажиться...
Дата
2025
Науковий керівник
Назва журналу
Номер ISSN
Назва тому
Видавець
National Technical University of Ukraine "Igor Sikorsky Kyiv Polytechnic Institute"
Анотація
Research addresses engineering high-performance, responsive web apps for complex data and real-time user interaction. The study focuses on the client-server integration in a monolithic Django pattern/architecture, specifically the orchestration of asynchronous client technologies, for instance, AJAX, JavaScript, and server logic, for instance, Python/Django. The goal is to design, implement, and validate a Unified AJAX Integration Framework. This framework enables seamless real-time data exchange, dynamic updates, and complex state management for diverse components: interactive tables, multi-dimensional charts, multi-step forms, and the Checkout Session Container. Django framework, jQuery for AJAX, and JavaScript libraries (Chart.js, DataTables) are included as materials. Methods applied involve systematic software architecture design, asynchronous programming analysis, RESTful API development, and empirical performance benchmarking of data-loading and state management strategies. Scientific contribution is twofold. Firstly, Multi-Strategy AJAX Integration Model is formalized as a decision framework that dynamically selects between server-side rendering (django-tables2), client-side rendering (vanilla jQuery/DataTables), and a hybrid AJAX-Datatable approach based on data complexity, volume, and interaction. Secondly, Event-Driven State Management System as a robust design for distributed, session-based UI components using a centralized AJAX action dispatcher and a universal state synchronization function. This ensures data consistency across independent page components and eliminates race conditions in concurrent operations. As a result, the framework achieved a significant reduction in server load and perceived latency. The benchmarked components consistently showed sub-200ms response times for datasets over 10,000 records. The cart system handled over 1,000 consecutive operations without any state desynchronization.
Опис
Ключові слова
серверне програмування, інтеграція AJAX, фреймворк Django, JavaScript, динамічна візуалізація даних, DataTables, односторінковий додаток, RESTful API, архітектура програмного забезпечення, оптимізація продуктивності, Server-Side Processing, AJAX integration, Django framework, JavaScript, dynamic data visualization, DataTables, single-page application, RESTful API, software architecture, performance optimization
Бібліографічний опис
Rudnikova, N. Multi-strategy AJAX and event-driven state management for responsive web applications / Nataliia Rudnikova, Oleksii Nedashkivsky // Information, Computing and Intelligent systems. – 2025. – No. 7. – P. 180-197. – Bibliogr.: 15 ref.