Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  12 May 2020, Stefan Ritt, Info, New ODB++ API odbxx_test.cxx
    Reply  20 May 2020, Konstantin Olchanski, Info, New ODB++ API 
    Reply  20 May 2020, Stefan Ritt, Info, New ODB++ API odbxx_test.cxx
    Reply  20 May 2020, Pintaudi Giorgio, Info, New ODB++ API 
       Reply  20 May 2020, Konstantin Olchanski, Info, New ODB++ API 
Message ID: 1913     Entry time: 20 May 2020     In reply to: 1906
Author: Konstantin Olchanski 
Topic: Info 
Subject: New ODB++ API 
>    midas::odb o;
>    o["foo"] = 1;

This is an excellent development.

ODB is a tree-structured database, JSON is a tree-structured data format,
and they seem to fit together like hand and glove. For programming
web pages, Javascript and JSON-style access to ODB seems to work really well.

And now with modern C++ we can have a similar API for working with ODB tree data,
as if it were Javascript JSON tree data.

Let's see how well it works in practice!

K.O.
ELOG V3.1.4-2e1708b5