Hello!
We're considering what would be the optimal way way to resolve "object-relational impedance mismatch" problem in our application which we would like to write using D language. Considering it's planned to be multi-platform desktop GUI app and have extensive research capabilities available for learning & studying purposes - it means to be able to put queries against the whole database of available data - we are thinking that using embedded database - sqlite3 - as application's natural storage format would be a nice fit. Sqlite3 offers robust format available for multiple platforms. Moreover, having RDBMS could greatly simplify the code handling all kinds of queries againsta the data which would be required to write otherwise. Otoh, here we come to the well-known "object-relational impedance mismatch" problem and wonder how to resolve it, iow.: a) we are not aware of any ORM available for D, so using relational data model + D with its OOP paradigm, means to resolve the mismatch by hand by writing required ORM b) use relational model "as it is", leave OOP (in D) behind, but we wonder whether such approach makes sense in the language which is higher-level than C. (E.g. Fossil SCM written in C uses sqlite3 as storage format.) c) several papers/posts which we read before and recently (like "Functional-Relational Impedance Match" Eric Meijer's The Confessions of a Used Programming Language Salesman) tend to suggest that using relational data model goes better with FP languages or that the latters can overcome the above mismatch problem better, which would lead to putting D's FP capabilites to extreme or d) something else? Sincerely, Gour -- The embodied soul may be restricted from sense enjoyment, though the taste for sense objects remains. But, ceasing such engagements by experiencing a higher taste, he is fixed in consciousness. http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users