Online aplikace pro transformace a validace datových struktur

Abstract
Tato práce se zabývá problematikou jazyků pro popis dat a následnou prací s nimi. Práce se konkrétně zabývá rozšiřitelným značkovacím jazykem XML. Tento jazyk umožňuje pomocí značek popis datových struktur a jejich zpracování. Dále se práce zabývá validací datových struktur a jejich transformacemi, převážně v jazyce XML. V rámci textu je popsán a vysvětlen princip značkovacích jazyků a jejich použití k popisování datových struktur, dostupné standardy pro operace s těmito strukturami a je navržena a implementována modulární online aplikace, která tyto operace umožňuje provádět a v reálném čase vracet výsledek uživateli. Implementace dále umožňuje pokročilou zprávu úloh. Uživateli je umožněno po přihlášení prohlížet výsledky minulých úloh, stáhnout si ho v textovém formátu na lokální úložiště, případně plánovat úlohy. Plánovat úlohu je možné jak v konkrétní čas, tak také periodicky. Samotná implementace je poté provedena na serveru s operačním systémem Ubuntu a s využitím programovacího jazyku JavaScript. Tento jazyk je použit jak na klientské části, tak na části serverové. Jedná se zároveň o demonstraci využití jednoho jazyku pro obě části aplikace a tím usnadnění vývoje a snížení nároků na programátora. Architektura aplikace je navržena jako modulární. Modulární architektura je navržena ve smyslu snadného přidání podporovaných formátů, výstupů a možností plánování úloh. Text obsahuje popis a postup přidání rozšiřujících částí, což je realizováno formou dopsání částí kódu do aplikace. Není realizováno uživatelské rozhraní k přidávání modulů, což nebylo náplní práce. K realizaci serverové části aplikace je využit framework Node.js. Tento framework umožňuje využít technologii JavaScript na straně serveru a je už ze svého principu postaven na modulární architektuře. K realizaci serveru je použita mimo jiné knihovna Express. Na straně klienta se jedná o stránky napsané v jazyce HTML s využitím JavaScriptu a frameworku Bootstrap. Celá aplikace byla vyhotovena a je k dispozici online.
This work deals with the issue of languages for data description and subsequent work with them. The work is mainly concerned about the extensible markup language XML. This language allows using tags describing data structures and it's processing. This work deals with the validation of the data structures and their transformations. Within the text are described and explained principles of markup languages and their uses to describe data structures and available standards for operations with these structures. And how the aplplication is designed and implemented as modular online application that allows to perform these operations in real time and return the result to the user. The implementation also provides advanced tasks. The user is allowed, after logging in, to view the results of previous tasks, download it in text format on disk and possibly schedule tasks. Users can schedule tasks to a particular time and also periodically. The implementation itself is then performed on a server running on Ubuntu operation system and using the JavaScript programming language. This language is used on both the client part and on the server part. It is also a demonstration of the use of one language for both parts of the application and thereby facilitate the development and reduce the demands on the programmer. Application architecture is designed as modular. The modular architecture is designed to easily add other supported formats, output options and scheduling options. The text contains a description of how to add an extension to the application, which takes the form of writing sections of code into the application. User interface is not inplemented for adding modules, which was not the task of this work.The server side implementation uses Node.js framework. The framework allows you to use JavaScript technology on the server and is already on its principles built on a modular architecture. Implementation uses, inter alia, library Express. The client side is written in HTML and is using JavaScript and Bootstrap framework. The application has been prepared and is available online.
Description
Subject(s)
Jazyky pro popis dat, validace datových struktur, transformace datových struktur, Javascript, plánování úloh, webová aplikace, languages for data description, validation of data structures, transformations of data structures, javascript, task scheduling, web applications
Citation
ISSN
ISBN