[Qt-qml] QtJsonDb QML API review

Adriano Rezende adriano.rezende at openbossa.org
Wed Nov 23 14:19:45 CET 2011


On Wed, Nov 23, 2011 at 10:14 AM, Adriano Rezende
<adriano.rezende at openbossa.org> wrote:
> On Tue, Nov 22, 2011 at 9:53 AM,  <jamey.hicks at nokia.com> wrote:
>>
>> We designed JsonDb with restricted memory devices. One of our strategies is to minimize the amount of memory required by daemons so that applications have more memory available.  Sorting objects in the daemon takes memory proportional to the number of items matching the query, even if fewer items are requested. We decided to make the design decision that any application that needs to dynamically sort a query response does so in the application process, so that the amount of memory needed in the daemon is minimized.
>
> Why JsonDb instead of providing a SQL API? Any benefits?
> I think most developers are used to the SQL syntax and they would
> prefer to use it

OK, l just noticed the word daemon now. Memory reduction would be one advantage?

Br,
Adriano


More information about the Qt-qml mailing list