Qt Developer Days 2014 Slides: A Solid Back End for a Solid Qt Mobile Application

My second presentation at Qt Developer Days 2014 in San Francisco was about how to build a scalable and reliable server side application with Qt Cloud Services using PaaS (Platform as a Service).


Nowadays many mobile applications are relying more and more on server-side applications. Setting up servers and deploying a server-side application can be hard and time-consuming, but it has not to be.

Qt Cloud Services contains three different services that can be utilised to implement a robust and scalable server-side solution easily. Managed Application Runtime (MAR) is used to deploy and run applications on the cloud, Enginio Data Stroage (EDS) can be used to store data and Managed WebSocket (MWS) service makes it possible to send and receive WebSocket messages. By combining these three services it is possible to build and deploy a server-side solution without configuring any server machine.

In this presentation an example Qt mobile application demonstrates how to implement a real-time Twitter stream provided by a server-side application that is running on MAR. The server-side application stores tweets to EDS and sync new tweets to the client via WebSocket protocol.

This presentation covers:
– overview of MAR, EDS and MWS services
– basics how to create MAR, EDS and MWS instances
– example how to implement a server-side application that stores data to EDS and provides an API.
– example how to deploy the application to MAR
– example how to connect to the server-side application from Qt client application
– example how to send data to the client application with MWS.


Qt Developer Days 2014 Slides: Give a push to your Qt application with WebSockets and Qt Cloud Services

I was at Qt Developer Days 2014 in Berlin and San Francisco this year. I gave there couple of presentations about Qt Cloud Services. The first one was about WebSockets and how you can utilise them very easily with Qt Cloud Services and Qt.


WebSockets is an advanced technology that makes it possible to establish an interactive communication session between an online client application and a server. With WebSockets you can send messages to a server and receive event-driven responses without having to poll the server for a reply.

Qt 5.3 introduced new Qt WebSockets module that features full support for WebSocket protocol (RFC-6455). To benefit WebSocket technology with Qt, a server-side implementation is needed to control the message flow. Qt Cloud Services offer two different ways to achieve this goal:
– Managed WebSocket (MWS)
– Managed Application Runtime (MAR)

MWS is a fully managed WebSocket service that will automatically scale with users and supports build-in access control and policies.

MAR is a managed application platform-as-a-service that provides all the tools needed for server-side development.

This presentation covers:
– Overview of WebSockets and common use cases
– Overview of MWS and MAR services
– Basics how to create MWS and MAR instances
– Examples how to benefit MWS in order to send and receive WebSocket messages in a Qt client application
– Examples how to deploy a Qt WebSocket server to MAR and use it in a client application