Original title:
Squirrel: Webový framework v jazyce Swift
Translated title:
Squirrel: Web Framework in Swift
Authors:
Klembara, Filip ; Bobák, Petr (referee) ; Herout, Adam (advisor) Document type: Bachelor's theses
Year:
2018
Language:
cze Publisher:
Vysoké učení technické v Brně. Fakulta informačních technologií Abstract:
[cze][eng]
Cieľom tejto práce je vytvoriť framework v jazyku Swift, ktorý umožňuje tvorbu webových aplikácií a je jednoducho použiteľný, pracuje s databázou MongoDB, ponúka vlastný šablónovací systém, minimalizuje potrebu programovania typu kľúč-hodnota a využíva výhody jazyku Swift verzie 4. Zvolený problém som vyriešil pomocou implementácie vlastného serveru, nad ktorým pracuje mnou vytvorený framework. V riešení bolo použité generické programovanie a protokol Codable, ktorý umožňuje jednoduchú serializáciu dát. Vytvorené riešenie poskytuje jednoduché prostredie pre tvorbu webových aplikácií fungujúce na všetkých Swiftom podporovaných Linuxových distribúciách. Prínosom tejto práce je zjednodušenie vývoja webových aplikácií Swift vývojárom v jazyku Swift.
The goal of this thesis is to create a Swift framework that allows to create web applications and is easy to use, works with the MongoDB database, offers custom templates, minimizes the need for key-value programming, and uses Swift 4. I have solved the problem by implementing server application, which is working with my framework. I used generic programming and Codable protocol, which allows simple data serialization. The created solution provides an environment for creating web applications for all Swift-supported Linux distributions. The benefit of this work is to simplify the development of web applications for Swift developers.
Keywords:
HTTP; MongoDB; NutView; serverside Swift; Squirrel; Swift; web framework; HTTP; MongoDB; NutView; serverový Swift; Squirrel; Swift; webový framework
Institution: Brno University of Technology
(web)
Document availability information: Fulltext is available in the Brno University of Technology Digital Library. Original record: http://hdl.handle.net/11012/85034