User Tools

Site Tools


2013:look_ma_update_db_to_html5_using_c_no_hands

Back to proposals-2013

Title: Look ma, “update DB to HTML5 using C++”, no hands!
Proposer: aleksandar_fabijanic
Type: Tutorial
Duration: 90 minutes
Description: The session will demonstrate and explain in detail a mechanism for event-driven data pushing from database to the web page using C++ and Javascript.

Web landscape is changing rapidly; while AJA[X|J] was an improvement from the user interface responsiveness standpoint, the underlying data transport mechanism was still based on the request/response polling model. WebSocket specification removed the last obstacle for a seamless, event-driven data pushing from storage to the non-proprietary HTML5 user interface. Data transports naturally calling for event-driven model can now be implemented in a straightforward and standard fashion, improving performance by significantly lowering the network and web server overhead of the request/response model. Using POCO framework Net library, an HTTP server generating WebSocket HTML5 page will be built. Next, we'll use POCO Data library to add SQL database communication capabilities to the server and establish a callback hook; the hook opens the path for database modifications to transparently trigger web page changes. The solution building blocks, Poco::Dynamic module for datatype erasure and Poco::Data::RowFormatter class for dynamic output formatting, will be explained in detail.

The session offers a practical solution to few acute problems - delivering data from storage over the network to the web end-user seamlessly, efficiently and independently from transported data types.

Roger: I think this sounds interesting (and I'd like to know more about Poco)
[Ewan: YES. Intriguing mix of C++ and web app technologies]

2013/look_ma_update_db_to_html5_using_c_no_hands.txt · Last modified: 2016/06/11 14:05 by 127.0.0.1