Original title:
WebSockets - technologie pro tvorbu real time webových aplikací
Translated title:
WebSockets - technology for creating real-time web applications
Authors:
Bulvas, Vít ; Pavlíčková, Jarmila (advisor) ; Pour, Jan (referee) Document type: Bachelor's theses
Year:
2012
Language:
cze Publisher:
Vysoká škola ekonomická v Praze Abstract:
[cze][eng] Tato práce se zabývá popisem technologie HTML5 WebSockets, která umožňuje komunikaci v reálném čase mezi serverem a webovou aplikací. V teoretické části práce je popsán význam této technologie a je porovnána se staršími přístupy pro komunikaci v reálném čase v rámci webových aplikací včetně uvedení výhod a případných záporů. Práce obsahuje náhled na aktuální verze dvou specifikací, ze kterých se WebSockets skládá. To znamená jak Protokol WebSocket, který vytváří obousměrný komunikační kanál mezi serverem a klientem, tak WebSocket API, které dává nástroj pro tvorbu webových aplikací řízených událostmi psaných v jazyce JavaScript. Práce také obsahuje popis podpory WebSockets v současných internetových prohlížečích. Práce dále ve své praktické části může sloužit jako návod pro zprovoznění WebSocket serveru v domácnosti a tvorbu moderní webové aplikace, konkrétně chatu umožňujícího komunikovat v reálném čase pomocí WebSockets.This work deals with the description of the technology HTML5 WebSockets that allows to communicate in real-time between a server and a web application. The theoretical part of this work describes the importance of this technology and compares it with earlier approaches for real-time communication within web applications including the benefits and possible negatives. This work includes a view on current versions of two WebSockets specifications. It means both WebSocket Protocol that enables two-way communication between a server and a client and WebSocket API that creates a tool for creating event-driven web applications written in JavaScript. This work also includes a description of the current web browsers support of WebSockets. Practical part of the work can be used as a guide for running the WebSocket server at home and developing the chat web application that communicate in real-time using the WebSockets.
Keywords:
event-driven programming; HTML5; real-time web; WebSocket API; WebSocket Protocol; WebSockets; HTML5; Protokol WebSocket; real-time web; událostmi řízené programování; WebSocket API; WebSockets
Institution: University of Economics, Prague
(web)
Document availability information: Available in the digital repository of the University of Economics, Prague. Original record: http://www.vse.cz/vskp/eid/33053