Hello, On 05/28/15 21:31, Jason H wrote: > I once wrote a ORM that took an XML definition, and spat out QObject-derived > classes that provided QObject QPROPERTY to SQLite database mappings. So it > would create the SQL schema, the source files (.cpp/h) had support for > transactions and rollbacks. I don't know how useful it would be for anyone > because of the XML schema. I wound't want to impose that on anyone because > that XML schema was the output of another process. But I think it could be > the foundation for a simple object persistence layer.
I happen to be the author of Spyne[1], a Python RPC framework that: 1) Generates Xml schemas and/or WSDL documents from object / method definitions. 2) Maps the same object definitions to sql schemas via SQLAlchemy, a popular Python ORM. As someone who also manages a Qt app whose backend is written in Spyne in $DAYJOB, I'd be very interested in this functionality. If you could put your code up somewhere, it's possible that we end up with a complete end-to-end RPC solution for Qt apps that uses open standards, no less. Best, Burak [1]: http://spyne.io _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest