Important: Please read the Qt Code of Conduct -

[Qt ORM] QxOrm 1.4.6 and QxEntityEditor 1.2.4 released : 2 new features HTTP web server + JSON REST API

  • Hello,

    QxOrm library 1.4.6 and QxEntityEditor application 1.2.4 just released :

    QxOrm library 1.4.6 changes log :

    • New QxHttpServer module : C++/Qt standalone multi-threaded HTTP 1.1 web server (support SSL/TLS, persistent connections, cookies, sessions, chunked responses, URL dispatcher/routing, no other dependency except QtNetwork)
    • New QxRestApi module : provide a REST API to send requests in JSON format from external application (web services), from web-site (written in Angular for example), from QML or from scripting langage (like Python)
    • With QxHttpServer and QxRestApi modules, QxOrm library can now be used to create web applications, especially single-page applications (SPA) with famous Javascript frameworks like AngularJS, React, Meteor.js, etc...
    • New project example named qxBlogRestApi : QML application with a list of REST requests to show how to send JSON queries from Javascript to QxRestApi module + HTTP web server application to show how to create web applications using QxHttpServer module
    • QxRestApi module supports : all CRUD operations, complex queries, several levels of relationships, custom JSON output format, call dynamically native C++ functions registered in QxOrm context, instance validation, call custom database queries
    • Improve JSON serialization engine : possibility to define a custom filter to not export all properties
    • Possibility to define a custom SQL table alias for complex queries with relationships using syntax <my_table_alias>
    • Improve SQL generator for Oracle database : manage last insert id using RETURNING INTO syntax (thx to Romain Macureau and Abdennour Boutrig)
    • Fix an issue with stored procedure and output parameters
    • New function available : qx::dao::count_with_relation<T>()
    • Fix JSON serialization in multi-thread environment
    • Change JSON QDateTime and QTime serialization format : use Qt::ISODateWithMs instead of Qt::ISODate (Qt 5.8 or +)
    • Improve QxService module : support SSL/TLS secure connections + keep-alive connections
    • Remove *.suo files (MSVC++ temporary project files) from QxOrm package

    QxEntityEditor application 1.2.4 changes log :

    • New feature in Javascript engine to customize exports : include QxRestApi module to query *.qxee project file
    • Fix a property/relation sorting issue in C++ export after importing a database schema (which could be annoying to make some C++ files diffs between 2 exports)
    • Fix a crash which could occurred sometimes importing a new table on an existing schema

    alt text

    You can download latest version of QxOrm library and QxEntityEditor application on QxOrm website.
    QxOrm library is also available on GitHub.

Log in to reply